summaryrefslogtreecommitdiffstats
path: root/kpdf/ui/pageviewutils.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 /kpdf/ui/pageviewutils.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 'kpdf/ui/pageviewutils.h')
-rw-r--r--kpdf/ui/pageviewutils.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kpdf/ui/pageviewutils.h b/kpdf/ui/pageviewutils.h
index bde9b8d3..d1e5cecf 100644
--- a/kpdf/ui/pageviewutils.h
+++ b/kpdf/ui/pageviewutils.h
@@ -10,12 +10,12 @@
#ifndef _PAGEVIEW_UTILS_H
#define _PAGEVIEW_UTILS_H
-#include <qwidget.h>
-#include <qpixmap.h>
-#include <qpainter.h>
-#include <qrect.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
+#include <tqpainter.h>
+#include <tqrect.h>
-class QTimer;
+class TQTimer;
class PageView;
class KPDFPage;
@@ -33,7 +33,7 @@ class PageViewItem
const KPDFPage * page() const;
int pageNumber() const;
- const QRect& geometry() const;
+ const TQRect& geometry() const;
int width() const;
int height() const;
double zoomFactor() const;
@@ -45,7 +45,7 @@ class PageViewItem
private:
const KPDFPage * m_page;
double m_zoomFactor;
- QRect m_geometry;
+ TQRect m_geometry;
};
@@ -55,18 +55,18 @@ class PageViewItem
class PageViewMessage : public QWidget
{
public:
- PageViewMessage( QWidget * parent );
+ PageViewMessage( TQWidget * parent );
enum Icon { None, Info, Warning, Error, Find };
- void display( const QString & message, Icon icon = Info, int durationMs = 4000 );
+ void display( const TQString & message, Icon icon = Info, int durationMs = 4000 );
protected:
- void paintEvent( QPaintEvent * e );
- void mousePressEvent( QMouseEvent * e );
+ void paintEvent( TQPaintEvent * e );
+ void mousePressEvent( TQMouseEvent * e );
private:
- QPixmap m_pixmap;
- QTimer * m_timer;
+ TQPixmap m_pixmap;
+ TQTimer * m_timer;
};
#endif