summaryrefslogtreecommitdiffstats
path: root/tdeabc/frontend/main.cpp
blob: 706d94e7b71c3dcd90b30fc925e9c0880ab2fc36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <tdeaboutdata.h>
#include <tdeapplication.h>
#include <kdebug.h>
#include <tdelocale.h>
#include <tdecmdlineargs.h>

#include "mainWindow.h"

int main( int argc, char ** argv )
{
  TDEAboutData aboutData("testkabc",I18N_NOOP("TestKabc"),"0.1");
  TDECmdLineArgs::init(argc,argv,&aboutData);

  TDEApplication app;

  MainWindow *w = new MainWindow;
  w->show();
  app.connect( &app, TQ_SIGNAL( lastWindowClosed() ), &app, TQ_SLOT( quit() ) );
  return app.exec();
}