summaryrefslogtreecommitdiffstats
path: root/kabc/frontend/main.cpp
blob: 797c9198ae02feb14916e342d15b0f03cf056203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
  return app.exec();
}