diff options
author | Timothy Pearson <[email protected]> | 2013-01-19 18:46:46 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-19 18:46:46 -0600 |
commit | 50d6569cdef5f0aac099f5d01864bd0e14f82ae3 (patch) | |
tree | c1df4e69800be09a5873c527831b700268dd7cdf /kopete/libkopete/tests | |
parent | 9598af160810ee4dccabad48563ddecd071c6065 (diff) | |
download | tdenetwork-50d6569cdef5f0aac099f5d01864bd0e14f82ae3.tar.gz tdenetwork-50d6569cdef5f0aac099f5d01864bd0e14f82ae3.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kopete/libkopete/tests')
-rw-r--r-- | kopete/libkopete/tests/kopetemessage_test.cpp | 2 | ||||
-rw-r--r-- | kopete/libkopete/tests/kopetepasswordtest_program.cpp | 6 | ||||
-rw-r--r-- | kopete/libkopete/tests/kopetewallettest_program.cpp | 6 |
3 files changed, 7 insertions, 7 deletions
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; |