summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-10 23:10:31 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-10 23:10:31 (GMT)
commit36c94290337a4fc3682f36986bfc5223714f2dec (patch)
treed20639bf12d8750934069ba1b8e4f74a164b91e4
parent29a0207f884448913924092aebc99dd46b79bb77 (diff)
Plasma wallpaper/worldclock: rename fixedLongitude <- centerLongitude
-rw-r--r--src/plasma/applets/worldclock/package/contents/config/main.xml2
-rw-r--r--src/plasma/applets/worldclock/package/contents/ui/configMapDisplay.qml2
-rw-r--r--src/plasma/applets/worldclock/package/contents/ui/main.qml8
-rw-r--r--src/plasma/wallpapers/worldmap/contents/config/main.xml2
-rw-r--r--src/plasma/wallpapers/worldmap/contents/ui/config.qml2
-rw-r--r--src/plasma/wallpapers/worldmap/contents/ui/main.qml8
6 files changed, 12 insertions, 12 deletions
diff --git a/src/plasma/applets/worldclock/package/contents/config/main.xml b/src/plasma/applets/worldclock/package/contents/config/main.xml
index a2ca70a..0e9dcb5 100644
--- a/src/plasma/applets/worldclock/package/contents/config/main.xml
+++ b/src/plasma/applets/worldclock/package/contents/config/main.xml
@@ -22,7 +22,7 @@
<default>Daylight</default>
</entry>
- <entry name="centerLongitude" type="double">
+ <entry name="fixedLongitude" type="double">
<default>0</default>
</entry>
diff --git a/src/plasma/applets/worldclock/package/contents/ui/configMapDisplay.qml b/src/plasma/applets/worldclock/package/contents/ui/configMapDisplay.qml
index 2577b6b..f78d981 100644
--- a/src/plasma/applets/worldclock/package/contents/ui/configMapDisplay.qml
+++ b/src/plasma/applets/worldclock/package/contents/ui/configMapDisplay.qml
@@ -24,7 +24,7 @@ ColumnLayout {
property int cfg_projection: plasmoid.configuration.projection // Enum needs manual set/get for now
property int cfg_centerMode: plasmoid.configuration.centerMode // Enum needs manual set/get for now
- property alias cfg_centerLongitude: longitudeSpinBox.value
+ property alias cfg_fixedLongitude: longitudeSpinBox.value
property alias cfg_showDate: showDateCheckBox.checked
GridLayout {
diff --git a/src/plasma/applets/worldclock/package/contents/ui/main.qml b/src/plasma/applets/worldclock/package/contents/ui/main.qml
index 0ab3e5a..0f14dce 100644
--- a/src/plasma/applets/worldclock/package/contents/ui/main.qml
+++ b/src/plasma/applets/worldclock/package/contents/ui/main.qml
@@ -47,7 +47,7 @@ Item {
id: marbleItem
readonly property int centerMode: plasmoid.configuration.centerMode
- readonly property double centerLongitude: plasmoid.configuration.centerLongitude
+ readonly property double fixedLongitude: plasmoid.configuration.fixedLongitude
enabled: false // do not handle input
Layout.minimumWidth: units.gridUnit * 20
@@ -90,13 +90,13 @@ Item {
marbleMap.setLockToSubSolarPoint(true);
} else {
marbleMap.setLockToSubSolarPoint(false);
- marbleMap.centerOn(centerLongitude, 0.0);
+ marbleMap.centerOn(fixedLongitude, 0.0);
}
}
- onCenterLongitudeChanged: {
+ onFixedLongitudeChanged: {
if (centerMode === 1) {
- marbleMap.centerOn(centerLongitude, 0.0);
+ marbleMap.centerOn(fixedLongitude, 0.0);
}
}
diff --git a/src/plasma/wallpapers/worldmap/contents/config/main.xml b/src/plasma/wallpapers/worldmap/contents/config/main.xml
index 744bcd8..74e54a0 100644
--- a/src/plasma/wallpapers/worldmap/contents/config/main.xml
+++ b/src/plasma/wallpapers/worldmap/contents/config/main.xml
@@ -22,7 +22,7 @@
<default>Daylight</default>
</entry>
- <entry name="centerLongitude" type="double">
+ <entry name="fixedLongitude" type="double">
<default>0</default>
</entry>
</group>
diff --git a/src/plasma/wallpapers/worldmap/contents/ui/config.qml b/src/plasma/wallpapers/worldmap/contents/ui/config.qml
index a0ca31d..17d27b8 100644
--- a/src/plasma/wallpapers/worldmap/contents/ui/config.qml
+++ b/src/plasma/wallpapers/worldmap/contents/ui/config.qml
@@ -27,7 +27,7 @@ ColumnLayout {
id: root
property int cfg_projection: wallpaper.configuration.projection // Enum needs manual set/get for now
property int cfg_centerMode: wallpaper.configuration.centerMode // Enum needs manual set/get for now
- property alias cfg_centerLongitude: longitudeSpinBox.value
+ property alias cfg_fixedLongitude: longitudeSpinBox.value
RowLayout {
spacing: units.largeSpacing / 2
diff --git a/src/plasma/wallpapers/worldmap/contents/ui/main.qml b/src/plasma/wallpapers/worldmap/contents/ui/main.qml
index cd202c4..d9d4ee3 100644
--- a/src/plasma/wallpapers/worldmap/contents/ui/main.qml
+++ b/src/plasma/wallpapers/worldmap/contents/ui/main.qml
@@ -25,7 +25,7 @@ MarbleItem {
id: marbleItem
readonly property int centerMode: wallpaper.configuration.centerMode
- readonly property double centerLongitude: wallpaper.configuration.centerLongitude
+ readonly property double fixedLongitude: wallpaper.configuration.fixedLongitude
enabled: false // do not handle input
@@ -65,13 +65,13 @@ MarbleItem {
marbleMap.setLockToSubSolarPoint(true);
} else {
marbleMap.setLockToSubSolarPoint(false);
- marbleMap.centerOn(centerLongitude, 0.0);
+ marbleMap.centerOn(fixedLongitude, 0.0);
}
}
- onCenterLongitudeChanged: {
+ onFixedLongitudeChanged: {
if (centerMode === 1) {
- marbleMap.centerOn(centerLongitude, 0.0);
+ marbleMap.centerOn(fixedLongitude, 0.0);
}
}