summaryrefslogtreecommitdiffstats
path: root/korn/kio.h
diff options
context:
space:
mode:
Diffstat (limited to 'korn/kio.h')
-rw-r--r--korn/kio.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/korn/kio.h b/korn/kio.h
index 8ffde2f4..a2d396e3 100644
--- a/korn/kio.h
+++ b/korn/kio.h
@@ -54,7 +54,7 @@ private:
KURL *_kurl;
KIO::MetaData *_metadata;
- QString _password;
+ TQString _password;
bool _valid;
@@ -73,10 +73,10 @@ private:
//List of mailurls fetched by the last time emails were counted
struct FileInfo {
- QString name;
+ TQString name;
long size;
};
- QValueList<FileInfo> *_mailurls;
+ TQValueList<FileInfo> *_mailurls;
/*
* The help-classes of this functions are friend functions, because this way, they can
@@ -108,22 +108,22 @@ public:
/**
* Set the server that will be checked for new mail.
*/
- void setKioServer( const QString & proto, const QString & server, int port = -1 );
- void setKioServer( const QString & proto, const QString & server, int port,
+ void setKioServer( const TQString & proto, const TQString & server, int port = -1 );
+ void setKioServer( const TQString & proto, const TQString & server, int port,
const KIO::MetaData metadata, bool ssl, bool setProtocol = true ); //Last argument inits _protocol
/** Set the account information for the PROTO server. */
- void setUser( const QString & user, const QString & password, const QString & mailbox, const QString & auth );
+ void setUser( const TQString & user, const TQString & password, const TQString & mailbox, const TQString & auth );
// The next functions return settings
- QString protocol() const;
- QString server() const;
+ TQString protocol() const;
+ TQString server() const;
int port() const;
- QString user() const;
- QString password() const;
- QString mailbox() const;
- QString auth() const;
+ TQString user() const;
+ TQString password() const;
+ TQString mailbox() const;
+ TQString auth() const;
virtual void recheck();
virtual void forceRecheck();
@@ -136,18 +136,18 @@ public:
virtual ~KKioDrop();
virtual bool canReadSubjects(void);
- virtual QValueVector<KornMailSubject> * doReadSubjects(bool * stop);
+ virtual TQValueVector<KornMailSubject> * doReadSubjects(bool * stop);
virtual bool canDeleteMails();
- virtual bool deleteMails(QPtrList<const KornMailId> * ids, bool * stop);
+ virtual bool deleteMails(TQPtrList<const KornMailId> * ids, bool * stop);
virtual bool canReadMail ();
- virtual QString readMail(const KornMailId * id, bool * stop);
+ virtual TQString readMail(const KornMailId * id, bool * stop);
virtual KMailDrop* clone () const ;
- virtual bool readConfigGroup ( const QMap< QString, QString >& map, const Protocol * protocol );
+ virtual bool readConfigGroup ( const TQMap< TQString, TQString >& map, const Protocol * protocol );
virtual bool writeConfigGroup ( KConfigBase& cfg ) const;
- virtual QString type() const { return QString::fromUtf8("kio"); }
+ virtual TQString type() const { return TQString::fromUtf8("kio"); }
virtual bool synchrone() const { return false; } //class is not synchrone
@@ -157,8 +157,8 @@ public:
private:
KKioDrop& operator = ( const KKioDrop& );
- //static void encrypt( QString& str );
- //static void decrypt( QString& str );
+ //static void encrypt( TQString& str );
+ //static void decrypt( TQString& str );
/*
* The next functions are called from the help-classes (which are friend of the class).
@@ -172,22 +172,22 @@ private:
void emitReadSubjectsTotalSteps( int value ) { _readSubjectsTotalSteps = value; emit readSubjectsTotalSteps( value ); }
void emitReadSubjectsProgress( int value ) { emit readSubjectsProgress( _readSubjectsTotalSteps - value ); }
- void emitReadMailReady( QString* msg ) { emit readMailReady( msg ); }
+ void emitReadMailReady( TQString* msg ) { emit readMailReady( msg ); }
void emitDeleteMailsReady( bool value ) { emit deleteMailsReady( value ); }
void emitDeleteMailsTotalSteps( int value ) { _deleteMailsTotalSteps = value; emit deleteMailsTotalSteps( value ); }
void emitDeleteMailsProgress( int value ) { emit deleteMailsProgress( _deleteMailsTotalSteps - value ); }
- void emitShowPassivePopup( QPtrList< KornMailSubject > *subject, int total )
+ void emitShowPassivePopup( TQPtrList< KornMailSubject > *subject, int total )
{ emit showPassivePopup( subject, total, passiveDate(), this->realName() ); }
- void emitShowPassivePopup( const QString& error )
+ void emitShowPassivePopup( const TQString& error )
{ if( passivePopup() ) { emit showPassivePopup( error, this->realName() ); } }
void emitValidChanged() { emit validChanged( valid() ); }
private slots:
- void slotConnectionError( int, const QString& );
- void slotConnectionWarning( const QString& );
- void slotConnectionInfoMessage( const QString& );
+ void slotConnectionError( int, const TQString& );
+ void slotConnectionWarning( const TQString& );
+ void slotConnectionInfoMessage( const TQString& );
protected:
//The next functions are needed for Process;