aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-08-15 16:06:00 +0200
committerAdrian Kummerlaender2015-08-15 16:06:00 +0200
commitd8431223d34476a17835a05d9508e92447f22479 (patch)
tree91b42009fc464be238f9afab569f62cfdf355179 /main.cpp
parent566e635cd798ef558f4d57fc319f0ee857869378 (diff)
downloadMetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar
MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.gz
MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.bz2
MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.lz
MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.xz
MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.zst
MetaTerm-d8431223d34476a17835a05d9508e92447f22479.zip
Restructure QML and JS sources
`list` holds the components of the central list UI element. `command` holds the UI and implementation parts of the command mode. `widget` holds more or less general purpose elements that may also be of use in other circumstances.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/main.cpp b/main.cpp
deleted file mode 100644
index 617b43a..0000000
--- a/main.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <QApplication>
-#include <QQmlApplicationEngine>
-
-int main(int argc, char *argv[]) {
- QApplication application(argc, argv);
- application.setOrganizationName("akr");
- application.setApplicationName("MetaTerm");
-
- QQmlApplicationEngine engine(QUrl(QStringLiteral("qrc:/main.qml")));
-
- QObject::connect(
- static_cast<QObject*>(&engine),
- SIGNAL(quit()),
- static_cast<QObject*>(&application),
- SLOT(quit())
- );
-
- return application.exec();
-}