summaryrefslogtreecommitdiffstats
path: root/kspread/plugins/calculator/main.cpp
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 /kspread/plugins/calculator/main.cpp
parentc2ba2f56121c21a762619faf195e8332ef5b224f (diff)
downloadkoffice-73ff676f11662d6178c8854a7832ebffe2ae409d.tar.gz
koffice-73ff676f11662d6178c8854a7832ebffe2ae409d.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'kspread/plugins/calculator/main.cpp')
-rw-r--r--kspread/plugins/calculator/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kspread/plugins/calculator/main.cpp b/kspread/plugins/calculator/main.cpp
index 2f1a0b89..48afebd7 100644
--- a/kspread/plugins/calculator/main.cpp
+++ b/kspread/plugins/calculator/main.cpp
@@ -41,12 +41,12 @@ using namespace KSpread;
K_EXPORT_COMPONENT_FACTORY( libkspreadcalc, CalcFactory )
-KInstance* CalcFactory::s_global = 0;
+TDEInstance* CalcFactory::s_global = 0;
CalcFactory::CalcFactory( TQObject* parent, const char* name )
: KLibFactory( parent, name )
{
- s_global = new KInstance( "kspreadcalc" );
+ s_global = new TDEInstance( "kspreadcalc" );
}
CalcFactory::~CalcFactory()
@@ -66,7 +66,7 @@ TQObject* CalcFactory::createObject( TQObject* parent, const char* name, const c
return obj;
}
-KInstance* CalcFactory::global()
+TDEInstance* CalcFactory::global()
{
return s_global;
}