--- a/src/format.h Sun Jun 01 03:15:36 2014 +0300 +++ b/src/format.h Mon Jun 02 12:50:40 2014 +0300 @@ -47,6 +47,18 @@ } template<typename T> + StringFormatArg (QSharedPointer<T> const& a) + { + m_text.sprintf ("%p", a.data()); + } + + template<typename T> + StringFormatArg (QWeakPointer<T> const& a) + { + m_text.sprintf ("%p", a.data()); + } + + template<typename T> StringFormatArg (const QList<T>& a) { m_text = "{";