diff options
Diffstat (limited to 'kig/kig/kig_view.h')
-rw-r--r-- | kig/kig/kig_view.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/kig/kig/kig_view.h b/kig/kig/kig_view.h index a60e3ee5..4c167d7a 100644 --- a/kig/kig/kig_view.h +++ b/kig/kig/kig_view.h @@ -41,15 +41,16 @@ class KigView; /** * This class is the real widget showing the document. The other is a - * wrapper, that has the scrollbars... I'm not using QScrollView + * wrapper, that has the scrollbars... I'm not using TQScrollView * cause i've been having problems with that, and it's easier to do * the work myself... * Internally, this is basically a dumb class, which is manipulated by * KigMode's. All events are forwarded to them. */ -class KigWidget : public QWidget +class KigWidget : public TQWidget { Q_OBJECT + TQ_OBJECT KigPart* mpart; KigView* mview; @@ -61,7 +62,7 @@ class KigWidget : public QWidget void paintEvent( TQPaintEvent* e ); void wheelEvent( TQWheelEvent* e ); void resizeEvent( TQResizeEvent* ); - TQSize sizeHint() const; + TQSize tqsizeHint() const; /** * this is called to match a rect's dimensions to the dimensions of @@ -104,7 +105,7 @@ public: */ KigWidget( KigPart* doc, KigView* view, - TQWidget* parent = 0, + TQWidget* tqparent = 0, const char* name = 0, bool fullscreen = false ); @@ -224,16 +225,17 @@ public: * most of its functionality to KigWidget... */ class KigView - : public QWidget + : public TQWidget { Q_OBJECT + TQ_OBJECT - TQGridLayout* mlayout; + TQGridLayout* mtqlayout; TQScrollBar* mrightscroll; TQScrollBar* mbottomscroll; /** - * apparently, TQScrollBar also emits its signals when you update it + * aptqparently, TQScrollBar also emits its signals when you update it * manually, so we ignore them while we're in \ref updateScrollBars()... */ bool mupdatingscrollbars; @@ -244,7 +246,7 @@ class KigView public: KigView( KigPart* part, bool fullscreen = false, - TQWidget* parent = 0, + TQWidget* tqparent = 0, const char* name = 0 ); ~KigView(); |