diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 11:53:10 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 11:53:10 -0500 |
commit | dacae0242e905268e9df9aed83f84e91b13a1749 (patch) | |
tree | 26c8dc7f37d040f54265a3471834309a1e248538 /src/eventhandler.h | |
parent | 0d218fd2db1810aafd86f7fc8761c75128f3fcb8 (diff) | |
download | kasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.tar.gz kasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.zip |
Convert to TDE R14 API
Diffstat (limited to 'src/eventhandler.h')
-rw-r--r-- | src/eventhandler.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/eventhandler.h b/src/eventhandler.h index 36ccf46..f4dd2fc 100644 --- a/src/eventhandler.h +++ b/src/eventhandler.h @@ -20,8 +20,8 @@ #ifndef EVENTHANDLER_H #define EVENTHANDLER_H -#include <qobject.h> -#include <qvaluelist.h> +#include <ntqobject.h> +#include <ntqvaluelist.h> #include <list> #include "kbfileinfo.h" @@ -37,11 +37,11 @@ class FtpThread; typedef list<KbFileInfo*> filist; typedef pair<filist, filist> contentpair; -class EventHandler : public QObject +class EventHandler : public TQObject { Q_OBJECT public: - EventHandler(QObject *parent = 0, const char *name = 0); + EventHandler(TQObject *parent = 0, const char *name = 0); ~EventHandler(); void SetFtpThread(FtpThread* thread); public: @@ -93,19 +93,19 @@ public: transfer_failure }; private: - bool eventFilter(QObject* o, QEvent *e); + bool eventFilter(TQObject* o, TQEvent *e); private: FtpThread* mp_thread; signals: - void ftp_error(QString error); - void ftp_log(QString log, bool out); + void ftp_error(TQString error); + void ftp_log(TQString log, bool out); void ftp_xfered(off64_t xfered, bool encrypted); void ftp_misc(bool success); void ftp_finished(); void ftp_connect(bool success); void ftp_login(bool success); void ftp_quit(bool success); - void ftp_pwd(bool success, QString path); + void ftp_pwd(bool success, TQString path); void ftp_chdir(bool success); void ftp_dir(bool success, list<KbFileInfo*> dirlist, list<KbFileInfo*> filelist); void ftp_scandir(bool success, KbDirInfo* dir); |