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.cpp46
1 files changed, 0 insertions, 46 deletions
diff --git a/examples/GuiClient/main.cpp b/examples/GuiClient/main.cpp
deleted file mode 100644
index a87eb6bb..00000000
--- a/examples/GuiClient/main.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2008-2014 The QXmpp developers
- *
- * Author:
- * Manjeet Dahiya
- *
- * Source:
- * https://github.com/qxmpp-project/qxmpp
- *
- * This file is a part of QXmpp library.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- */
-
-
-#include <QApplication>
-#include <QDir>
-
-#include "mainDialog.h"
-#include "utils.h"
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
-
- QApplication::setOrganizationName("QXmpp");
- QApplication::setApplicationName("GuiClient");
-
- QDir dir;
- if(!dir.exists(getSettingsDir()))
- dir.mkpath(getSettingsDir());
-
- mainDialog cw;
- cw.show();
- cw.raise();
- return a.exec();
-}