X-Git-Url: http://git.maemo.org/git/?p=urpo;a=blobdiff_plain;f=src%2Fmain.cpp;fp=src%2Fmain.cpp;h=b3d18c345dc2cad23303baac7030f7522f45b6df;hp=0000000000000000000000000000000000000000;hb=aa700f245d7c8ea96728266237f42691836baf74;hpb=d86a98ca60a68eedd68f03ef05b74a90d20cde20 diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..b3d18c3 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,37 @@ +#include +#include +#include "urpomainwindow.h" +#include + +/*! @mainpage Urpo - Unix Remote Printing Operation + + + @author Arto Hyvättinen + @version 0.9 + @date 2010-06 + + Urpo prints to remote computer via cups and ssh. Urpo is designed for Maemo. + + Urpo uses Qt library. It it translated into Finnish. + + */ + + + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + + QTranslator appTranslator; + appTranslator.load("urpo_" + QLocale::system().name(),":/"); + a.installTranslator(&appTranslator); + + UrpoMainWindow w; +#if defined(Q_WS_S60) + w.showMaximized(); +#else + w.show(); +#endif + + return a.exec(); +}