From 5fc6f26e12b596addd235f87320c31761bd5a84d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 20:22:15 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- karm/karm_part.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'karm/karm_part.cpp') 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 #include -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, "thorsten@staerk.de"); - s_instance = new KInstance(s_about); + s_instance = new TDEInstance(s_about); } return s_instance; } -- cgit v1.2.1