summaryrefslogtreecommitdiffstats
path: root/src/traylabelmgr.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-09-06 02:04:50 +0200
committerSlávek Banko <[email protected]>2018-09-06 02:04:50 +0200
commit1a36f79cf4aedaad3ce55e1ed79bde71d19141b3 (patch)
treef643d506ae1f945ac0b4b0b4b8dea6662d08b57e /src/traylabelmgr.h
parent9cbe9f0f8b67fc7d0f158ee4d74956c932c76b8b (diff)
downloadtdedocker-1a36f79cf4aedaad3ce55e1ed79bde71d19141b3.tar.gz
tdedocker-1a36f79cf4aedaad3ce55e1ed79bde71d19141b3.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/traylabelmgr.h')
-rw-r--r--src/traylabelmgr.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/traylabelmgr.h b/src/traylabelmgr.h
index 016460f..8a27a6c 100644
--- a/src/traylabelmgr.h
+++ b/src/traylabelmgr.h
@@ -21,29 +21,29 @@
#ifndef _TRAYLABELMGR_H
#define _TRAYLABELMGR_H
-#include <qobject.h>
-#include <qptrlist.h>
-#include <qvaluelist.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
#include "customtraylabel.h"
class CustomTrayLabel;
-class TrayLabelMgr : public QObject
+class TrayLabelMgr : public TQObject
{
Q_OBJECT
public:
static TrayLabelMgr* instance();
- static QString options(void) { return QString(mOptionString); }
+ static TQString options(void) { return TQString(mOptionString); }
~TrayLabelMgr();
- QString saveSession();
+ TQString saveSession();
bool x11EventFilter(XEvent *);
- bool processCommand(const QStringList& argv);
+ bool processCommand(const TQStringList& argv);
int hiddenLabelsCount(void) const;
int dockedLabelsCount(void) const;
bool isWindowDocked(Window w);
@@ -55,21 +55,21 @@ public slots:
private slots:
void startup();
- void trayLabelDestroyed(QObject *);
+ void trayLabelDestroyed(TQObject *);
void sysTrayDestroyed(void);
void notifySysTrayAbsence();
private:
TrayLabelMgr();
bool processCommand(int argc, char** argv);
- void manageTrayLabel(QTrayLabel *l);
- bool restoreSession(const QString& sessionId);
+ void manageTrayLabel(TQTrayLabel *l);
+ bool restoreSession(const TQString& sessionId);
- QTrayLabel *dockApplication(char *argv[]);
- QTrayLabel *selectAndDock(Window w = None, bool checkNormality = true);
+ TQTrayLabel *dockApplication(char *argv[]);
+ TQTrayLabel *selectAndDock(Window w = None, bool checkNormality = true);
- QPtrList<QTrayLabel> mTrayLabels;
- QValueList<QStringList> mRequestQ;
+ TQPtrList<TQTrayLabel> mTrayLabels;
+ TQValueList<TQStringList> mRequestQ;
bool mReady;
int mHiddenLabelsCount;