diff options
Diffstat (limited to 'kbiff/kbiff.h')
-rw-r--r-- | kbiff/kbiff.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/kbiff/kbiff.h b/kbiff/kbiff.h index b76fad6..d8c2524 100644 --- a/kbiff/kbiff.h +++ b/kbiff/kbiff.h @@ -14,7 +14,7 @@ #include <config.h> #endif -#include <qlist.h> +#include <ntqlist.h> #include <kbiffmonitor.h> #include <setupdlg.h> @@ -22,8 +22,8 @@ #include <kbiffurl.h> #include <kapp.h> -#include <qlabel.h> -#include <qtimer.h> +#include <ntqlabel.h> +#include <ntqtimer.h> #include <notify.h> #include <status.h> @@ -33,11 +33,11 @@ class Led; -class KBiff : public QLabel, virtual public DCOPObjectProxy +class KBiff : public TQLabel, virtual public DCOPObjectProxy { Q_OBJECT public: - KBiff(DCOPClient *client_, QWidget *parent_ = 0); + KBiff(DCOPClient *client_, TQWidget *parent_ = 0); virtual ~KBiff(); bool isDocked() const; @@ -45,37 +45,37 @@ public: void processSetup(const KBiffSetup* setup, bool start); void readSessionConfig(); - void setMailboxList(const QList<KBiffMailbox>& mailbox_list, unsigned int poll = 60); + void setMailboxList(const TQList<KBiffMailbox>& mailbox_list, unsigned int poll = 60); - virtual bool process(const QCString& obj, const QCString& function, - const QByteArray& data, QCString& replyType, - QByteArray &replyData ); + virtual bool process(const TQCString& obj, const TQCString& function, + const TQByteArray& data, TQCString& replyType, + TQByteArray &replyData ); public slots: - void slotPlaySound(const QString&); - void slotLaunchFetchClient(const QString&); + void slotPlaySound(const TQString&); + void slotLaunchFetchClient(const TQString&); void slotLaunchMailClient(); protected: - void mousePressEvent(QMouseEvent *); - void enterEvent(QEvent *); - void leaveEvent(QEvent *); + void mousePressEvent(TQMouseEvent *); + void enterEvent(TQEvent *); + void leaveEvent(TQEvent *); protected: void popupMenu(); void reset(); bool isRunning(); - bool isGIF8x(const QString & file); - void executeCommand(const QString& command); + bool isGIF8x(const TQString & file); + void executeCommand(const TQString& command); void registerMe(DCOPClient *client); protected slots: void saveYourself(); void invokeHelp(); void displayPixmap(); - void haveNewMail(const int, const QString &); + void haveNewMail(const int, const TQString &); void haveNoNewMail(); - void currentStatus(const int, const QString &, const KBiffMailState); + void currentStatus(const int, const TQString &, const KBiffMailState); void dock(); void setup(); void checkMailNow(); @@ -84,38 +84,38 @@ protected slots: void stop(); void start(); void popupStatus(); - void invalidLogin(const QString& mailbox); + void invalidLogin(const TQString& mailbox); private: - bool findMailbox(const QString& url, QString& proxy); - int newMailCount(const QString& url); + bool findMailbox(const TQString& url, TQString& proxy); + int newMailCount(const TQString& url); - QString getURLWithNewMail(); - QString getMailBoxWithNewMail(); - QString replaceCommandArgs(QString cmdStr); + TQString getURLWithNewMail(); + TQString getMailBoxWithNewMail(); + TQString replaceCommandArgs(TQString cmdStr); protected: bool myMUTEX; - QList<KBiffMonitor> monitorList; - QList<KBiffNotify> notifyList; + TQList<KBiffMonitor> monitorList; + TQList<KBiffNotify> notifyList; KBiffStatusList statusList; - QStringList proxyList; + TQStringList proxyList; // Capability - QTimer *statusTimer; + TQTimer *statusTimer; // General settings - QString profile; - QString mailClient; + TQString profile; + TQString mailClient; // New mail bool systemBeep; bool runCommand; - QString runCommandPath; + TQString runCommandPath; bool runResetCommand; - QString runResetCommandPath; + TQString runResetCommandPath; bool playSound; - QString playSoundPath; + TQString playSoundPath; bool notify; bool dostatus; @@ -125,11 +125,11 @@ protected: bool isSecure; - QString noMailIcon; - QString newMailIcon; - QString oldMailIcon; - QString noConnIcon; - QString stoppedIcon; + TQString noMailIcon; + TQString newMailIcon; + TQString oldMailIcon; + TQString noConnIcon; + TQString stoppedIcon; KBiffStatus *status; bool statusChanged; |