diff --git a/src/kchmviewwindow_qtextbrowser.h b/src/kchmviewwindow_qtextbrowser.h index c2a24f2..413b940 100644 --- a/src/kchmviewwindow_qtextbrowser.h +++ b/src/kchmviewwindow_qtextbrowser.h @@ -75,8 +75,8 @@ public: //! Sets the scrollbar position. virtual void setScrollbarPosition(int pos); - virtual TQObject * getTQObject() { return TQT_TQOBJECT(this); } - virtual TQWidget * getTQWidget() { return TQT_TQWIDGET(this); } + virtual TQObject * getTQObject() { return this; } + virtual TQWidget * getTQWidget() { return this; } static TQString decodeUrl( const TQString &url );