diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /ksystraycmd/ksystraycmd.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksystraycmd/ksystraycmd.h')
-rw-r--r-- | ksystraycmd/ksystraycmd.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ksystraycmd/ksystraycmd.h b/ksystraycmd/ksystraycmd.h index ecb670fd5..90e3bc36f 100644 --- a/ksystraycmd/ksystraycmd.h +++ b/ksystraycmd/ksystraycmd.h @@ -3,7 +3,7 @@ #ifndef KSYSTRAYCMD_H #define KSYSTRAYCMD_H -#include <qlabel.h> +#include <tqlabel.h> #include <kwin.h> class KShellProcess; @@ -22,17 +22,17 @@ public: ~KSysTrayCmd(); void setWindow( WId w ) { win = w; } - void setCommand( const QString &cmd ) { command = cmd; } - void setPattern( const QString ®exp ) { window = regexp; } + void setCommand( const TQString &cmd ) { command = cmd; } + void setPattern( const TQString ®exp ) { window = regexp; } void setStartOnShow( bool enable ) { lazyStart = enable; isVisible = !enable; } void setNoQuit( bool enable ) { noquit = enable; } void setQuitOnHide( bool enable ) { quitOnHide = enable; } void setOnTop( bool enable ) { onTop = enable; } void setOwnIcon( bool enable ) { ownIcon = enable; } - void setDefaultTip( const QString &tip ) { tooltip = tip; } + void setDefaultTip( const TQString &tip ) { tooltip = tip; } bool hasTargetWindow() const { return (win != 0); } bool hasRunningClient() const { return (client != 0); } - const QString &errorMsg() const { return errStr; } + const TQString &errorMsg() const { return errStr; } bool start(); @@ -46,7 +46,7 @@ public slots: void toggleWindow() { if ( isVisible ) hideWindow(); else showWindow(); } void setTargetWindow( WId w ); - void execContextMenu( const QPoint &pos ); + void execContextMenu( const TQPoint &pos ); void quit(); void quitClient(); @@ -62,12 +62,12 @@ protected: void checkExistingWindows(); void setTargetWindow( const KWin::WindowInfo &info ); - void mousePressEvent( QMouseEvent *e ); + void mousePressEvent( TQMouseEvent *e ); private: - QString command; - QString window; - QString tooltip; + TQString command; + TQString window; + TQString tooltip; bool isVisible; bool lazyStart; bool noquit; @@ -78,7 +78,7 @@ private: WId win; KShellProcess *client; KWinModule *kwinmodule; - QString errStr; + TQString errStr; /** Memorized 'top' position of the window*/ int top; |