summaryrefslogtreecommitdiffstats
path: root/kghostview/kgvpageview.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 /kghostview/kgvpageview.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 'kghostview/kgvpageview.h')
-rw-r--r--kghostview/kgvpageview.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kghostview/kgvpageview.h b/kghostview/kgvpageview.h
index 9a1abac3..6f76f458 100644
--- a/kghostview/kgvpageview.h
+++ b/kghostview/kgvpageview.h
@@ -20,10 +20,10 @@
#ifndef KGVPAGEVIEW_H
#define KGVPAGEVIEW_H
-#include <qscrollview.h>
+#include <tqscrollview.h>
/**
- * KGVPageView is a customized QScrollView, which can hold one page. This page
+ * KGVPageView is a customized TQScrollView, which can hold one page. This page
* will be centered on the viewport. Furthermore it adds the ability to scroll
* the page by dragging it using the mouse.
*/
@@ -32,11 +32,11 @@ class KGVPageView : public QScrollView
Q_OBJECT
public:
- KGVPageView( QWidget* parent = 0, const char* name = 0 );
+ KGVPageView( TQWidget* parent = 0, const char* name = 0 );
~KGVPageView() { ; }
- void setPage( QWidget* );
- QWidget* page() const { return _page; }
+ void setPage( TQWidget* );
+ TQWidget* page() const { return _page; }
/**
* Return true if the top resp. bottom of the page is visible.
@@ -52,7 +52,7 @@ public:
/**
* @reimplemented
*/
- bool eventFilter( QObject*, QEvent* );
+ bool eventFilter( TQObject*, TQEvent* );
public slots:
bool readUp();
@@ -65,8 +65,8 @@ public slots:
void scrollTop();
signals:
- void viewSizeChanged( const QSize& );
- void pageSizeChanged( const QSize& );
+ void viewSizeChanged( const TQSize& );
+ void pageSizeChanged( const TQSize& );
void nextPage();
void zoomOut();
void zoomIn();
@@ -76,18 +76,18 @@ signals:
void ReadDown();
protected:
- virtual void keyPressEvent( QKeyEvent* );
+ virtual void keyPressEvent( TQKeyEvent* );
/**
- * Reimplemented to from QScrollView to make sure that the page is centered
+ * Reimplemented to from TQScrollView to make sure that the page is centered
* when it fits in the viewport.
*/
- virtual void viewportResizeEvent( QResizeEvent* );
+ virtual void viewportResizeEvent( TQResizeEvent* );
- virtual void mousePressEvent( QMouseEvent *e );
- virtual void mouseReleaseEvent( QMouseEvent *e );
- virtual void mouseMoveEvent( QMouseEvent *e );
- virtual void wheelEvent( QWheelEvent * );
+ virtual void mousePressEvent( TQMouseEvent *e );
+ virtual void mouseReleaseEvent( TQMouseEvent *e );
+ virtual void mouseMoveEvent( TQMouseEvent *e );
+ virtual void wheelEvent( TQWheelEvent * );
/**
* If the viewport is larger than the page, center the page on the
@@ -96,8 +96,8 @@ protected:
void centerContents();
private:
- QPoint _dragGrabPos;
- QWidget* _page;
+ TQPoint _dragGrabPos;
+ TQWidget* _page;
};
#endif