aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-calculator/main.cpp
blob: da57763acb95923d0a7c1e0395d3feabc9e4cdaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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();
}
bgstack15