summaryrefslogtreecommitdiffstats
path: root/tdeabc/frontend/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc/frontend/main.cpp')
-rw-r--r--tdeabc/frontend/main.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/tdeabc/frontend/main.cpp b/tdeabc/frontend/main.cpp
new file mode 100644
index 000000000..0e941e017
--- /dev/null
+++ b/tdeabc/frontend/main.cpp
@@ -0,0 +1,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, TQT_SIGNAL( lastWindowClosed() ), &app, TQT_SLOT( quit() ) );
+ return app.exec();
+}