QTfrontend/main.cpp
changeset 1416 60b86d6fe9ae
parent 1415 6fbfee0e113a
child 1418 69df8f2a7cba
equal deleted inserted replaced
1415:6fbfee0e113a 1416:60b86d6fe9ae
    18 
    18 
    19 #include <QApplication>
    19 #include <QApplication>
    20 #include <QTranslator>
    20 #include <QTranslator>
    21 #include <QLocale>
    21 #include <QLocale>
    22 #include <QMessageBox>
    22 #include <QMessageBox>
    23 #include <QFileInfo>
    23 #include <QPlastiqueStyle>
    24 #include <QDateTime>
       
    25 #include <QTextStream>
       
    26 #include <QDesktopWidget>
       
    27 
    24 
    28 #include "hwform.h"
    25 #include "hwform.h"
    29 #include "hwconsts.h"
    26 #include "hwconsts.h"
    30 
    27 
    31 bool checkForDir(const QString & dir)
    28 bool checkForDir(const QString & dir)
    45 
    42 
    46 int main(int argc, char *argv[])
    43 int main(int argc, char *argv[])
    47 {
    44 {
    48 	QApplication app(argc, argv);
    45 	QApplication app(argc, argv);
    49 
    46 
       
    47 	app.setStyle(new QPlastiqueStyle);
       
    48 	
    50 	QDateTime now = QDateTime::currentDateTime();
    49 	QDateTime now = QDateTime::currentDateTime();
    51 	QDateTime zero;
    50 	QDateTime zero;
    52 	srand(now.secsTo(zero));
    51 	srand(now.secsTo(zero));
    53 	rand();
    52 	rand();
    54 
    53