summaryrefslogtreecommitdiffstats
path: root/filters/karbon/xfig
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 /filters/karbon/xfig
parentc2ba2f56121c21a762619faf195e8332ef5b224f (diff)
downloadkoffice-73ff676f11662d6178c8854a7832ebffe2ae409d.tar.gz
koffice-73ff676f11662d6178c8854a7832ebffe2ae409d.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'filters/karbon/xfig')
-rw-r--r--filters/karbon/xfig/xfigimport_factory.cc6
-rw-r--r--filters/karbon/xfig/xfigimport_factory.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/filters/karbon/xfig/xfigimport_factory.cc b/filters/karbon/xfig/xfigimport_factory.cc
index d734b1761..1e2311997 100644
--- a/filters/karbon/xfig/xfigimport_factory.cc
+++ b/filters/karbon/xfig/xfigimport_factory.cc
@@ -30,14 +30,14 @@ DESCRIPTION
K_EXPORT_COMPONENT_FACTORY( libxfigimport, XFIGImportFactory )
-KInstance *XFIGImportFactory::s_global = 0;
+TDEInstance *XFIGImportFactory::s_global = 0;
XFIGImportFactory::XFIGImportFactory(
TQObject *parent,
const char *name) :
KLibFactory(parent, name)
{
- s_global = new KInstance("xfigimport");
+ s_global = new TDEInstance("xfigimport");
}
XFIGImportFactory::~XFIGImportFactory()
@@ -61,7 +61,7 @@ TQObject *XFIGImportFactory::createObject(
return f;
}
-KInstance *XFIGImportFactory::global()
+TDEInstance *XFIGImportFactory::global()
{
return s_global;
}
diff --git a/filters/karbon/xfig/xfigimport_factory.h b/filters/karbon/xfig/xfigimport_factory.h
index b8d4d666e..9760a92f2 100644
--- a/filters/karbon/xfig/xfigimport_factory.h
+++ b/filters/karbon/xfig/xfigimport_factory.h
@@ -26,7 +26,7 @@ DESCRIPTION
#include <klibloader.h>
-class KInstance;
+class TDEInstance;
class XFIGImportFactory :
public KLibFactory
@@ -39,9 +39,9 @@ public:
virtual TQObject* createObject(TQObject* parent = 0, const char* name = 0, const char* classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList());
- static KInstance* global();
+ static TDEInstance* global();
private:
- static KInstance* s_global;
+ static TDEInstance* s_global;
};
#endif