diff options
Diffstat (limited to 'languages/cpp/app_templates/kpartapp/app_part.cpp')
-rw-r--r-- | languages/cpp/app_templates/kpartapp/app_part.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/app_templates/kpartapp/app_part.cpp b/languages/cpp/app_templates/kpartapp/app_part.cpp index 1f3992af..80c9f967 100644 --- a/languages/cpp/app_templates/kpartapp/app_part.cpp +++ b/languages/cpp/app_templates/kpartapp/app_part.cpp @@ -144,12 +144,12 @@ void %{APPNAME}Part::fileSaveAs() // It's usually safe to leave the factory code alone.. with the -// notable exception of the KAboutData data +// notable exception of the TDEAboutData data #include <kaboutdata.h> #include <klocale.h> -KInstance* %{APPNAME}PartFactory::s_instance = 0L; -KAboutData* %{APPNAME}PartFactory::s_about = 0L; +TDEInstance* %{APPNAME}PartFactory::s_instance = 0L; +TDEAboutData* %{APPNAME}PartFactory::s_about = 0L; %{APPNAME}PartFactory::%{APPNAME}PartFactory() : KParts::Factory() @@ -178,13 +178,13 @@ KParts::Part* %{APPNAME}PartFactory::createPartObject( TQWidget *parentWidget, c return obj; } -KInstance* %{APPNAME}PartFactory::instance() +TDEInstance* %{APPNAME}PartFactory::instance() { if( !s_instance ) { - s_about = new KAboutData("%{APPNAMELC}part", I18N_NOOP("%{APPNAME}Part"), "%{VERSION}"); + s_about = new TDEAboutData("%{APPNAMELC}part", I18N_NOOP("%{APPNAME}Part"), "%{VERSION}"); s_about->addAuthor("%{AUTHOR}", 0, "%{EMAIL}"); - s_instance = new KInstance(s_about); + s_instance = new TDEInstance(s_about); } return s_instance; } |