Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 94d34ce494
commit 7c140ea1cb

@ -59,8 +59,8 @@ int main(int argc, char *argv[])
aboutData->addCredit("Claudiu Costin", I18N_NOOP("Some tips"), "claudiuc@work.ro",
"http://www.ro.kde.org");
KCmdLineArgs::init( argc, argv, aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs::init( argc, argv, aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
@ -72,7 +72,7 @@ int main(int argc, char *argv[])
{
kmagapp = new KmagApp();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
args->clear();
}

@ -50,8 +50,8 @@ int main(int argc, char *argv[])
aboutData.addAuthor("Jeff Roush", I18N_NOOP("Original author"), "jeff@mousetool.com", "http://www.mousetool.com");
aboutData.addCredit("Joe Betts");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KUniqueApplication::addCmdLineOptions();
if (!KUniqueApplication::start()) {

@ -43,8 +43,8 @@ int main(int argc, char *argv[])
KMOUTH_VERSION, description, KAboutData::License_GPL,
"(c) 2002/2003, Gunnar Schmi Dt", 0, "http://www.schmi-dt.de/kmouth/index.en.html", "kmouth@schmi-dt.de");
aboutData.addAuthor("Gunnar Schmi Dt",0, "kmouth@schmi-dt.de");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
aboutData.addCredit("Olaf Schmidt", I18N_NOOP("Tips, extended phrase books"), 0, 0);
KApplication app;
@ -61,7 +61,7 @@ int main(int argc, char *argv[])
kmouth->show();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count())
{

@ -44,7 +44,7 @@ int main(int argc, char *argv[])
KSAYIT_VERSION, description, KAboutData::License_GPL,
"(c) 1996 - 2005, Robert Vogl", 0, 0, "voglrobe@web.de");
aboutData.addAuthor("Robert Vogl",0, "voglrobe@web.de");
KCmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;

@ -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");

@ -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()){

@ -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",

Loading…
Cancel
Save