diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator/main.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-calculator/main.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/main.cpp b/src-qt5/desktop-utils/lumina-calculator/main.cpp new file mode 100644 index 00000000..222ee8b4 --- /dev/null +++ b/src-qt5/desktop-utils/lumina-calculator/main.cpp @@ -0,0 +1,26 @@ +//=========================================== +// Lumina Desktop source code +// Copyright (c) 2016, Ken Moore +// Available under the 3-clause BSD license +// See the LICENSE file for full details +//=========================================== +#include <QApplication> +#include <QDebug> + +#include <LuminaThemes.h> +#include <LUtils.h> + +#include "mainUI.h" + +int main(int argc, char *argv[]) { + LTHEME::LoadCustomEnvSettings(); + QApplication a(argc, argv); + LUtils::LoadTranslation(&a, "l-calc"); + //Now go ahead and setup the app + //LuminaThemeEngine theme(&a); + //Now start the window + mainUI W; + //QObject::connect(&theme, SIGNAL(updateIcons()), &W, SLOT(updateIcons()) ); + W.show(); + return a.exec(); +} |