summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrFactory.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-22 19:55:40 -0600
committerTimothy Pearson <[email protected]>2013-01-22 19:55:40 -0600
commit73ff676f11662d6178c8854a7832ebffe2ae409d (patch)
tree9e89ea7d87940087d2d3c5db9b378ef989dd1346 /kpresenter/KPrFactory.cpp
parentc2ba2f56121c21a762619faf195e8332ef5b224f (diff)
downloadkoffice-73ff676f11662d6178c8854a7832ebffe2ae409d.tar.gz
koffice-73ff676f11662d6178c8854a7832ebffe2ae409d.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'kpresenter/KPrFactory.cpp')
-rw-r--r--kpresenter/KPrFactory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kpresenter/KPrFactory.cpp b/kpresenter/KPrFactory.cpp
index f9419cbe..5a1a6be0 100644
--- a/kpresenter/KPrFactory.cpp
+++ b/kpresenter/KPrFactory.cpp
@@ -26,8 +26,8 @@
#include <kinstance.h>
-KInstance* KPrFactory::s_global = 0;
-KAboutData* KPrFactory::s_aboutData = 0;
+TDEInstance* KPrFactory::s_global = 0;
+TDEAboutData* KPrFactory::s_aboutData = 0;
KPrFactory::KPrFactory( TQObject* parent, const char* name )
: KoFactory( parent, name )
@@ -56,18 +56,18 @@ KParts::Part* KPrFactory::createPartObject( TQWidget *parentWidget, const char *
return doc;
}
-KAboutData* KPrFactory::aboutData()
+TDEAboutData* KPrFactory::aboutData()
{
if( !s_aboutData )
s_aboutData=newKPresenterAboutData();
return s_aboutData;
}
-KInstance* KPrFactory::global()
+TDEInstance* KPrFactory::global()
{
if ( !s_global )
{
- s_global = new KInstance(aboutData());
+ s_global = new TDEInstance(aboutData());
s_global->dirs()->addResourceType("kpresenter_template",
KStandardDirs::kde_default("data") + "kpresenter/templates/");