aboutsummaryrefslogtreecommitdiff
path: root/lumina-info/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-info/main.cpp')
-rw-r--r--lumina-info/main.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/lumina-info/main.cpp b/lumina-info/main.cpp
new file mode 100644
index 00000000..3997eb21
--- /dev/null
+++ b/lumina-info/main.cpp
@@ -0,0 +1,27 @@
+#include <QApplication>
+#include <QDebug>
+#include <QFile>
+#include <QStringList>
+
+#include "MainUI.h"
+#include <LuminaOS.h>
+#include <LuminaThemes.h>
+#include <LuminaUtils.h>
+#include <LuminaSingleApplication.h>
+
+int main(int argc, char ** argv)
+{
+
+ LSingleApplication a(argc, argv, "lumina-info"); //loads translations inside constructor
+ if( !a.isPrimaryProcess()){ return 0; }
+ a.setApplicationName("About Lumina-DE");
+ LuminaThemeEngine themes(&a);
+
+ //Start the UI
+ MainUI w;
+ QObject::connect(&a, SIGNAL(InputsAvailable(QStringList)), &w, SLOT(slotSingleInstance()) );
+ w.show();
+
+ int retCode = a.exec();
+ return retCode;
+}
bgstack15