diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kviewshell/documentWidget.h | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-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 'kviewshell/documentWidget.h')
-rw-r--r-- | kviewshell/documentWidget.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/kviewshell/documentWidget.h b/kviewshell/documentWidget.h index c568d11c..29a20b79 100644 --- a/kviewshell/documentWidget.h +++ b/kviewshell/documentWidget.h @@ -27,15 +27,16 @@ class TQPaintEvent; /* DocumentWidget */ -class DocumentWidget : public QWidget +class DocumentWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - DocumentWidget(TQWidget *parent, PageView *sv, DocumentPageCache *cache, const char *name); + DocumentWidget(TQWidget *tqparent, PageView *sv, DocumentPageCache *cache, const char *name); - void setPageNumber(Q_UINT16 pageNr); - Q_UINT16 getPageNumber() const {return pageNr;} + void setPageNumber(TQ_UINT16 pageNr); + TQ_UINT16 getPageNumber() const {return pageNr;} /** Returns the size of the widget without the page shadow. */ TQSize pageSize() const; @@ -121,7 +122,7 @@ protected: int animationCounter; int flashOffset; - Q_UINT16 pageNr; + TQ_UINT16 pageNr; /* This timer is used to delay clearing of the statusbar. Clearing the statusbar is delayed to avoid awful flickering when the mouse @@ -156,7 +157,7 @@ protected: virtual void setStandardCursor(); private slots: - /** This slot emits the signal setStatusBarText(TQString::null) to + /** This slot emits the signal setStatusBarText(TQString()) to clear the status bar. It is connected to the timeout slot of the clearStatusBarTimer. */ void clearStatusBar(); |