[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gluon] player/lib/models: Port the comments and highscores gdl files to the recent gdl format
From:       Laszlo Papp <lpapp () kde ! org>
Date:       2012-08-18 12:59:46
Message-ID: 20120818125946.9CADFA6094 () git ! kde ! org
[Download RAW message or body]

Git commit 7b70dc276d6135ae36b14960556abaa22ae23a76 by Laszlo Papp.
Committed on 18/08/2012 at 14:57.
Pushed by lpapp into branch 'master'.

Port the comments and highscores gdl files to the recent gdl format

M  +39   -39   player/lib/models/comments.gdl
M  +4    -4    player/lib/models/highscores.gdl

http://commits.kde.org/gluon/7b70dc276d6135ae36b14960556abaa22ae23a76

diff --git a/player/lib/models/comments.gdl b/player/lib/models/comments.gdl
index b2534b3..8a0fc8d 100644
--- a/player/lib/models/comments.gdl
+++ b/player/lib/models/comments.gdl
@@ -1,50 +1,50 @@
-{ GluonCore::GluonObject(Comments)
-    { GluonCore::GluonObject(Comment)
-        Author string(Author1)
-        Title string(Title1 is the title)
-        Body string(This is the body of the comment1)
-        DateTime string(SomeDate SomeTime)
-        Rating string(5)
-        { GluonCore::GluonObject(Comment)
-            Author string(Author2)
-            Title string(Title2 is the title)
-            Body string(This is the body of comment1-1)
-            DateTime string(SomeDate1-1 SomeTime)
+{ GluonCore::GluonObject("Comments")
+    { GluonCore::GluonObject("Comment")
+        Author string("Author1")
+        Title string("Title1 is the title")
+        Body string("This is the body of the comment1")
+        DateTime string("SomeDate SomeTime")
+        Rating string("5")
+        { GluonCore::GluonObject("Comment")
+            Author string("Author2")
+            Title string("Title2 is the title")
+            Body string("This is the body of comment1-1")
+            DateTime string("SomeDate1-1 SomeTime")
             Rating int(10)
-            { GluonCore::GluonObject(Comment)
-                Author string(Author5)
-                Title string(Title1 is the title)
-                Body string(This is the body of the comment1-1-1)
-                DateTime string(SomeDate SomeTime)
-                Rating string(5)
-                { GluonCore::GluonObject(Comment)
-                    Author string(Author6)
-                    Title string(Title2 is the title)
-                    Body string(This is the body of comment1-1-1-1)
-                    DateTime string(SomeDate1-1 SomeTime)
+            { GluonCore::GluonObject("Comment")
+                Author string("Author5")
+                Title string("Title1 is the title")
+                Body string("This is the body of the comment1-1-1")
+                DateTime string("SomeDate SomeTime")
+                Rating string("5")
+                { GluonCore::GluonObject("Comment")
+                    Author string("Author6")
+                    Title string("Title2 is the title")
+                    Body string("This is the body of comment1-1-1-1")
+                    DateTime string("SomeDate1-1 SomeTime")
                     Rating int(10)
                 }
-				{ GluonCore::GluonObject(Comment)
-                    Author string(Author6)
-                    Title string(Title2 is the title)
-                    Body string(This is the body of comment1-1-1-2)
-                    DateTime string(SomeDate1-1 SomeTime)
+				{ GluonCore::GluonObject("Comment")
+                    Author string("Author6")
+                    Title string("Title2 is the title")
+                    Body string("This is the body of comment1-1-1-2")
+                    DateTime string("SomeDate1-1 SomeTime")
                     Rating int(10)
                 }
             }
         }
     }
-    { GluonCore::GluonObject(Comment)
-        Author string(Author3)
-        Title string(Title1 is the title)
-        Body string(This is the body of the comment2)
-        DateTime string(SomeDate SomeTime)
-        Rating string(5)
-        { GluonCore::GluonObject(Comment)
-            Author string(Author4)
-            Title string(Title2 is the title)
-            Body string(This is the body of comment2-1)
-            DateTime string(SomeDate2-1 SomeTime)
+    { GluonCore::GluonObject("Comment")
+        Author string("Author3")
+        Title string("Title1 is the title")
+        Body string("This is the body of the comment2")
+        DateTime string("SomeDate SomeTime")
+        Rating string("5")
+        { GluonCore::GluonObject("Comment")
+            Author string("Author4")
+            Title string("Title2 is the title")
+            Body string("This is the body of comment2-1")
+            DateTime string("SomeDate2-1 SomeTime")
             Rating int(10)
         }
     }
diff --git a/player/lib/models/highscores.gdl b/player/lib/models/highscore=
s.gdl
index 76f5db4..01d80be 100644
--- a/player/lib/models/highscores.gdl
+++ b/player/lib/models/highscores.gdl
@@ -1,13 +1,13 @@
-{ GluonCore::GluonObject(HighScores)
-    { GluonCore::GluonObject(Shantanu)
+{ GluonCore::GluonObject("HighScores")
+    { GluonCore::GluonObject("Shantanu")
         HighScore int(2000)
         Level int(10)
     }
-    { GluonCore::GluonObject(Arjen)
+    { GluonCore::GluonObject("Arjen")
         HighScore int(1000)
         Level int(1)
     }
-    { GluonCore::GluonObject(Leinir)
+    { GluonCore::GluonObject("Leinir")
         HighScore int(500)
         Level int(2)
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic