summaryrefslogtreecommitdiffstats
path: root/kghostview/scrollbox.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/scrollbox.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/scrollbox.h')
-rw-r--r--kghostview/scrollbox.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kghostview/scrollbox.h b/kghostview/scrollbox.h
index a815c655..487e2c7e 100644
--- a/kghostview/scrollbox.h
+++ b/kghostview/scrollbox.h
@@ -19,40 +19,40 @@
#ifndef __SCROLLBOX_H__
#define __SCROLLBOX_H__
-#include <qframe.h>
-#include <qimage.h>
+#include <tqframe.h>
+#include <tqimage.h>
class ScrollBox: public QFrame
{
Q_OBJECT
public:
- ScrollBox( QWidget* parent = 0, const char* name = 0 );
+ ScrollBox( TQWidget* parent = 0, const char* name = 0 );
public slots:
- void setPageSize( const QSize& );
- void setViewSize( const QSize& );
- void setViewPos( const QPoint& );
- void setViewPos( int x, int y ) { setViewPos( QPoint( x, y ) ); }
- void setThumbnail( QPixmap img );
+ void setPageSize( const TQSize& );
+ void setViewSize( const TQSize& );
+ void setViewPos( const TQPoint& );
+ void setViewPos( int x, int y ) { setViewPos( TQPoint( x, y ) ); }
+ void setThumbnail( TQPixmap img );
void clear();
signals:
- void valueChanged( const QPoint& );
+ void valueChanged( const TQPoint& );
void valueChangedRelative( int dx, int dy );
void button2Pressed();
void button3Pressed();
protected:
- void mousePressEvent( QMouseEvent *);
- void mouseMoveEvent( QMouseEvent *);
- void drawContents( QPainter *);
- void resizeEvent( QResizeEvent * );
+ void mousePressEvent( TQMouseEvent *);
+ void mouseMoveEvent( TQMouseEvent *);
+ void drawContents( TQPainter *);
+ void resizeEvent( TQResizeEvent * );
private:
- QPoint viewpos, mouse;
- QSize pagesize;
- QSize viewsize;
+ TQPoint viewpos, mouse;
+ TQSize pagesize;
+ TQSize viewsize;
};
#endif