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 /kicker/applets/lockout/lockout.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 'kicker/applets/lockout/lockout.h')
-rw-r--r-- | kicker/applets/lockout/lockout.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kicker/applets/lockout/lockout.h b/kicker/applets/lockout/lockout.h index 606870a99..a0b2d67e0 100644 --- a/kicker/applets/lockout/lockout.h +++ b/kicker/applets/lockout/lockout.h @@ -1,8 +1,8 @@ #ifndef LOCKOUT_H #define LOCKOUT_H -#include <qevent.h> -#include <qstring.h> +#include <tqevent.h> +#include <tqstring.h> #include <kpanelapplet.h> #include "simplebutton.h" @@ -15,20 +15,20 @@ class Lockout : public KPanelApplet Q_OBJECT public: - Lockout( const QString& configFile, - QWidget *parent = 0, const char *name = 0 ); + Lockout( const TQString& configFile, + TQWidget *parent = 0, const char *name = 0 ); ~Lockout(); int widthForHeight(int height) const; int heightForWidth(int width) const; protected: - virtual void mousePressEvent( QMouseEvent * ); - virtual void mouseMoveEvent( QMouseEvent * ); - virtual void mouseReleaseEvent( QMouseEvent * ); - virtual void mouseDoubleClickEvent( QMouseEvent * ); + virtual void mousePressEvent( TQMouseEvent * ); + virtual void mouseMoveEvent( TQMouseEvent * ); + virtual void mouseReleaseEvent( TQMouseEvent * ); + virtual void mouseDoubleClickEvent( TQMouseEvent * ); - virtual bool eventFilter( QObject *, QEvent * ); + virtual bool eventFilter( TQObject *, TQEvent * ); private slots: void lock(); @@ -40,11 +40,11 @@ private slots: void slotIconChanged(); private: - void propagateMouseEvent( QMouseEvent * ); + void propagateMouseEvent( TQMouseEvent * ); void checkLayout( int height ) const; SimpleButton *lockButton, *logoutButton; - QBoxLayout *layout; + TQBoxLayout *layout; bool bTransparent; }; |