diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /ksnapshot/windowgrabber.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksnapshot/windowgrabber.h')
-rw-r--r-- | ksnapshot/windowgrabber.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksnapshot/windowgrabber.h b/ksnapshot/windowgrabber.h index 43598576..d6a56d6c 100644 --- a/ksnapshot/windowgrabber.h +++ b/ksnapshot/windowgrabber.h @@ -20,8 +20,8 @@ #ifndef WINDOWGRABBER_H #define WINDOWGRABBER_H -#include <qdialog.h> -#include <qpixmap.h> +#include <tqdialog.h> +#include <tqpixmap.h> #include <vector> #include <X11/Xlib.h> #include <X11/Xatom.h> @@ -34,23 +34,23 @@ public: WindowGrabber(); ~WindowGrabber(); - static QPixmap grabCurrent( bool includeDecorations = true ); + static TQPixmap grabCurrent( bool includeDecorations = true ); signals: - void windowGrabbed( const QPixmap & ); + void windowGrabbed( const TQPixmap & ); protected: - void mousePressEvent( QMouseEvent * ); - void mouseReleaseEvent( QMouseEvent * ); - void mouseMoveEvent( QMouseEvent * ); - void wheelEvent( QWheelEvent * ); + void mousePressEvent( TQMouseEvent * ); + void mouseReleaseEvent( TQMouseEvent * ); + void mouseMoveEvent( TQMouseEvent * ); + void wheelEvent( TQWheelEvent * ); private: void drawBorder(); - void increaseScope( const QPoint & ); - void decreaseScope( const QPoint & ); - int windowIndex( const QPoint & ) const; - std::vector<QRect> windows; + void increaseScope( const TQPoint & ); + void decreaseScope( const TQPoint & ); + int windowIndex( const TQPoint & ) const; + std::vector<TQRect> windows; int current; int yPos; }; |