summaryrefslogtreecommitdiffstats
path: root/kttsd
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:41 -0600
commit7c140ea1cb70b8a6ecb34454514dcf91d7bcd0c7 (patch)
tree89a8149f783b247fc1f2b1508b5a3840f913ecde /kttsd
parent94d34ce494ae248bfcfc3f4dfd194e6df2fb33dc (diff)
downloadtdeaccessibility-7c140ea1cb70b8a6ecb34454514dcf91d7bcd0c7.tar.gz
tdeaccessibility-7c140ea1cb70b8a6ecb34454514dcf91d7bcd0c7.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kttsd')
-rw-r--r--kttsd/filters/main.cpp6
-rw-r--r--kttsd/kttsd/main.cpp4
-rw-r--r--kttsd/kttsmgr/kttsmgr.cpp8
3 files changed, 9 insertions, 9 deletions
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 <garycramblitt@comcast.net>");
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",