diff options
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; |