diff options
author | Timothy Pearson <[email protected]> | 2013-01-22 20:23:50 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-22 20:23:50 -0600 |
commit | 3a044decb0a5d7be822c888b2d5374573d7df96e (patch) | |
tree | ddf4681e0233c25203fc927596aa7b3bdb5f2efa /languages/cpp/app_templates/kofficepart/kopart_factory.cpp | |
parent | 5c0390ebaa2be82d8684af5a6bc2b16740f4cc1b (diff) | |
download | tdevelop-3a044decb0a5d7be822c888b2d5374573d7df96e.tar.gz tdevelop-3a044decb0a5d7be822c888b2d5374573d7df96e.zip |
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'languages/cpp/app_templates/kofficepart/kopart_factory.cpp')
-rw-r--r-- | languages/cpp/app_templates/kofficepart/kopart_factory.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/app_templates/kofficepart/kopart_factory.cpp b/languages/cpp/app_templates/kofficepart/kopart_factory.cpp index 86287a3f..7d2d20d1 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_factory.cpp +++ b/languages/cpp/app_templates/kofficepart/kopart_factory.cpp @@ -20,8 +20,8 @@ extern "C" } }; -KInstance* %{APPNAME}Factory::s_global = 0L; -KAboutData* %{APPNAME}Factory::s_aboutData = 0L; +TDEInstance* %{APPNAME}Factory::s_global = 0L; +TDEAboutData* %{APPNAME}Factory::s_aboutData = 0L; %{APPNAME}Factory::%{APPNAME}Factory( TQObject* parent, const char* name ) : KoFactory( parent, name ) @@ -52,7 +52,7 @@ KParts::Part* %{APPNAME}Factory::createPartObject( TQWidget *parentWidget, const return part; } -KAboutData* %{APPNAME}Factory::aboutData() +TDEAboutData* %{APPNAME}Factory::aboutData() { if ( !s_aboutData ) // Change this, of course @@ -60,11 +60,11 @@ KAboutData* %{APPNAME}Factory::aboutData() return s_aboutData; } -KInstance* %{APPNAME}Factory::global() +TDEInstance* %{APPNAME}Factory::global() { if ( !s_global ) { - s_global = new KInstance( aboutData() ); + s_global = new TDEInstance( aboutData() ); // Add any application-specific resource directories here // Tell the iconloader about share/apps/koffice/icons |