Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent 2362ae7764
commit 634845c7a2

@ -22,7 +22,7 @@ int main(int argc, char *argv[])
about.addAuthor("Albert Astals Cid", I18N_NOOP("Coding"), "tsdgeos@terra.es"); about.addAuthor("Albert Astals Cid", I18N_NOOP("Coding"), "tsdgeos@terra.es");
about.addAuthor("Danny Allen", I18N_NOOP("Design, Graphics and Sounds"), "danny@dannyallen.co.uk"); about.addAuthor("Danny Allen", I18N_NOOP("Design, Graphics and Sounds"), "danny@dannyallen.co.uk");
about.addCredit("Steve Jordi", I18N_NOOP("GPL'ed his 'Steve' font so that we could use it"), "steve@sjordi.com"); about.addCredit("Steve Jordi", I18N_NOOP("GPL'ed his 'Steve' font so that we could use it"), "steve@sjordi.com");
KCmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KApplication app; KApplication app;
app.connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit())); app.connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit()));

@ -65,8 +65,8 @@ int main(int argc, char **argv)
about.addCredit( "Brian Beck", I18N_NOOP( "The orbits-icon" )); about.addCredit( "Brian Beck", I18N_NOOP( "The orbits-icon" ));
about.addCredit( "Lee Olson", I18N_NOOP( "Several icons in the information dialog" )); about.addCredit( "Lee Olson", I18N_NOOP( "Several icons in the information dialog" ));
about.addCredit( "Inge Wallin", I18N_NOOP( "Code cleaning, the molecule parser and a lot of smaller improvements" )); about.addCredit( "Inge Wallin", I18N_NOOP( "Code cleaning, the molecule parser and a lot of smaller improvements" ));
KCmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
Kalzium *mainWin = 0; Kalzium *mainWin = 0;
@ -77,7 +77,7 @@ int main(int argc, char **argv)
else else
{ {
// no session.. just start up normally // no session.. just start up normally
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
/// @todo do something with the command line args here /// @todo do something with the command line args here

@ -33,7 +33,7 @@ int main(int argc, char *argv[])
about.addAuthor("Joshua Keel", I18N_NOOP("Coding"), "joshuakeel@gmail.com"); about.addAuthor("Joshua Keel", I18N_NOOP("Coding"), "joshuakeel@gmail.com");
about.addAuthor("Danny Allen", I18N_NOOP("Design, Graphics and many Vocabularies"), "danny@dannyallen.co.uk"); about.addAuthor("Danny Allen", I18N_NOOP("Design, Graphics and many Vocabularies"), "danny@dannyallen.co.uk");
about.addCredit("Artemiy Pavlov", I18N_NOOP("Sound effects"), 0, "http://artemiolabs.com"); about.addCredit("Artemiy Pavlov", I18N_NOOP("Sound effects"), 0, "http://artemiolabs.com");
KCmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KApplication app; KApplication app;
app.connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit())); app.connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit()));

@ -44,7 +44,7 @@ int main(int argc, char * argv[])
"(c) 2002-2005, Sebastian Stein", 0, "http://edu.kde.org/kbruch/", "(c) 2002-2005, Sebastian Stein", 0, "http://edu.kde.org/kbruch/",
"seb.kde@hpfsc.de"); "seb.kde@hpfsc.de");
aboutData.addAuthor("Sebastian Stein",0, "seb.kde@hpfsc.de"); aboutData.addAuthor("Sebastian Stein",0, "seb.kde@hpfsc.de");
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication kbruch; KApplication kbruch;

@ -43,11 +43,11 @@ int main(int argc, char *argv[])
aboutData.addCredit("Nenad Grujicic", I18N_NOOP("Icons"), "mengele@linuxo.org"); aboutData.addCredit("Nenad Grujicic", I18N_NOOP("Icons"), "mengele@linuxo.org");
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication a; KApplication a;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// start as KEduca TestMaster // start as KEduca TestMaster
Keduca *keducaTestMaster = new Keduca(); Keduca *keducaTestMaster = new Keduca();

@ -41,11 +41,11 @@ int main(int argc, char *argv[])
aboutData.addAuthor("Klas Kalass",I18N_NOOP("Maintainer 2002-2004"), "klas@kde.org"); aboutData.addAuthor("Klas Kalass",I18N_NOOP("Maintainer 2002-2004"), "klas@kde.org");
aboutData.addAuthor("Anne-Marie Mahfouf",I18N_NOOP("Various fixes and cleanups"), "annma@kde.org"); aboutData.addAuthor("Anne-Marie Mahfouf",I18N_NOOP("Various fixes and cleanups"), "annma@kde.org");
aboutData.addCredit("Nenad Grujicic", I18N_NOOP("Icons"), "mengele@linuxo.org"); aboutData.addCredit("Nenad Grujicic", I18N_NOOP("Icons"), "mengele@linuxo.org");
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication a; KApplication a;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// start as KEduca Builder // start as KEduca Builder
KEducaBuilder *keducaEditor = new KEducaBuilder(); KEducaBuilder *keducaEditor = new KEducaBuilder();

@ -28,7 +28,7 @@ int main(int argc, char *argv[])
about.addCredit("Maurizio Paolini", I18N_NOOP("Map contributor")); about.addCredit("Maurizio Paolini", I18N_NOOP("Map contributor"));
about.addCredit("Yann Verley", I18N_NOOP("Contributed some maps and map generation tools"), "yann.verley@free.fr"); about.addCredit("Yann Verley", I18N_NOOP("Contributed some maps and map generation tools"), "yann.verley@free.fr");
about.addCredit(I18N_NOOP("Sodipodi flags collection"), I18N_NOOP("Got some flags from it"), 0, "http://www.sodipodi.com/index.php3?section=clipart/flags"); about.addCredit(I18N_NOOP("Sodipodi flags collection"), I18N_NOOP("Got some flags from it"), 0, "http://www.sodipodi.com/index.php3?section=clipart/flags");
KCmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KApplication app; KApplication app;
app.setTopWidget(new kgeography()); app.setTopWidget(new kgeography());

@ -110,8 +110,8 @@ int main(int argc, char **argv)
I18N_NOOP("Code for generating icons for the characters toolbar"), "peter.hedlund@kdemail.net"); I18N_NOOP("Code for generating icons for the characters toolbar"), "peter.hedlund@kdemail.net");
aboutData.addCredit("Inge Wallin", aboutData.addCredit("Inge Wallin",
I18N_NOOP("Code cleaning"), "inge@lysator.liu.se"); I18N_NOOP("Code cleaning"), "inge@lysator.liu.se");
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
KHangMan *mainWin = 0; KHangMan *mainWin = 0;
@ -138,7 +138,7 @@ int main(int argc, char **argv)
else else
{ {
// no session.. just start up normally // no session.. just start up normally
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
/// @todo do something with the command line args here /// @todo do something with the command line args here

@ -45,7 +45,7 @@ class KigApplication
public: public:
KigApplication( bool gui = true ); KigApplication( bool gui = true );
int newInstance(); int newInstance();
void handleArgs( KCmdLineArgs* args ); void handleArgs( TDECmdLineArgs* args );
}; };
KigApplication::KigApplication( bool gui ) KigApplication::KigApplication( bool gui )
@ -63,13 +63,13 @@ int KigApplication::newInstance()
} }
first = false; first = false;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
handleArgs(args); handleArgs(args);
args->clear(); args->clear();
return 0; return 0;
} }
void KigApplication::handleArgs( KCmdLineArgs* args ) void KigApplication::handleArgs( TDECmdLineArgs* args )
{ {
if ( args->count() == 0 ) if ( args->count() == 0 )
{ {
@ -105,11 +105,11 @@ int main(int argc, char **argv)
{ {
KAboutData *about = kigAboutData( "kig", I18N_NOOP("Kig") ); KAboutData *about = kigAboutData( "kig", I18N_NOOP("Kig") );
KCmdLineArgs::init(argc, argv, about); TDECmdLineArgs::init(argc, argv, about);
KCmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KigApplication::addCmdLineOptions(); KigApplication::addCmdLineOptions();
KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
if ( args->isSet( "convert-to-native" ) ) if ( args->isSet( "convert-to-native" ) )
{ {
TQCString outfile = args->getOption( "outfile" ); TQCString outfile = args->getOption( "outfile" );

@ -49,8 +49,8 @@ int main(int argc, char *argv[])
aboutData.addAuthor("Neil Stevens", I18N_NOOP("Code simplification, UI suggestions."), "neil@qualityassistant.com"); aboutData.addAuthor("Neil Stevens", I18N_NOOP("Code simplification, UI suggestions."), "neil@qualityassistant.com");
aboutData.addCredit("David Vignoni", I18N_NOOP("svg icon"), "david80v@tin.it"); aboutData.addCredit("David Vignoni", I18N_NOOP("svg icon"), "david80v@tin.it");
aboutData.addCredit("Paul Temple", I18N_NOOP("Porting to KConfig XT, bug fixing"), "paul.temple@gmx.net"); aboutData.addCredit("Paul Temple", I18N_NOOP("Porting to KConfig XT, bug fixing"), "paul.temple@gmx.net");
KCmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions(options); // Add our own options. TDECmdLineArgs::addCmdLineOptions(options); // Add our own options.
KApplication a; KApplication a;
// a.installKDEPropertyMap(); // a.installKDEPropertyMap();

@ -44,8 +44,8 @@ int main(int argc, char *argv[])
aboutData.addCredit("Pino Toscano",I18N_NOOP("Bug fixes and code improvement, Italian Vocabulary Data Translation"), "toscano.pino@tiscali.it"); aboutData.addCredit("Pino Toscano",I18N_NOOP("Bug fixes and code improvement, Italian Vocabulary Data Translation"), "toscano.pino@tiscali.it");
aboutData.addCredit("Mikolaj Machowski",I18N_NOOP("Polish Vocabulary Data Translation"), "mikmach@wp.pl"); aboutData.addCredit("Mikolaj Machowski",I18N_NOOP("Polish Vocabulary Data Translation"), "mikmach@wp.pl");
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication a; KApplication a;

@ -90,8 +90,8 @@ int main(int argc, char **argv)
I18N_NOOP("Kids and grown-up SVG icons"), "danny AT dannyallen.co.uk"); I18N_NOOP("Kids and grown-up SVG icons"), "danny AT dannyallen.co.uk");
about.addCredit("Michael Goettsche", about.addCredit("Michael Goettsche",
I18N_NOOP("Timer setting widgets"), "michael.goettsche AT kdemail.net"); I18N_NOOP("Timer setting widgets"), "michael.goettsche AT kdemail.net");
KCmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions(options); TDECmdLineArgs::addCmdLineOptions(options);
KApplication app; KApplication app;
// see if we are starting with session management // see if we are starting with session management
@ -100,7 +100,7 @@ int main(int argc, char **argv)
else else
{ {
// no session.. just start up normally // no session.. just start up normally
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count() == 0) if (args->count() == 0)
{ {
KLettres *widget = new KLettres; KLettres *widget = new KLettres;

@ -40,7 +40,7 @@
#include "MainDlg.h" #include "MainDlg.h"
#include "kmplotprogress.h" #include "kmplotprogress.h"
KmPlot::KmPlot( KCmdLineArgs* args) KmPlot::KmPlot( TDECmdLineArgs* args)
: DCOPObject( "KmPlotShell" ), KParts::MainWindow( 0L, "KmPlot" ) : DCOPObject( "KmPlotShell" ), KParts::MainWindow( 0L, "KmPlot" )
{ {
// set the shell's ui resource file // set the shell's ui resource file

@ -54,7 +54,7 @@ public:
/** /**
* Default Constructor * Default Constructor
*/ */
KmPlot( KCmdLineArgs* args); KmPlot( TDECmdLineArgs* args);
/** /**
* Default Destructor * Default Destructor

@ -69,11 +69,11 @@ int main( int argc, char **argv )
aboutData.addCredit( "David Vignoni", I18N_NOOP( "svg icon" ), "david80v@tin.it" ); aboutData.addCredit( "David Vignoni", I18N_NOOP( "svg icon" ), "david80v@tin.it" );
aboutData.addCredit( "Albert Astals Cid", I18N_NOOP( "command line options, MIME type" ), "tsdgeos@terra.es" ); aboutData.addCredit( "Albert Astals Cid", I18N_NOOP( "command line options, MIME type" ), "tsdgeos@terra.es" );
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication ka; KApplication ka;
KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
KmPlot *w = new KmPlot( args ); KmPlot *w = new KmPlot( args );
w->show(); w->show();
ka.setMainWidget( w ); ka.setMainWidget( w );

@ -54,8 +54,8 @@ int main( int argc, char *argv[] )
aboutData.addCredit( "Primoz Anzur", I18N_NOOP( "Cleaning and bugfixing code" ), "zerokode@gmx.net" ); aboutData.addCredit( "Primoz Anzur", I18N_NOOP( "Cleaning and bugfixing code" ), "zerokode@gmx.net" );
aboutData.addCredit("David Vignoni", I18N_NOOP("SVG icon"), "david80v@tin.it"); aboutData.addCredit("David Vignoni", I18N_NOOP("SVG icon"), "david80v@tin.it");
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication a; KApplication a;
KPercentage *kpercentage = new KPercentage( "kpercentage" ); KPercentage *kpercentage = new KPercentage( "kpercentage" );

@ -61,9 +61,9 @@ int main(int argc, char *argv[])
aboutData.addAuthor("Jasem Mutlaq", 0, "mutlaqja@ikarustech.com", 0 ); aboutData.addAuthor("Jasem Mutlaq", 0, "mutlaqja@ikarustech.com", 0 );
aboutData.addAuthor("Carsten Niehaus", 0, "cniehaus@gmx.de", 0); aboutData.addAuthor("Carsten Niehaus", 0, "cniehaus@gmx.de", 0);
aboutData.addAuthor("Mark Hollomon", 0, "mhh@mindspring.com", 0); aboutData.addAuthor("Mark Hollomon", 0, "mhh@mindspring.com", 0);
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
KApplication a; KApplication a;

@ -42,8 +42,8 @@ int main(int argc, char **argv)
about.addCredit( "David Vignoni", I18N_NOOP("Creator of the SVG icon"), "david80v@tin.it"); about.addCredit( "David Vignoni", I18N_NOOP("Creator of the SVG icon"), "david80v@tin.it");
about.addCredit( "Anne-Marie Mahfouf", I18N_NOOP("Lots of patches, fixes, updates"), "annma@kde.org"); about.addCredit( "Anne-Marie Mahfouf", I18N_NOOP("Lots of patches, fixes, updates"), "annma@kde.org");
about.addCredit( "All the creators of training and keyboard files", 0, 0); about.addCredit( "All the creators of training and keyboard files", 0, 0);
KCmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
KTouch *mainWin = 0; KTouch *mainWin = 0;
@ -53,7 +53,7 @@ int main(int argc, char **argv)
else else
{ {
// no session.. just start up normally // no session.. just start up normally
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// TODO: check the command line for a training file and set this as the new to open training file // TODO: check the command line for a training file and set this as the new to open training file
/* TODO: turn splash screen on in release /* TODO: turn splash screen on in release

@ -87,8 +87,8 @@ int main(int argc, char **argv)
about.addCredit("Albert Astals Cid", about.addCredit("Albert Astals Cid",
I18N_NOOP("Parser Cyrillic support"), I18N_NOOP("Parser Cyrillic support"),
"astals11 # terra.es"); "astals11 # terra.es");
KCmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
MainWindow *mainwindow = 0; MainWindow *mainwindow = 0;
@ -99,7 +99,7 @@ int main(int argc, char **argv)
else else
{ {
// no session... just start up normally // no session... just start up normally
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
/// @todo do something with the command line args here /// @todo do something with the command line args here

@ -40,8 +40,8 @@ int main(int argc, char *argv[])
"(c) 2001, Arnold Kraschinski", 0, 0, "arnold.k67@gmx.de"); "(c) 2001, Arnold Kraschinski", 0, 0, "arnold.k67@gmx.de");
aboutData.addAuthor("Arnold Kraschinski",0, "arnold.k67@gmx.de"); aboutData.addAuthor("Arnold Kraschinski",0, "arnold.k67@gmx.de");
aboutData.addCredit("David Vignoni", I18N_NOOP("svg icon"), "david80v@tin.it"); aboutData.addCredit("David Vignoni", I18N_NOOP("svg icon"), "david80v@tin.it");
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app; KApplication app;
@ -54,7 +54,7 @@ int main(int argc, char *argv[])
KVerbosApp *kverbos = new KVerbosApp(); KVerbosApp *kverbos = new KVerbosApp();
kverbos->show(); kverbos->show();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count()) if (args->count())
{ {

@ -92,8 +92,8 @@ static const char version[] = KVOCTRAIN_VERSION_STRING;
aboutData.addCredit(I18N_NOOP("KDE Team"), aboutData.addCredit(I18N_NOOP("KDE Team"),
I18N_NOOP("Many small enhancements")); I18N_NOOP("Many small enhancements"));
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
kvoctrainApp *kva = 0; kvoctrainApp *kva = 0;
@ -108,7 +108,7 @@ static const char version[] = KVOCTRAIN_VERSION_STRING;
} }
else else
{ {
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
kva = new kvoctrainApp; kva = new kvoctrainApp;
if ( args && args->count() == 1 ) if ( args && args->count() == 1 )

@ -48,8 +48,8 @@ int main(int argc, char *argv[])
aboutData.addAuthor("Peter Hedlund", 0, "peter.hedlund@kdemail.net"); aboutData.addAuthor("Peter Hedlund", 0, "peter.hedlund@kdemail.net");
aboutData.addCredit("Anne-Marie Mahfouf", I18N_NOOP("KDE Edutainment Maintainer"), "annma@kde.org", 0); aboutData.addCredit("Anne-Marie Mahfouf", I18N_NOOP("KDE Edutainment Maintainer"), "annma@kde.org", 0);
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app; KApplication app;
@ -62,7 +62,7 @@ int main(int argc, char *argv[])
KWordQuizApp *kwordquiz = new KWordQuizApp(); KWordQuizApp *kwordquiz = new KWordQuizApp();
kwordquiz->show(); kwordquiz->show();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count()) if (args->count())
{ {

@ -20,7 +20,7 @@ int main( int argc, char *argv[] )
aboutData.addAuthor("Jason Harris", 0, aboutData.addAuthor("Jason Harris", 0,
"jharris@30doradus.org", "http://www.30doradus.org"); "jharris@30doradus.org", "http://www.30doradus.org");
KCmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication a; KApplication a;
TestWidget *t = new TestWidget(0,0); TestWidget *t = new TestWidget(0,0);

Loading…
Cancel
Save