Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 869edbbd8e
commit de2e00ccad

@ -335,13 +335,13 @@ XrmDatabase db;
int main(int argc, char *argv[])
{
KCmdLineArgs::init(argc, argv, appName, I18N_NOOP("KXSConfig"), description, version);
TDECmdLineArgs::init(argc, argv, appName, I18N_NOOP("KXSConfig"), description, version);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if(args->count()==0)
exit(1);

@ -60,13 +60,13 @@ static const KCmdLineOptions options[] =
int main(int argc, char *argv[])
{
KLocale::setMainCatalogue("kxsconfig");
KCmdLineArgs::init(argc, argv, appName, I18N_NOOP("KXSRun"), description, version);
TDECmdLineArgs::init(argc, argv, appName, I18N_NOOP("KXSRun"), description, version);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::addCmdLineOptions(options);
KApplication app( false, false );
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( !args->count() )
exit( 1 );

@ -49,9 +49,9 @@ static void crashHandler( int /*sig*/ )
int main(int argc, char *argv[])
{
KCmdLineArgs::init(argc, argv, appName, I18N_NOOP("KLock"), description, version);
TDECmdLineArgs::init(argc, argv, appName, I18N_NOOP("KLock"), description, version);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
@ -60,7 +60,7 @@ int main(int argc, char *argv[])
DemoWindow *demoWidget = 0;
Window saveWin = 0;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->isSet("setup"))
{

Loading…
Cancel
Save