summaryrefslogtreecommitdiffstats
path: root/kmail/sievejob.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/sievejob.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 f7c353cf..67f3d231 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