Rename KInstance and KAboutData to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 25f26fa3bc
commit 8d234817c3

@ -94,8 +94,8 @@ void InterfaceTray::mousePressEvent( TQMouseEvent* e )
void InterfaceTray::showAboutDialog() void InterfaceTray::showAboutDialog()
{ {
KAboutData data ( "knemo", I18N_NOOP( "KNemo" ), version, TDEAboutData data ( "knemo", I18N_NOOP( "KNemo" ), version,
description, KAboutData::License_GPL, description, TDEAboutData::License_GPL,
"(c) 2004, 2005, 2006 Percy Leonhardt\n\nSignal plotter taken from KSysGuard\n(c) 1999 - 2002, Chris Schlaeger", "(c) 2004, 2005, 2006 Percy Leonhardt\n\nSignal plotter taken from KSysGuard\n(c) 1999 - 2002, Chris Schlaeger",
0, 0,
"http://extragear.kde.org/apps/knemo/" "http://extragear.kde.org/apps/knemo/"
@ -114,7 +114,7 @@ void InterfaceTray::showAboutDialog()
void InterfaceTray::showReportBugDialog() void InterfaceTray::showReportBugDialog()
{ {
KAboutData data ( "knemo", I18N_NOOP( "KNemo" ), version ); TDEAboutData data ( "knemo", I18N_NOOP( "KNemo" ), version );
KBugReport bugReport( 0, true, &data ); KBugReport bugReport( 0, true, &data );
bugReport.exec(); bugReport.exec();
} }

@ -49,7 +49,7 @@ KNemoDaemon::KNemoDaemon( const TQCString& name )
mColorIncoming( 0x1889FF ), mColorIncoming( 0x1889FF ),
mColorOutgoing( 0xFF7F08 ), mColorOutgoing( 0xFF7F08 ),
mColorBackground( 0x313031 ), mColorBackground( 0x313031 ),
mInstance( new KInstance( "knemo" ) ), mInstance( new TDEInstance( "knemo" ) ),
mNotifyInstance( new KNotifyClient::Instance( mInstance ) ) mNotifyInstance( new KNotifyClient::Instance( mInstance ) )
{ {
KGlobal::locale()->insertCatalogue( "knemod" ); KGlobal::locale()->insertCatalogue( "knemod" );

@ -32,7 +32,7 @@
#include "global.h" #include "global.h"
class TQTimer; class TQTimer;
class KInstance; class TDEInstance;
class Interface; class Interface;
class BackendBase; class BackendBase;
class KNotifyClient::Instance; class KNotifyClient::Instance;
@ -103,7 +103,7 @@ private:
// gather new informations from the backend // gather new informations from the backend
TQTimer* mPollTimer; TQTimer* mPollTimer;
// our own instance // our own instance
KInstance* mInstance; TDEInstance* mInstance;
// needed so that KNotifyClient::event will work // needed so that KNotifyClient::event will work
KNotifyClient::Instance* mNotifyInstance; KNotifyClient::Instance* mNotifyInstance;
// application wide settings are stored here // application wide settings are stored here

Loading…
Cancel
Save