From 32b66c9ae78f439199a6d281cc33218e57c5106d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:47 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- kaddressbook/kabcore.cpp | 2 +- kaddressbook/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kaddressbook') diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 906c641c..43f5e5bc 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -1566,7 +1566,7 @@ void KABCore::slotContactsUpdated() bool KABCore::handleCommandLine( KAddressBookIface* iface ) { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TQCString addrStr = args->getOption( "addr" ); TQCString uidStr = args->getOption( "uid" ); diff --git a/kaddressbook/main.cpp b/kaddressbook/main.cpp index 3c57e61d..0ff8da8c 100644 --- a/kaddressbook/main.cpp +++ b/kaddressbook/main.cpp @@ -63,7 +63,7 @@ int KAddressBookApp::newInstance() mMainWin->restore( 1 ); } } else { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if ( args->isSet( "editor-only" ) ) { if ( !mMainWin ) { @@ -113,8 +113,8 @@ int main( int argc, char *argv[] ) { KLocale::setMainCatalogue( "kaddressbook" ); - KCmdLineArgs::init( argc, argv, KABCore::createAboutData() ); - KCmdLineArgs::addCmdLineOptions( kaddressbook_options ); + TDECmdLineArgs::init( argc, argv, KABCore::createAboutData() ); + TDECmdLineArgs::addCmdLineOptions( kaddressbook_options ); KUniqueApplication::addCmdLineOptions(); if ( !KAddressBookApp::start() ) -- cgit v1.2.3