Commit 7e436681 authored by Johnny Jazeix's avatar Johnny Jazeix

core, set Dataset as c++ class instead of qml. Now, it is an attribute of...

core, set Dataset as c++ class instead of qml. Now, it is an attribute of ActivityInfo.h and we can do some processing on datasets there
parent 5b3c5d33
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 1")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 10")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 2")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 3")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 4")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 5")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 6")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 7")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 8")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn multiplication table of 9")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 1")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 10")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 2")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 3")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 4")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 5")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 6")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 7")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 8")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn division table of 9")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 1")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 10")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 2")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 3")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 4")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 5")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 6")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 7")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 8")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn subtraction table of 9")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 1")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 10")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 2")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 3")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 4")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 5")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 6")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 7")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 8")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Learn addition table of 9")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("For children who can read numbers")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("For children who can read words")
difficulty: 6
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Full hours.")
difficulty: 4
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Full and half hours.")
difficulty: 4
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Full half and quarters of an hour.")
difficulty: 5
data: [
......
......@@ -18,9 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import "../../../../core"
import GCompris 1.0
Dataset {
Data {
objective: qsTr("Time containing minutes.")