From 1a36f79cf4aedaad3ce55e1ed79bde71d19141b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 6 Sep 2018 02:04:50 +0200 Subject: Initial TQt conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/customtraylabel.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/customtraylabel.h') 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 -#include +#include +#include #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; -- cgit v1.2.1