From 8d234817c36d029c8354600754051de394c4a27d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 19:53:43 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- src/knemod/interfacetray.cpp | 6 +++--- src/knemod/knemodaemon.cpp | 2 +- src/knemod/knemodaemon.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/knemod/interfacetray.cpp b/src/knemod/interfacetray.cpp index 1dbf820..d816f01 100644 --- a/src/knemod/interfacetray.cpp +++ b/src/knemod/interfacetray.cpp @@ -94,8 +94,8 @@ void InterfaceTray::mousePressEvent( TQMouseEvent* e ) void InterfaceTray::showAboutDialog() { - KAboutData data ( "knemo", I18N_NOOP( "KNemo" ), version, - description, KAboutData::License_GPL, + TDEAboutData data ( "knemo", I18N_NOOP( "KNemo" ), version, + description, TDEAboutData::License_GPL, "(c) 2004, 2005, 2006 Percy Leonhardt\n\nSignal plotter taken from KSysGuard\n(c) 1999 - 2002, Chris Schlaeger", 0, "http://extragear.kde.org/apps/knemo/" @@ -114,7 +114,7 @@ void InterfaceTray::showAboutDialog() void InterfaceTray::showReportBugDialog() { - KAboutData data ( "knemo", I18N_NOOP( "KNemo" ), version ); + TDEAboutData data ( "knemo", I18N_NOOP( "KNemo" ), version ); KBugReport bugReport( 0, true, &data ); bugReport.exec(); } diff --git a/src/knemod/knemodaemon.cpp b/src/knemod/knemodaemon.cpp index 030494a..add12c8 100644 --- a/src/knemod/knemodaemon.cpp +++ b/src/knemod/knemodaemon.cpp @@ -49,7 +49,7 @@ KNemoDaemon::KNemoDaemon( const TQCString& name ) mColorIncoming( 0x1889FF ), mColorOutgoing( 0xFF7F08 ), mColorBackground( 0x313031 ), - mInstance( new KInstance( "knemo" ) ), + mInstance( new TDEInstance( "knemo" ) ), mNotifyInstance( new KNotifyClient::Instance( mInstance ) ) { KGlobal::locale()->insertCatalogue( "knemod" ); diff --git a/src/knemod/knemodaemon.h b/src/knemod/knemodaemon.h index ca0241d..d156bfa 100644 --- a/src/knemod/knemodaemon.h +++ b/src/knemod/knemodaemon.h @@ -32,7 +32,7 @@ #include "global.h" class TQTimer; -class KInstance; +class TDEInstance; class Interface; class BackendBase; class KNotifyClient::Instance; @@ -103,7 +103,7 @@ private: // gather new informations from the backend TQTimer* mPollTimer; // our own instance - KInstance* mInstance; + TDEInstance* mInstance; // needed so that KNotifyClient::event will work KNotifyClient::Instance* mNotifyInstance; // application wide settings are stored here -- cgit v1.2.3