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

List:       kde-commits
Subject:    [kdeplasma-addons/plasma/sreich/kickoff-netrunner] applets/kickoff-netrunner/package/contents/ui: sy
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2012-02-20 3:39:26
Message-ID: 20120220033926.9E623A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit aae15e53b915c6ac2d713fa3fd92bc5fc42798f3 by Shaun Reich.
Committed on 20/02/2012 at 04:38.
Pushed by sreich into branch 'plasma/sreich/kickoff-netrunner'.

system settings proof of concept (apps dataengine concept actually)

i'm betting i'm going to have to add to the dataengine the ability to
show system settings and categories. it appears that isn't there. i
wonder how difficult it'd be...

M  +21   -6    applets/kickoff-netrunner/package/contents/ui/ContentPanes.qml

http://commits.kde.org/kdeplasma-addons/aae15e53b915c6ac2d713fa3fd92bc5fc42798f3

diff --git a/applets/kickoff-netrunner/package/contents/ui/ContentPanes.qml \
b/applets/kickoff-netrunner/package/contents/ui/ContentPanes.qml index \
                0fff963..c3c47d0 100644
--- a/applets/kickoff-netrunner/package/contents/ui/ContentPanes.qml
+++ b/applets/kickoff-netrunner/package/contents/ui/ContentPanes.qml
@@ -70,17 +70,32 @@ Item {
 
         Component.onCompleted: {
             connectedSources = sources
+            timer.running = true;
         }
     }
 
-    PlasmaCore.DataModel {
-        id: settingsAppsModel
-        dataSource: appsSource
+//    PlasmaCore.DataModel {
+//        id: settingsAppsModel
+//        dataSource: appsSource
+//
+//        Component.onCompleted: {
+//        }
+//    }
+
+    function populateMenu() {
+        print("SREICH POPULATE");
+        var sourcesFiltered = appsSource.data["Settingsmenu/"]["entries"]
+        print("SREICH COMPONENT" + sourcesFiltered);
+    }
 
-        sourceFilter: "[Settingsmenu/.]*"
+    Timer {
+        id: timer
+        interval: 5000
+        repeat: false
+        running: false
 
-        Component.onCompleted: {
-            print("SOURCES:" + sources);
+        onTriggered: {
+            populateMenu();
         }
     }
 


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

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