--- /dev/null
+/*
+ <Push-It: One button - stopwatch like - program>
+ Copyright (C) <2010> <Markus Scharnowski markus.scharnowski@gmail.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+#include <QtGui/QApplication>
+#include <QTextCodec>
+#include <iostream>
+
+#include "mainwindow.h"
+
+int main(int argc, char *argv[])
+{
+ QTextCodec *utfCodec = QTextCodec::codecForName("UTF-8"); //creating new utf-8 codec
+ QTextCodec::setCodecForTr(utfCodec); // setting the utf-8 codec for the tr() tags
+ QTextCodec::setCodecForLocale(utfCodec);
+ QTextCodec::setCodecForCStrings(utfCodec);
+ QApplication a(argc, argv);
+ MainWindow w;
+
+ // qDebug(QTextCodec::codecForLocale()->name());
+
+#if defined(Q_WS_S60)
+ w.showMaximized();
+#else
+ w.show();
+#endif
+
+ return a.exec();
+}