diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:24 -0600 |
commit | dff37d34bfe7faea4801d273ea569eccf7e75c53 (patch) | |
tree | 1a21c502569988267643fcbb28e5bf6f1f475426 /kontact_plugin | |
parent | e7bc3fffe60a085609ff9dc88bbadb9cffc7f4e4 (diff) | |
download | basket-dff37d34bfe7faea4801d273ea569eccf7e75c53.tar.gz basket-dff37d34bfe7faea4801d273ea569eccf7e75c53.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kontact_plugin')
-rw-r--r-- | kontact_plugin/basket_plugin.cpp | 2 | ||||
-rw-r--r-- | kontact_plugin/uniqueapphandler.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kontact_plugin/basket_plugin.cpp b/kontact_plugin/basket_plugin.cpp index f20f293..691bc5f 100644 --- a/kontact_plugin/basket_plugin.cpp +++ b/kontact_plugin/basket_plugin.cpp @@ -88,7 +88,7 @@ bool BasketPlugin::isRunningStandalone() void BasketUniqueAppHandler::loadCommandLineOptions() { - KCmdLineArgs::addCmdLineOptions(basket_options); + TDECmdLineArgs::addCmdLineOptions(basket_options); } int BasketUniqueAppHandler::newInstance() diff --git a/kontact_plugin/uniqueapphandler.cpp b/kontact_plugin/uniqueapphandler.cpp index 60b5502..a5cb959 100644 --- a/kontact_plugin/uniqueapphandler.cpp +++ b/kontact_plugin/uniqueapphandler.cpp @@ -88,12 +88,12 @@ bool UniqueAppHandler::process( const TQCString &fun, const TQByteArray &data, if ( fun == "newInstance()" ) { replyType = "int"; - KCmdLineArgs::reset(); // forget options defined by other "applications" + TDECmdLineArgs::reset(); // forget options defined by other "applications" loadCommandLineOptions(); // This bit is duplicated from KUniqueApplication::processDelayed() TQDataStream ds( data, IO_ReadOnly ); - KCmdLineArgs::loadAppArgs( ds ); + TDECmdLineArgs::loadAppArgs( ds ); if ( !ds.atEnd() ) { // backwards compatibility TQCString asn_id; ds >> asn_id; |