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.
|
|
|
#include <kaboutdata.h>
|
|
|
|
#include <kapplication.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <klocale.h>
|
|
|
|
#include <kcmdlineargs.h>
|
|
|
|
|
|
|
|
#include "mainWindow.h"
|
|
|
|
|
|
|
|
int main( int argc, char ** argv )
|
|
|
|
{
|
|
|
|
KAboutData aboutData("testkabc",I18N_NOOP("TestKabc"),"0.1");
|
|
|
|
KCmdLineArgs::init(argc,argv,&aboutData);
|
|
|
|
|
|
|
|
KApplication app;
|
|
|
|
|
|
|
|
MainWindow *w = new MainWindow;
|
|
|
|
w->show();
|
|
|
|
app.connect( &app, TQT_SIGNAL( lastWindowClosed() ), &app, TQT_SLOT( quit() ) );
|
|
|
|
return app.exec();
|
|
|
|
}
|