Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 927 Bytes

main.cpp

File metadata and controls

33 lines (27 loc) · 927 Bytes
 
Oct 8, 2012
Oct 8, 2012
1
2
3
4
5
6
7
8
9
10
11
/**
* @file main.cpp
* @copyright 2012 Jolla Ltd.
* @author Bernd Wachter <bernd.wachter@jollamobile.com>
* @date 2012
*/
#include <QCoreApplication>
#include <QTranslator>
#include <QLocale>
#include <QLibraryInfo>
Apr 4, 2013
Apr 4, 2013
12
#include <QTimer>
Nov 7, 2013
Nov 7, 2013
13
#include <connman-qt5/connmannetworkproxyfactory.h>
Oct 8, 2012
Oct 8, 2012
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "rndssucli.h"
int main(int argc, char** argv){
QCoreApplication app(argc, argv);
QCoreApplication::setOrganizationName("Jolla");
QCoreApplication::setOrganizationDomain("http://www.jollamobile.com");
QCoreApplication::setApplicationName("rndssu");
QTranslator qtTranslator;
qtTranslator.load("qt_" + QLocale::system().name(),
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
app.installTranslator(&qtTranslator);
Nov 7, 2013
Nov 7, 2013
27
QNetworkProxyFactory::setApplicationProxyFactory(new ConnmanNetworkProxyFactory);
Aug 26, 2013
Aug 26, 2013
28
Oct 8, 2012
Oct 8, 2012
29
30
31
32
33
RndSsuCli mw;
QTimer::singleShot(0, &mw, SLOT(run()));
return app.exec();
}