diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 00:38:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 00:38:19 +0000 |
commit | f0296ef9e1f94e23c00d6f490e565d1dc768416d (patch) | |
tree | 7f3fd9f99621c111ff67f2d62feb5960a3371853 /src/part/scan.h | |
parent | 3098eb909534268622ce776f9a7bb5310d31b3c1 (diff) | |
download | filelight-f0296ef9e1f94e23c00d6f490e565d1dc768416d.tar.gz filelight-f0296ef9e1f94e23c00d6f490e565d1dc768416d.zip |
TQt4 port Filelight
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/filelight@1233561 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/part/scan.h')
-rw-r--r-- | src/part/scan.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/part/scan.h b/src/part/scan.h index c02b1d2..275ea61 100644 --- a/src/part/scan.h +++ b/src/part/scan.h @@ -5,23 +5,24 @@ #define SCAN_H #include <kurl.h> -#include <qobject.h> +#include <tqobject.h> -class QThread; +class TQThread; class Directory; template<class T> class Chain; namespace Filelight { - class ScanManager : public QObject + class ScanManager : public TQObject { Q_OBJECT + TQ_OBJECT friend class LocalLister; friend class RemoteLister; public: - ScanManager( QObject *parent ); + ScanManager( TQObject *tqparent ); virtual ~ScanManager(); bool start( const KURL& ); @@ -42,10 +43,10 @@ namespace Filelight static uint s_files; KURL m_url; - QThread *m_thread; + TQThread *m_thread; Chain<Directory> *m_cache; - virtual void customEvent( QCustomEvent* ); + virtual void customEvent( TQCustomEvent* ); }; } |