00001 /************************************************************************** 00002 00003 Chess Clock 00004 00005 Copyright (c) Arto Hyvättinen 2010 00006 00007 This file is part of Chess Clock software. 00008 00009 Chess Clock is free software: you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation, either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 Chess Clock is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 00020 **************************************************************************/ 00021 00022 00049 #include <QtGui/QApplication> 00050 #include "chessclockwindow.h" 00051 00052 int main(int argc, char *argv[]) 00053 { 00054 QApplication a(argc, argv); 00055 a.setApplicationName( a.tr("Chess Clock","Application name") ); 00056 a.setOrganizationName("Chess Clock"); 00057 a.setOrganizationDomain("chessclock.garage.maemo.org"); 00058 a.setApplicationVersion("0.2.0"); 00059 00060 ChessClockWindow w; 00061 00062 #if defined(Q_WS_S60) 00063 w.showMaximized(); 00064 #else 00065 w.show(); 00066 #endif 00067 00068 return a.exec(); 00069 }