From 4c3c7eaa2d225ecc0c16644f1a23e848bf539164 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:12:15 +0000 Subject: Starting work on Qt4 interface... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1158413 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtinterface/tqt.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'qtinterface/tqt.cpp') diff --git a/qtinterface/tqt.cpp b/qtinterface/tqt.cpp index 0e7addb..f60263c 100644 --- a/qtinterface/tqt.cpp +++ b/qtinterface/tqt.cpp @@ -19,4 +19,15 @@ Boston, MA 02110-1301, USA. */ +#include +// Various methods that don't have a proper home (yet) + +#ifdef USE_QT4 + +template +QList::operator bool() const { + return !this.isEmpty(); +} + +#endif // USE_QT4 \ No newline at end of file -- cgit v1.2.1