From dacae0242e905268e9df9aed83f84e91b13a1749 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 11:53:10 -0500 Subject: Convert to TDE R14 API --- src/eventhandler.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/eventhandler.h') 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 -#include +#include +#include #include #include "kbfileinfo.h" @@ -37,11 +37,11 @@ class FtpThread; typedef list filist; typedef pair 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 dirlist, list filelist); void ftp_scandir(bool success, KbDirInfo* dir); -- cgit v1.2.1