import Qt 4.7 Item { property string mainTextColour: theme.inverted ? "white" : "black" property string mainShadowColour: theme.inverted ? "black" : "white" property int mainTextSize: 18 property string secondaryTextColour: theme.inverted? "#7b97fd" : "#5c71bd" property int secondaryTextSize: 14 property string backColour: theme.inverted? "#dddddd" : "#222222" property bool hideReadFeeds: controller.getBooleanSetting("hideReadFeeds") property bool hideReadArticles: controller.getBooleanSetting("hideReadArticles") property bool autoUpdateEnabled: controller.getBooleanSetting("autoupdate") property int articleListingTextSize: controller.getIntSetting("fontSize") property int webviewFontSize: controller.getIntSetting("artFontSize") Component.onCompleted: { theme.inverted = controller.getBooleanSetting("theme") if (autoUpdateEnabled) { autoUpdate.start() } } }