summaryrefslogtreecommitdiffstats
path: root/kpdf/ui/presentationwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpdf/ui/presentationwidget.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpdf/ui/presentationwidget.h')
-rw-r--r--kpdf/ui/presentationwidget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kpdf/ui/presentationwidget.h b/kpdf/ui/presentationwidget.h
index 00ff5b35..00ae2bfb 100644
--- a/kpdf/ui/presentationwidget.h
+++ b/kpdf/ui/presentationwidget.h
@@ -35,8 +35,9 @@ class PresentationFrame;
class PresentationWidget : public TQDialog, public DocumentObserver
{
Q_OBJECT
+ TQ_OBJECT
public:
- PresentationWidget( TQWidget * parent, KPDFDocument * doc );
+ PresentationWidget( TQWidget * tqparent, KPDFDocument * doc );
~PresentationWidget();
void setupActions( KActionCollection * ac );
@@ -59,7 +60,7 @@ class PresentationWidget : public TQDialog, public DocumentObserver
void paintEvent( TQPaintEvent * e );
private:
- const KPDFLink * getLink( int x, int y, TQRect * geometry = 0 ) const;
+ const KPDFLink * getLink( int x, int y, TQRect * tqgeometry = 0 ) const;
void testCursorOnLink( int x, int y );
void overlayClick( const TQPoint & position );
void changePage( int newPage );