summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kofficepart/kopart_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kofficepart/kopart_factory.cpp')
-rw-r--r--languages/cpp/app_templates/kofficepart/kopart_factory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/kofficepart/kopart_factory.cpp b/languages/cpp/app_templates/kofficepart/kopart_factory.cpp
index bd79c317..86287a3f 100644
--- a/languages/cpp/app_templates/kofficepart/kopart_factory.cpp
+++ b/languages/cpp/app_templates/kofficepart/kopart_factory.cpp
@@ -23,7 +23,7 @@ extern "C"
KInstance* %{APPNAME}Factory::s_global = 0L;
KAboutData* %{APPNAME}Factory::s_aboutData = 0L;
-%{APPNAME}Factory::%{APPNAME}Factory( QObject* parent, const char* name )
+%{APPNAME}Factory::%{APPNAME}Factory( TQObject* parent, const char* name )
: KoFactory( parent, name )
{
global();
@@ -37,7 +37,7 @@ KAboutData* %{APPNAME}Factory::s_aboutData = 0L;
s_global = 0L;
}
-KParts::Part* %{APPNAME}Factory::createPartObject( QWidget *parentWidget, const char *widgetName, QObject* parent, const char* name, const char* classname, const QStringList & )
+KParts::Part* %{APPNAME}Factory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject* parent, const char* name, const char* classname, const TQStringList & )
{
// If classname is "KoDocument", our host is a koffice application
// otherwise, the host wants us as a simple part, so switch to readonly and single view.