summaryrefslogtreecommitdiffstats
path: root/kmail/sievejob.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/sievejob.h')
-rw-r--r--kmail/sievejob.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kmail/sievejob.h b/kmail/sievejob.h
index f7c353cf2..67f3d231e 100644
--- a/kmail/sievejob.h
+++ b/kmail/sievejob.h
@@ -15,11 +15,11 @@
#ifndef __KMAIL_SIEVE_JOB_H__
#define __KMAIL_SIEVE_JOB_H__
-#include <qobject.h>
-#include <qvaluestack.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qcstring.h>
+#include <tqobject.h>
+#include <tqvaluestack.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqcstring.h>
#include <kurl.h>
#include <kio/global.h>
@@ -31,17 +31,17 @@ namespace KIO {
namespace KMail {
- class SieveJob : public QObject {
+ class SieveJob : public TQObject {
Q_OBJECT
protected:
enum Command { Get, Put, Activate, Deactivate, SearchActive, List, Delete };
- SieveJob( const KURL & url, const QString & script,
- const QValueStack<Command> & commands,
- QObject * parent=0, const char * name=0 );
- SieveJob( const KURL & url, const QString & script,
- const QValueStack<Command> & commands,
+ SieveJob( const KURL & url, const TQString & script,
+ const TQValueStack<Command> & commands,
+ TQObject * parent=0, const char * name=0 );
+ SieveJob( const KURL & url, const TQString & script,
+ const TQValueStack<Command> & commands,
bool showProgressInfo,
- QObject * parent=0, const char * name=0 );
+ TQObject * parent=0, const char * name=0 );
virtual ~SieveJob();
public:
@@ -51,7 +51,7 @@ namespace KMail {
* Store a Sieve script. If @param makeActive is set, also mark the
* script active
*/
- static SieveJob * put( const KURL & dest, const QString & script,
+ static SieveJob * put( const KURL & dest, const TQString & script,
bool makeActive, bool wasActive );
/**
@@ -70,7 +70,7 @@ namespace KMail {
void kill( bool quiet=true );
- const QStringList & sieveCapabilities() const {
+ const TQStringList & sieveCapabilities() const {
return mSieveCapabilities;
}
@@ -80,7 +80,7 @@ namespace KMail {
signals:
void gotScript( KMail::SieveJob * job, bool success,
- const QString & script, bool active );
+ const TQString & script, bool active );
/**
* We got the list of available scripts
@@ -90,35 +90,35 @@ namespace KMail {
* empty string if no script is active.
*/
void gotList( KMail::SieveJob *job, bool success,
- const QStringList &scriptList, const QString &activeScript );
+ const TQStringList &scriptList, const TQString &activeScript );
void result( KMail::SieveJob * job, bool success,
- const QString & script, bool active );
+ const TQString & script, bool active );
- void item( KMail::SieveJob * job, const QString & filename, bool active );
+ void item( KMail::SieveJob * job, const TQString & filename, bool active );
protected:
void schedule( Command command, bool showProgressInfo );
protected slots:
- void slotData( KIO::Job *, const QByteArray & ); // for get
- void slotDataReq( KIO::Job *, QByteArray & ); // for put
+ void slotData( KIO::Job *, const TQByteArray & ); // for get
+ void slotDataReq( KIO::Job *, TQByteArray & ); // for put
void slotEntries( KIO::Job *, const KIO::UDSEntryList & ); // for listDir
void slotResult( KIO::Job * ); // for all commands
protected:
KURL mUrl;
KIO::Job * mJob;
- QTextDecoder * mDec;
- QString mScript;
- QString mActiveScriptName;
+ TQTextDecoder * mDec;
+ TQString mScript;
+ TQString mActiveScriptName;
Existence mFileExists;
- QStringList mSieveCapabilities;
- QValueStack<Command> mCommands;
+ TQStringList mSieveCapabilities;
+ TQValueStack<Command> mCommands;
bool mShowProgressInfo;
// List of Sieve scripts on the server, used by @ref list()
- QStringList mAvailableScripts;
+ TQStringList mAvailableScripts;
};
} // namespace KMail