aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/GuiClient/main.cpp')
-rw-r--r--examples/GuiClient/main.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/GuiClient/main.cpp b/examples/GuiClient/main.cpp
new file mode 100644
index 00000000..23730e9c
--- /dev/null
+++ b/examples/GuiClient/main.cpp
@@ -0,0 +1,20 @@
+#include <QtGui/QApplication>
+#include <QDir>
+#include "chatDialog.h"
+#include "chatGraphicsView.h"
+#include "chatGraphicsScene.h"
+#include "mainDialog.h"
+#include "statusTextWidget.h"
+#include "utils.h"
+
+int main(int argc, char *argv[])
+{
+ QDir dir;
+ if(!dir.exists(getSettingsDir()))
+ dir.mkpath(getSettingsDir());
+
+ QApplication a(argc, argv);
+ mainDialog cw;
+ cw.show();
+ return a.exec();
+}