summaryrefslogtreecommitdiffstats
path: root/karm/karm_part.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-22 20:22:15 -0600
committerTimothy Pearson <[email protected]>2013-01-22 20:22:15 -0600
commit5fc6f26e12b596addd235f87320c31761bd5a84d (patch)
tree0a1ff964c23fce07fc088017df4ad537d57e62e5 /karm/karm_part.cpp
parent12c8a23fe75817cb4bfcd604c1863266dd75e840 (diff)
downloadtdepim-5fc6f26e12b596addd235f87320c31761bd5a84d.tar.gz
tdepim-5fc6f26e12b596addd235f87320c31761bd5a84d.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'karm/karm_part.cpp')
-rw-r--r--karm/karm_part.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/karm/karm_part.cpp b/karm/karm_part.cpp
index 4cf841902..a81873731 100644
--- a/karm/karm_part.cpp
+++ b/karm/karm_part.cpp
@@ -367,12 +367,12 @@ void karmPart::fileSaveAs()
// It's usually safe to leave the factory code alone.. with the
-// notable exception of the KAboutData data
+// notable exception of the TDEAboutData data
#include <kaboutdata.h>
#include <klocale.h>
-KInstance* karmPartFactory::s_instance = 0L;
-KAboutData* karmPartFactory::s_about = 0L;
+TDEInstance* karmPartFactory::s_instance = 0L;
+TDEAboutData* karmPartFactory::s_about = 0L;
karmPartFactory::karmPartFactory()
: KParts::Factory()
@@ -401,13 +401,13 @@ KParts::Part* karmPartFactory::createPartObject( TQWidget *parentWidget, const c
return obj;
}
-KInstance* karmPartFactory::instance()
+TDEInstance* karmPartFactory::instance()
{
if( !s_instance )
{
- s_about = new KAboutData("karmpart", I18N_NOOP("karmPart"), "0.1");
+ s_about = new TDEAboutData("karmpart", I18N_NOOP("karmPart"), "0.1");
s_about->addAuthor("Thorsten Staerk", 0, "[email protected]");
- s_instance = new KInstance(s_about);
+ s_instance = new TDEInstance(s_about);
}
return s_instance;
}