* Improved QML/JS.
[lichviet] / qml / LichViet / Switch.qml
index 0942912..a5e94c4 100644 (file)
@@ -17,9 +17,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>
 \r
 import QtQuick 1.0\r
 \r
+import "Themes.js" as Themes\r
+\r
 Item {\r
     id: container\r
 \r
+    Loader {\r
+        id: theme_manager\r
+        property alias theme: theme_manager.item\r
+        source: Themes.default_theme()\r
+    }\r
+\r
+\r
     // Font properties\r
     property string fontName: "Nokia Sans"\r
     property int fontSize: 18\r