psa: remove old event feed items
[feedingit] / psa_harmattan / feedingit / qml / Settings.qml
1 import Qt 4.7
2 Item {
3     property string mainTextColour: theme.inverted ? "white" : "black"
4     property string mainShadowColour: theme.inverted ? "black" : "white"
5     property int mainTextSize: 18
6     property string secondaryTextColour: theme.inverted?  "#7b97fd" : "#5c71bd"
7     property int secondaryTextSize: 14
8
9     property string backColour: theme.inverted? "#dddddd" : "#222222"
10
11     property bool hideReadFeeds: controller.getBooleanSetting("hideReadFeeds")
12     property bool hideReadArticles: controller.getBooleanSetting("hideReadArticles")
13
14     property bool autoUpdateEnabled: controller.getBooleanSetting("autoupdate")
15
16     property int articleListingTextSize: controller.getIntSetting("fontSize")
17     property int webviewFontSize: controller.getIntSetting("artFontSize")
18
19     Component.onCompleted: {
20         theme.inverted = controller.getBooleanSetting("theme")
21         if (autoUpdateEnabled) {
22             autoUpdate.start()
23         }
24     }
25 }