Merge branch 'develop'
[lichviet] / qml / LichViet / Switch.qml
index 0942912..27cf9c3 100644 (file)
@@ -15,11 +15,20 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>\r
 */\r
 \r
-import QtQuick 1.0\r
+import QtQuick 1.1\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