diff options
Diffstat (limited to 'examples/GuiClient/main.cpp')
| -rw-r--r-- | examples/GuiClient/main.cpp | 20 |
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();
+}
|
