Also upped QML Chessclocks version number to 1.1.
Added copyright info to the settings class files.
Commented out qDebugs from the settings.cpp.
Removed .svg launcher icon from project as .png is used anyway.
QT+= declarative
symbian:TARGET.UID3 = 0xE00C40B5
-VERSION = 1.9.0
+VERSION = 1.9.1
# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp \
- classes/turninformation.cpp \
classes/chessclock.cpp \
classes/chessclockwidget.cpp \
classes/clockswidget.cpp \
classes/timecontrol/hourglassclock.cpp \
classes/screenlitkeeper.cpp \
classes/wrappedclockswidget.cpp \
- classes/settings.cpp
+ classes/settings.cpp \
+ classes/turninformation.cpp
HEADERS += \
classes/turninformation.h \
qml/MainPage.qml \
qml/main.qml \
chessclock.desktop \
- chessclock.svg \
chessclock.png \
qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
target.path = /opt/chessclock/bin
INSTALLS += target
}
+
+
+
+/**************************************************************************
+
+ Chess Clock
+
+ This file is part of Chess Clock software.
+
+ (This file) Copyright (c) Heli Hyvättinen 2011
+
+ Chess Clock 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.
+
+ Chess Clock 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.
+
+
+**************************************************************************/
+
#include "settings.h"
#include <QSettings>
#include <QDebug>
else
result = settings.value("BlackInitial",defaultTime).toTime();
- qDebug() << "Initial time is: " << result;
+// qDebug() << "Initial time is: " << result;
return result;
}
else
result = settings.value("BlackAddition",defaultTime).toTime();
- qDebug() << "Additional time is: " << result;
+// qDebug() << "Additional time is: " << result;
return result;
}
{
QTime time (hours,minutes,seconds);
setInitialTime(timeControl,isWhite,time);
- qDebug () << "Saved initial time setting: "<< time;
+// qDebug () << "Saved initial time setting: "<< time;
}
void Settings::setAdditionalTime(int timeControl, bool isWhite, QTime time)
{
QTime time(hours,minutes,seconds);
setAdditionalTime(timeControl,isWhite,time);
- qDebug() << "Saved additional time setting: " << time;
+// qDebug() << "Saved additional time setting: " << time;
}
void Settings::setEqualTimes(int timeControl, bool on)
settings.beginGroup(getGroupName(timeControl));
settings.setValue("Equals",on);
- qDebug() << "Saved Equal times setting: " << on;
+// qDebug() << "Saved Equal times setting: " << on;
}
+/**************************************************************************
+
+ Chess Clock
+
+ This file is part of Chess Clock software.
+
+ (This file) Copyright (c) Heli Hyvättinen 2011
+
+ Chess Clock 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.
+
+ Chess Clock 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.
+
+
+**************************************************************************/
+
#ifndef SETTINGS_H
#define SETTINGS_H
pApp->setStyleSheet("* {color: white}");
- qmlRegisterType<WrappedClocksWidget>("ChessClocks", 1, 0, "WrappedClocksWidget");
- qmlRegisterType<Settings>("ChessClocks", 1, 0, "Settings");
+ qmlRegisterType<WrappedClocksWidget>("ChessClocks", 1, 1, "WrappedClocksWidget");
+ qmlRegisterType<Settings>("ChessClocks", 1, 1, "Settings");
QDeclarativeView * pView = MDeclarativeCache::qDeclarativeView();
pView->setSource(QUrl("qrc:/qml/main.qml"));
Text
{
id: title
- text: "Chess Clock 1.9.0"
+ text: "Chess Clock 1.9.1"
color: "white"
font.pointSize: 42
import QtQuick 1.0
import com.meego 1.0
import QtQuick 1.1
-import ChessClocks 1.0
+import ChessClocks 1.1
import QtQuick 1.1
import com.meego 1.0
-import ChessClocks 1.0
+import ChessClocks 1.1
import com.meego 1.0
import QtQuick 1.0
import com.nokia.extras 1.0
-import ChessClocks 1.0
+import ChessClocks 1.1
Page
-chessclock (1.9.0) unstable; urgency=low
+chessclock (1.9.1) unstable; urgency=low
+
+ * Uses buttons instead of text fields to trigger change value dialogs in
+ the start game dialog page, no longer need to tap twice to launch a
+ subdialog
+ * Game settings are saved
+ * Starts faster, uses MDeclarativeCacheBoost
+ * Pause button visible only if the game has started and is not paused
+ * "Then touch to end turn" help text in the start of game is visible
+
+ -- Heli Hyvättinen <heli.hyvattinen@kymp.net> Thu, 13 Oct 2011 11:57:00 +0300
+
+chessclock (1.9.1) unstable; urgency=low
* First release for Harmattan
* User interface partly changed to QML and conforms to Harmattan style