diff options
author | daniel-Jones <daniel@danieljon.es> | 2017-06-04 16:26:56 +0930 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2017-06-04 16:26:56 +0930 |
commit | f66536d84b38aa0eb46e928fdaf13d7da790b2ee (patch) | |
tree | ba2624354136f3f0db3ec929d1eea15635527ba1 /qt/ircbot/main.cpp | |
parent | 2ce2f6376152402c3fc0d750720770b963a7d3cf (diff) | |
download | RGB-Controller-f66536d84b38aa0eb46e928fdaf13d7da790b2ee.tar.gz RGB-Controller-f66536d84b38aa0eb46e928fdaf13d7da790b2ee.zip |
added HTML/JS/PHP pages/scripts to allow RGB changes over a web page. Integrated a server into the application to allow incoming connections and receive commands
Diffstat (limited to 'qt/ircbot/main.cpp')
-rw-r--r-- | qt/ircbot/main.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qt/ircbot/main.cpp b/qt/ircbot/main.cpp new file mode 100644 index 0000000..7022866 --- /dev/null +++ b/qt/ircbot/main.cpp @@ -0,0 +1,13 @@ +#include <QCoreApplication> +#include <QObject> +#include <QTimer> +#include <qtbot.h> + +int main(int argc, char *argv[]) +{ + QCoreApplication a(argc, argv); + QtBot qtbot; + QObject::connect(&qtbot, SIGNAL(done()), &a, SLOT(quit()), Qt::QueuedConnection); + QTimer::singleShot(0, &qtbot, SLOT(setup())); + return a.exec(); +} |