summaryrefslogtreecommitdiffstats
path: root/korn/maildrop.h
diff options
context:
space:
mode:
Diffstat (limited to 'korn/maildrop.h')
-rw-r--r--korn/maildrop.h94
1 files changed, 47 insertions, 47 deletions
diff --git a/korn/maildrop.h b/korn/maildrop.h
index 4bf8f0faa..0c937c626 100644
--- a/korn/maildrop.h
+++ b/korn/maildrop.h
@@ -5,11 +5,11 @@
#ifndef SSK_MAILDROP_H
#define SSK_MAILDROP_H
-#include<qobject.h>
-#include<qstring.h>
-#include<qcolor.h>
-#include<qvaluevector.h>
-#include <qptrlist.h>
+#include<tqobject.h>
+#include<tqstring.h>
+#include<tqcolor.h>
+#include<tqvaluevector.h>
+#include <tqptrlist.h>
class Protocol;
@@ -37,19 +37,19 @@ class KMailDrop : public QObject
private:
- QString _caption;
- QString _clickCmd;
- QString _nMailCmd;
- QString _soundFile;
+ TQString _caption;
+ TQString _clickCmd;
+ TQString _nMailCmd;
+ TQString _soundFile;
Style _style;
- QColor _bgColour;
- QColor _fgColour;
- QColor _nbgColour;
- QColor _nfgColour;
- QString _icon;
- QString _nIcon;
+ TQColor _bgColour;
+ TQColor _fgColour;
+ TQColor _nbgColour;
+ TQColor _nfgColour;
+ TQString _icon;
+ TQString _nIcon;
int _lastCount;
- QString _realName;
+ TQString _realName;
bool _passivePopup;
bool _passiveDate;
@@ -160,7 +160,7 @@ class KMailDrop : public QObject
* @return true if read was successful, false otherwise.
*/
virtual bool readConfigGroup( const KConfigBase& cfg );
- virtual bool readConfigGroup( const QMap< QString, QString > &, const Protocol * ) { return true; }
+ virtual bool readConfigGroup( const TQMap< TQString, TQString > &, const Protocol * ) { return true; }
/**
* Write box configuration to a config group. Subclasses that
@@ -177,7 +177,7 @@ class KMailDrop : public QObject
* configuration purposes. Each concrete subclass should return a
* unique identifier.
*/
- virtual QString type() const = 0;
+ virtual TQString type() const = 0;
/**
* Return if the maildrop is synchrone (true) or asynchrone (false).
@@ -205,7 +205,7 @@ class KMailDrop : public QObject
* terminate before all mail subjects are loaded.
* @return all new mails subjects as a vector.
*/
- virtual QValueVector<KornMailSubject> * readSubjects(bool * stop);
+ virtual TQValueVector<KornMailSubject> * readSubjects(bool * stop);
/**
* Read the subjects of all new mails. The concrete subclass has
@@ -216,7 +216,7 @@ class KMailDrop : public QObject
* terminate before all mail subjects are loaded.
* @return all new mails subjects as a vector.
*/
- virtual QValueVector<KornMailSubject> * doReadSubjects(bool * stop);
+ virtual TQValueVector<KornMailSubject> * doReadSubjects(bool * stop);
/**
* Return true if the concrete subclass can delete individual mails.
@@ -241,7 +241,7 @@ class KMailDrop : public QObject
* the KornMailSubject instances of the remaining mails might be used
* further more.
*/
- virtual bool deleteMails(QPtrList<const KornMailId> * ids, bool * stop);
+ virtual bool deleteMails(TQPtrList<const KornMailId> * ids, bool * stop);
/**
* Return true if the concrete subclass can load individual mails fully.
@@ -260,40 +260,40 @@ class KMailDrop : public QObject
* terminate before the mail is loaded.
* @return the fully loaded mail (header and body) or "" on error.
*/
- virtual QString readMail(const KornMailId * id, bool * stop);
+ virtual TQString readMail(const KornMailId * id, bool * stop);
// data that belongs in every monitor
- QString caption() const { return _caption; }
- QString clickCmd() const { return _clickCmd; }
- QString newMailCmd() const { return _nMailCmd; }
- QString soundFile() const { return _soundFile;}
- QColor bgColour() const { return _bgColour; }
- QColor fgColour() const { return _fgColour; }
- QColor newBgColour() const { return _nbgColour; }
- QColor newFgColour() const { return _nfgColour; }
- QString icon() const { return _icon; }
- QString newIcon() const { return _nIcon; }
+ TQString caption() const { return _caption; }
+ TQString clickCmd() const { return _clickCmd; }
+ TQString newMailCmd() const { return _nMailCmd; }
+ TQString soundFile() const { return _soundFile;}
+ TQColor bgColour() const { return _bgColour; }
+ TQColor fgColour() const { return _fgColour; }
+ TQColor newBgColour() const { return _nbgColour; }
+ TQColor newFgColour() const { return _nfgColour; }
+ TQString icon() const { return _icon; }
+ TQString newIcon() const { return _nIcon; }
Style displayStyle() const { return _style; }
bool passivePopup() const { return _passivePopup; }
bool passiveDate() const { return _passiveDate; }
- QString realName() const { return _realName; }
+ TQString realName() const { return _realName; }
;
- void setCaption(QString);
- void setClickCmd(QString);
- void setNewMailCmd(QString);
- void setSoundFile(QString);
+ void setCaption(TQString);
+ void setClickCmd(TQString);
+ void setNewMailCmd(TQString);
+ void setSoundFile(TQString);
void setDisplayStyle(Style);
- void setBgColour(QColor);
- void setFgColour(QColor);
- void setNewBgColour(QColor);
- void setNewFgColour(QColor);
- void setIcon(QString);
- void setNewIcon(QString);
+ void setBgColour(TQColor);
+ void setFgColour(TQColor);
+ void setNewBgColour(TQColor);
+ void setNewFgColour(TQColor);
+ void setIcon(TQString);
+ void setNewIcon(TQString);
void setResetCounter(int);
void setPassivePopup(bool);
void setPassiveDate(bool);
- void setRealName(QString);
+ void setRealName(TQString);
/**
* This is called by the manager when it wishes to delete
@@ -361,7 +361,7 @@ signals:
* As argument, there is a KornSubject, which contains a subject and
* some more info that could be used with the popup.
*/
- void showPassivePopup( QPtrList< KornMailSubject >*, int, bool, const QString& realname );
+ void showPassivePopup( TQPtrList< KornMailSubject >*, int, bool, const TQString& realname );
/**
* This signal is emitted when a passive error message should be displayed.
@@ -369,7 +369,7 @@ signals:
* @param error The error message
* @param realName The real name of this object.
*/
- void showPassivePopup( const QString& error, const QString& realname );
+ void showPassivePopup( const TQString& error, const TQString& realname );
/**
* readSubjects() might signal readSubject() if
@@ -450,7 +450,7 @@ signals:
* in asynchrone situations.
* @param pointer to the full email-message.
*/
- void readMailReady( QString* );
+ void readMailReady( TQString* );
};
#endif // SSK_MAILDROP_H