Hour glass default time 0'0''30
[chessclock] / main.cpp
1 /**************************************************************************
2
3     Chess Clock
4
5     Copyright (c) Arto Hyvättinen 2010
6
7     This file is part of Chess Clock software.
8
9     Chess Clock is free software: you can redistribute it and/or modify
10     it under the terms of the GNU General Public License as published by
11     the Free Software Foundation, either version 3 of the License, or
12     (at your option) any later version.
13
14     Chess Clock is distributed in the hope that it will be useful,
15     but WITHOUT ANY WARRANTY; without even the implied warranty of
16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17     GNU General Public License for more details.
18
19
20 **************************************************************************/
21
22
23 /*! @mainpage Chess Clock
24
25   @author Arto Hyvättinen
26
27
28     Chess Clock
29
30     Game clock for chess players with N900. Support many game controls.
31
32     Copyright © Arto Hyvättinen 2010
33
34     Chess Clock is free software: you can redistribute it and/or modify
35     it under the terms of the GNU General Public License as published by
36     the Free Software Foundation, either version 3 of the License, or
37     (at your option) any later version.
38
39     Chess Clock is distributed in the hope that it will be useful,
40     but WITHOUT ANY WARRANTY; without even the implied warranty of
41     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
42     GNU General Public License for more details.
43
44 @todo Game log
45
46   */
47
48
49 #include <QtGui/QApplication>
50 #include "chessclockwindow.h"
51
52 int main(int argc, char *argv[])
53 {
54     QApplication a(argc, argv);
55     a.setApplicationName( a.tr("Chess Clock","Application name") );
56     a.setOrganizationName("Chess Clock");
57     a.setOrganizationDomain("chessclock.garage.maemo.org");
58     a.setApplicationVersion("0.2.0");
59
60     ChessClockWindow w;
61
62 #if defined(Q_WS_S60)
63     w.showMaximized();
64 #else
65     w.show();
66 #endif
67
68     return a.exec();
69 }