You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.3 KiB
49 lines
1.3 KiB
// KDE includes
|
|
|
|
#include <kcmdlineargs.h>
|
|
#include <kaboutdata.h>
|
|
#include <kuniqueapplication.h>
|
|
|
|
#include "app.h"
|
|
|
|
static KCmdLineOptions options[] =
|
|
{
|
|
{ "+command", I18N_NOOP("Command"), 0 },
|
|
KCmdLineLastOption
|
|
};
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
KLocale::setMainCatalogue("adept");
|
|
|
|
TQString description = i18n("Adept Batch");
|
|
|
|
KAboutData aboutData( "adept_batch",
|
|
I18N_NOOP("Adept Batch"),
|
|
"2.1 Cruiser",
|
|
description.latin1(),
|
|
KAboutData::License_BSD,
|
|
I18N_NOOP("(c) 2006 Peter Rockai"),
|
|
0,
|
|
"http://web.mornfall.net/adept.html");
|
|
|
|
aboutData.addAuthor ( "Peter Rockai",
|
|
I18N_NOOP("developer"),
|
|
"me at mornfall dot net",
|
|
"http://web.mornfall.net");
|
|
|
|
KCmdLineArgs::init( argc, argv, &aboutData );
|
|
KCmdLineArgs::addCmdLineOptions( options );
|
|
|
|
KApplication app;
|
|
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
|
|
KGlobal::locale()->insertCatalogue(TQString::fromUtf8("libept"));
|
|
|
|
App *ta = new App( args );
|
|
|
|
app.setMainWidget( ta );
|
|
ta->show();
|
|
|
|
return app.exec();
|
|
}
|