From da88f5f0bb5e73bc69bf7ed3962691622b1ae4f9 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Wed, 8 Sep 2010 09:23:18 +0000 Subject: add Gui Client example --- examples/GuiClient/main.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 examples/GuiClient/main.cpp (limited to 'examples/GuiClient/main.cpp') 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 +#include +#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(); +} -- cgit v1.2.3