summaryrefslogtreecommitdiffstats
path: root/kformula/kformula_factory.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 19:55:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 19:55:40 -0600
commit73ff676f11662d6178c8854a7832ebffe2ae409d (patch)
tree9e89ea7d87940087d2d3c5db9b378ef989dd1346 /kformula/kformula_factory.cc
parentc2ba2f56121c21a762619faf195e8332ef5b224f (diff)
downloadkoffice-73ff676f11662d6178c8854a7832ebffe2ae409d.tar.gz
koffice-73ff676f11662d6178c8854a7832ebffe2ae409d.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'kformula/kformula_factory.cc')
-rw-r--r--kformula/kformula_factory.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kformula/kformula_factory.cc b/kformula/kformula_factory.cc
index e8d3a918..8842aaea 100644
--- a/kformula/kformula_factory.cc
+++ b/kformula/kformula_factory.cc
@@ -14,10 +14,10 @@
K_EXPORT_COMPONENT_FACTORY( libkformulapart, KFormulaFactory )
-KInstance* KFormulaFactory::s_global = 0;
-KAboutData* KFormulaFactory::s_aboutData = 0;
+TDEInstance* KFormulaFactory::s_global = 0;
+TDEAboutData* KFormulaFactory::s_aboutData = 0;
-KAboutData* KFormulaFactory::aboutData()
+TDEAboutData* KFormulaFactory::aboutData()
{
if( !s_aboutData )
s_aboutData=newKFormulaAboutData();
@@ -53,11 +53,11 @@ KParts::Part* KFormulaFactory::createPartObject( TQWidget *parentWidget, const c
return doc;
}
-KInstance* KFormulaFactory::global()
+TDEInstance* KFormulaFactory::global()
{
if ( !s_global )
{
- s_global = new KInstance(aboutData());
+ s_global = new TDEInstance(aboutData());
s_global->dirs()->addResourceType( "toolbar",
KStandardDirs::kde_default("data") + "koffice/toolbar/");
// Tell the iconloader about share/apps/koffice/icons*/