diff options
Diffstat (limited to 'kivio/kiviopart/tools/kivio_plugin.h')
-rw-r--r-- | kivio/kiviopart/tools/kivio_plugin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kivio/kiviopart/tools/kivio_plugin.h b/kivio/kiviopart/tools/kivio_plugin.h index 8db99552..944742d3 100644 --- a/kivio/kiviopart/tools/kivio_plugin.h +++ b/kivio/kiviopart/tools/kivio_plugin.h @@ -30,11 +30,12 @@ namespace Kivio { class KIVIO_EXPORT Plugin : public KParts::Plugin { Q_OBJECT + TQ_OBJECT public: - Plugin(KivioView* parent = 0, const char* name = 0); + Plugin(KivioView* tqparent = 0, const char* name = 0); ~Plugin(); - KivioView* view() { return static_cast<KivioView*>(parent()); } + KivioView* view() { return static_cast<KivioView*>(TQT_TQWIDGET(tqparent())); } }; } |