From 3aab8aa05b954b80e336517f93463a9b5f50f3d6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 14 Dec 2023 21:19:12 +0900 Subject: Remove various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- kivio/kiviopart/tools/kivio_plugin.cpp | 2 +- kivio/kiviopart/tools/kivio_plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kivio/kiviopart/tools') diff --git a/kivio/kiviopart/tools/kivio_plugin.cpp b/kivio/kiviopart/tools/kivio_plugin.cpp index 7e227fb1..01e06906 100644 --- a/kivio/kiviopart/tools/kivio_plugin.cpp +++ b/kivio/kiviopart/tools/kivio_plugin.cpp @@ -21,7 +21,7 @@ #include "kivio_factory.h" namespace Kivio { - Plugin::Plugin(KivioView* parent, const char* name) : KParts::Plugin(TQT_TQOBJECT(parent), name) + Plugin::Plugin(KivioView* parent, const char* name) : KParts::Plugin(parent, name) { setInstance(KivioFactory::global()); } diff --git a/kivio/kiviopart/tools/kivio_plugin.h b/kivio/kiviopart/tools/kivio_plugin.h index 0fa2327e..74fc9b91 100644 --- a/kivio/kiviopart/tools/kivio_plugin.h +++ b/kivio/kiviopart/tools/kivio_plugin.h @@ -35,7 +35,7 @@ namespace Kivio { Plugin(KivioView* parent = 0, const char* name = 0); ~Plugin(); - KivioView* view() { return static_cast(TQT_TQWIDGET(parent())); } + KivioView* view() { return static_cast(parent()); } }; } -- cgit v1.2.1