Add packeting directory
[urpo] / src / main.cpp
1 #include <QtGui/QApplication>
2 #include <QTranslator>
3 #include "urpomainwindow.h"
4 #include <QLocale>
5
6 /*! @mainpage Urpo - Unix Remote Printing Operation
7
8
9   @author Arto Hyvättinen
10   @version 0.9
11   @date 2010-06
12
13   Urpo prints to remote computer via cups and ssh. Urpo is designed for Maemo.
14
15   Urpo uses Qt library. It it translated into Finnish.
16
17   */
18
19
20
21 int main(int argc, char *argv[])
22 {
23     QApplication a(argc, argv);
24
25     QTranslator appTranslator;
26     appTranslator.load("urpo_" + QLocale::system().name(),":/");
27     a.installTranslator(&appTranslator);
28
29     UrpoMainWindow w;
30 #if defined(Q_WS_S60)
31     w.showMaximized();
32 #else
33     w.show();
34 #endif
35
36     return a.exec();
37 }