From 50d6569cdef5f0aac099f5d01864bd0e14f82ae3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:46 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- kopete/libkopete/tests/kopetemessage_test.cpp | 2 +- kopete/libkopete/tests/kopetepasswordtest_program.cpp | 6 +++--- kopete/libkopete/tests/kopetewallettest_program.cpp | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kopete/libkopete/tests') diff --git a/kopete/libkopete/tests/kopetemessage_test.cpp b/kopete/libkopete/tests/kopetemessage_test.cpp index cfc08ee7..df675fa1 100644 --- a/kopete/libkopete/tests/kopetemessage_test.cpp +++ b/kopete/libkopete/tests/kopetemessage_test.cpp @@ -65,7 +65,7 @@ KopeteMessage_Test::KopeteMessage_Test() void KopeteMessage_Test::allTests() { KApplication::disableAutoDcopRegistration(); - //KCmdLineArgs::init(argc,argv,"testkopetemessage", 0, 0, 0, 0); + //TDECmdLineArgs::init(argc,argv,"testkopetemessage", 0, 0, 0, 0); // At least Kopete::Message::asXML() seems to require that a TQApplication // is created. Running the console version doesn't create it, but the GUI diff --git a/kopete/libkopete/tests/kopetepasswordtest_program.cpp b/kopete/libkopete/tests/kopetepasswordtest_program.cpp index ea298395..039f4a39 100644 --- a/kopete/libkopete/tests/kopetepasswordtest_program.cpp +++ b/kopete/libkopete/tests/kopetepasswordtest_program.cpp @@ -67,9 +67,9 @@ void PasswordRetriever::timer() int main( int argc, char *argv[] ) { KAboutData aboutData( "kopetepasswordtest", "kopetepasswordtest", "version" ); - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions( opts ); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions( opts ); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); KApplication app( "kopetepasswordtest" ); diff --git a/kopete/libkopete/tests/kopetewallettest_program.cpp b/kopete/libkopete/tests/kopetewallettest_program.cpp index 84a7d252..49376651 100644 --- a/kopete/libkopete/tests/kopetewallettest_program.cpp +++ b/kopete/libkopete/tests/kopetewallettest_program.cpp @@ -62,12 +62,12 @@ void WalletReciever::timer() int main( int argc, char *argv[] ) { KAboutData aboutData( "kopetewallettest", "kopetewallettest", "version" ); - KCmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::init( argc, argv, &aboutData ); KCmdLineOptions opts[] = { {"+action",0,0}, KCmdLineLastOption }; - KCmdLineArgs::addCmdLineOptions( opts ); + TDECmdLineArgs::addCmdLineOptions( opts ); KApplication app( "kopetewallettest" ); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); // must register with DCOP or async callbacks will fail _out << "DCOP registration returned " << app.dcopClient()->registerAs(app.name()) << endl; -- cgit v1.2.1