summaryrefslogtreecommitdiffstats
path: root/kaddressbook
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:47 -0600
commit32b66c9ae78f439199a6d281cc33218e57c5106d (patch)
treee92cf1651596c736188317c75eeb1ce5662d57bd /kaddressbook
parentd29a9ff5829fa930c466b98cb93a4cbdd24b1fa2 (diff)
downloadtdepim-32b66c9ae78f439199a6d281cc33218e57c5106d.tar.gz
tdepim-32b66c9ae78f439199a6d281cc33218e57c5106d.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kaddressbook')
-rw-r--r--kaddressbook/kabcore.cpp2
-rw-r--r--kaddressbook/main.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 906c641ce..43f5e5bcd 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 3c57e61d2..0ff8da8c2 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() )