From 7c140ea1cb70b8a6ecb34454514dcf91d7bcd0c7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:41 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- kttsd/filters/main.cpp | 6 +++--- kttsd/kttsd/main.cpp | 4 ++-- kttsd/kttsmgr/kttsmgr.cpp | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kttsd') diff --git a/kttsd/filters/main.cpp b/kttsd/filters/main.cpp index f33d771..35cdb31 100644 --- a/kttsd/filters/main.cpp +++ b/kttsd/filters/main.cpp @@ -65,13 +65,13 @@ int main(int argc, char *argv[]) KAboutData::License_GPL, "(C) 2005, Gary Cramblitt "); aboutdata.addAuthor("Gary Cramblitt", I18N_NOOP("Maintainer"),"garycramblitt@comcast.net"); - KCmdLineArgs::init( argc, argv, &aboutdata ); + TDECmdLineArgs::init( argc, argv, &aboutdata ); // Tell which options are supported - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app( false, false ); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); KTrader::OfferList offers = KTrader::self()->query("KTTSD/FilterPlugin"); diff --git a/kttsd/kttsd/main.cpp b/kttsd/kttsd/main.cpp index 3c47df4..1a5bb7e 100644 --- a/kttsd/kttsd/main.cpp +++ b/kttsd/kttsd/main.cpp @@ -44,8 +44,8 @@ int main (int argc, char *argv[]){ aboutdata.addCredit("Jorge Luis Arzola", I18N_NOOP("Testing"), "arzolacub@hotmail.com"); aboutdata.addCredit("David Powell", I18N_NOOP("Testing"), "achiestdragon@gmail.com"); - KCmdLineArgs::init( argc, argv, &aboutdata ); - // KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init( argc, argv, &aboutdata ); + // TDECmdLineArgs::addCmdLineOptions( options ); KUniqueApplication::addCmdLineOptions(); if(!KUniqueApplication::start()){ diff --git a/kttsd/kttsmgr/kttsmgr.cpp b/kttsd/kttsmgr/kttsmgr.cpp index 862a3db..e4ceb7c 100644 --- a/kttsd/kttsmgr/kttsmgr.cpp +++ b/kttsd/kttsmgr/kttsmgr.cpp @@ -66,9 +66,9 @@ int main (int argc, char *argv[]) aboutdata.addAuthor("Paul Giannaros", I18N_NOOP("Contributor"), "ceruleanblaze@gmail.com"); aboutdata.addCredit("Jorge Luis Arzola", I18N_NOOP("Testing"), "arzolacub@hotmail.com"); aboutdata.addCredit("David Powell", I18N_NOOP("Testing"), "achiestdragon@gmail.com"); - KCmdLineArgs::init( argc, argv, &aboutdata ); + TDECmdLineArgs::init( argc, argv, &aboutdata ); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::addCmdLineOptions( options ); KUniqueApplication::addCmdLineOptions(); @@ -102,7 +102,7 @@ int main (int argc, char *argv[]) showMainWindowOnStartup = config->readBoolEntry("ShowMainWindowOnStartup", true); // If --systray option specified, start minimized in system tray. - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->isSet("systray")) { embedInSysTray = true; @@ -192,7 +192,7 @@ KttsMgrTray::KttsMgrTray(TQWidget *parent): connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(quitSelected())); // If --autoexit option given, exit when speaking stops. - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->isSet("autoexit")) { connectDCOPSignal("kttsd", "KSpeech", -- cgit v1.2.3