diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-09-06 02:04:50 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-09-06 02:04:50 +0200 |
commit | 1a36f79cf4aedaad3ce55e1ed79bde71d19141b3 (patch) | |
tree | f643d506ae1f945ac0b4b0b4b8dea6662d08b57e /src/customtraylabel.h | |
parent | 9cbe9f0f8b67fc7d0f158ee4d74956c932c76b8b (diff) | |
download | tdedocker-1a36f79cf4aedaad3ce55e1ed79bde71d19141b3.tar.gz tdedocker-1a36f79cf4aedaad3ce55e1ed79bde71d19141b3.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/customtraylabel.h')
-rw-r--r-- | src/customtraylabel.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/customtraylabel.h b/src/customtraylabel.h index c12bcc2..d7fa764 100644 --- a/src/customtraylabel.h +++ b/src/customtraylabel.h @@ -22,33 +22,33 @@ #ifndef _CUSTOMTRAYLABEL_H #define _CUSTOMTRAYLABEL_H -#include <qobject.h> -#include <qaction.h> +#include <tqobject.h> +#include <tqaction.h> #include "qtraylabel.h" -class QStringList; -class QPopupMenu; -class QString; -class QSettings; -class QWidget; -class QDropEvent; +class TQStringList; +class TQPopupMenu; +class TQString; +class TQSettings; +class TQWidget; +class TQDropEvent; -class CustomTrayLabel : public QTrayLabel +class CustomTrayLabel : public TQTrayLabel { Q_OBJECT public: - CustomTrayLabel(Window w, QWidget* p = 0, const QString& t = QString::null); - CustomTrayLabel(const QStringList& argv, pid_t pid, QWidget* parent = 0); + CustomTrayLabel(Window w, TQWidget* p = 0, const TQString& t = TQString::null); + CustomTrayLabel(const TQStringList& argv, pid_t pid, TQWidget* parent = 0); // Session management - bool saveState(QSettings& settings); - bool restoreState(QSettings& settings); + bool saveState(TQSettings& settings); + bool restoreState(TQSettings& settings); bool isLaunchOnStartup(void) const { return mAutoLaunch->isOn(); } bool isDockWhenObscured(void) const { return mDockWhenObscured->isOn(); } - void setAppName(const QString& name); + void setAppName(const TQString& name); public slots: // overridden to update our menu @@ -61,13 +61,13 @@ public slots: void enableSessionManagement(bool sm) { mSessionManagement->setOn(sm); } protected: - void dropEvent(QDropEvent *ev); + void dropEvent(TQDropEvent *ev); bool canUnsubscribeFromRoot(void); void mapEvent(void); void focusLostEvent(); void obscureEvent(void); void destroyEvent(void); - void mouseReleaseEvent(QMouseEvent * ev); + void mouseReleaseEvent(TQMouseEvent * ev); bool canDockWindow(Window w); void processDead(void); @@ -80,8 +80,8 @@ private slots: private: void installMenu(); bool mUndockWhenDead; - QPopupMenu *mOptionsMenu, *mMainMenu; - QAction *mDockOnRestore, *mAutoLaunch, *mBalloonTimeout, *mSkipTaskbar, + TQPopupMenu *mOptionsMenu, *mMainMenu; + TQAction *mDockOnRestore, *mAutoLaunch, *mBalloonTimeout, *mSkipTaskbar, *mDockWhenMinimized, *mDockWhenObscured, *mSessionManagement, *mDockWhenFocusLost; int mShowId; |