From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: 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 --- kviewshell/plugins/djvu/pageRangeWidget.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'kviewshell/plugins/djvu/pageRangeWidget.h') diff --git a/kviewshell/plugins/djvu/pageRangeWidget.h b/kviewshell/plugins/djvu/pageRangeWidget.h index 3ddb497b..a1d2ec58 100644 --- a/kviewshell/plugins/djvu/pageRangeWidget.h +++ b/kviewshell/plugins/djvu/pageRangeWidget.h @@ -29,12 +29,13 @@ class PageRangeWidget : public PageRangeWidget_base { Q_OBJECT + TQ_OBJECT public: - PageRangeWidget( Q_UINT16 _from, Q_UINT16 _to, Q_UINT16 _current, TQWidget *parent = 0, const char *name = 0 ); + PageRangeWidget( TQ_UINT16 _from, TQ_UINT16 _to, TQ_UINT16 _current, TQWidget *tqparent = 0, const char *name = 0 ); - Q_UINT16 getFrom() const {return (from == 0) ? 0 : from->value(); } - Q_UINT16 getTo() const {return (to == 0) ? 0 : to->value(); } + TQ_UINT16 getFrom() const {return (from == 0) ? 0 : from->value(); } + TQ_UINT16 getTo() const {return (to == 0) ? 0 : to->value(); } private slots: void toValueChanged(int val); -- cgit v1.2.1