summaryrefslogtreecommitdiffstats
path: root/kuickshow/src/imagewindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kuickshow/src/imagewindow.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-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 'kuickshow/src/imagewindow.h')
-rw-r--r--kuickshow/src/imagewindow.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/kuickshow/src/imagewindow.h b/kuickshow/src/imagewindow.h
index 4a823a0a..19dc7462 100644
--- a/kuickshow/src/imagewindow.h
+++ b/kuickshow/src/imagewindow.h
@@ -19,19 +19,19 @@
#ifndef IMAGEWINDOW_H
#define IMAGEWINDOW_H
-#include <qevent.h>
+#include <tqevent.h>
#include <kaction.h>
#include <kurl.h>
#include "imlibwidget.h"
-class QCursor;
-class QPopupMenu;
-class QRect;
-class QString;
-class QTimer;
-class QWidget;
+class TQCursor;
+class TQPopupMenu;
+class TQRect;
+class TQString;
+class TQTimer;
+class TQWidget;
class KuickFile;
@@ -40,9 +40,9 @@ class ImageWindow : public ImlibWidget
Q_OBJECT
public:
- ImageWindow( ImData *_idata, ImlibData *id, QWidget *parent=0,
+ ImageWindow( ImData *_idata, ImlibData *id, TQWidget *parent=0,
const char *name=0 );
- ImageWindow( ImData *_idata=0, QWidget *parent=0, const char *name=0 );
+ ImageWindow( ImData *_idata=0, TQWidget *parent=0, const char *name=0 );
bool showNextImage( KuickFile * file );
bool showNextImage( const KURL& url );
@@ -105,17 +105,17 @@ protected:
virtual bool canZoomTo( int newWidth, int newHeight );
virtual void rotated( KuickImage *kuim, int rotation );
- virtual void wheelEvent( QWheelEvent * );
- virtual void keyPressEvent( QKeyEvent * );
- virtual void keyReleaseEvent( QKeyEvent * );
- virtual void mousePressEvent( QMouseEvent * );
- virtual void mouseReleaseEvent( QMouseEvent * );
- virtual void mouseMoveEvent( QMouseEvent * );
- virtual void focusInEvent( QFocusEvent * );
- virtual void resizeEvent( QResizeEvent * );
- virtual void dragEnterEvent( QDragEnterEvent * );
- virtual void dropEvent( QDropEvent * );
- virtual void contextMenuEvent( QContextMenuEvent * );
+ virtual void wheelEvent( TQWheelEvent * );
+ virtual void keyPressEvent( TQKeyEvent * );
+ virtual void keyReleaseEvent( TQKeyEvent * );
+ virtual void mousePressEvent( TQMouseEvent * );
+ virtual void mouseReleaseEvent( TQMouseEvent * );
+ virtual void mouseMoveEvent( TQMouseEvent * );
+ virtual void focusInEvent( TQFocusEvent * );
+ virtual void resizeEvent( TQResizeEvent * );
+ virtual void dragEnterEvent( TQDragEnterEvent * );
+ virtual void dropEvent( TQDropEvent * );
+ virtual void contextMenuEvent( TQContextMenuEvent * );
void showWindow();
enum KuickCursor { DefaultCursor = 0, ZoomCursor, MoveCursor };
@@ -138,8 +138,8 @@ protected:
uint xposPress, yposPress;
- QPopupMenu *viewerMenu, *gammaMenu, *brightnessMenu, *contrastMenu;
- QWidget *transWidget;
+ TQPopupMenu *viewerMenu, *gammaMenu, *brightnessMenu, *contrastMenu;
+ TQWidget *transWidget;
protected slots:
@@ -165,11 +165,11 @@ private:
bool myIsFullscreen;
int m_numHeads;
- QString m_saveDirectory;
+ TQString m_saveDirectory;
KActionCollection *m_actions;
- static QCursor * s_handCursor;
+ static TQCursor * s_handCursor;
};