diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:53:50 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 03:26:29 +0200 |
commit | a5b44fbe44e58478ad74d819c5f4c36926d31872 (patch) | |
tree | fa07b25a5c2a60b5e0b438a0af16d06c9a5ac498 /kcontrol/kicker/extensionInfo.cpp | |
parent | 6a1f2b1b6b19b0dd47b1e58afff29a12ae158226 (diff) | |
download | tdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.tar.gz tdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit f64397c82fa94371ab4a64af28c4d0029f4cd93f)
Diffstat (limited to 'kcontrol/kicker/extensionInfo.cpp')
-rw-r--r-- | kcontrol/kicker/extensionInfo.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/kicker/extensionInfo.cpp b/kcontrol/kicker/extensionInfo.cpp index 89f000410..d1a0b2766 100644 --- a/kcontrol/kicker/extensionInfo.cpp +++ b/kcontrol/kicker/extensionInfo.cpp @@ -125,7 +125,7 @@ void ExtensionInfo::load() c.setGroup("General"); _position = c.readNumEntry ("Position", _position); - _tqalignment = c.readNumEntry ("Alignment", _tqalignment); + _alignment = c.readNumEntry ("Alignment", _alignment); _xineramaScreen = c.readNumEntry ("XineramaScreen", _xineramaScreen); _showLeftHB = c.readBoolEntry("ShowLeftHideButton", _showLeftHB); _showRightHB = c.readBoolEntry("ShowRightHideButton", _showRightHB); @@ -147,7 +147,7 @@ void ExtensionInfo::load() } _orig_position = _position; - _orig_tqalignment = _tqalignment; + _orig_alignment = _alignment; _orig_size = _size; _orig_customSize = _customSize; @@ -170,10 +170,10 @@ void ExtensionInfo::configChanged() _orig_position = _position = position; } - int tqalignment = c.readNumEntry ("Alignment", TQApplication::reverseLayout() ? 2 : 0); - if (tqalignment != _tqalignment && tqalignment != _orig_tqalignment) + int alignment = c.readNumEntry ("Alignment", TQApplication::reverseLayout() ? 2 : 0); + if (alignment != _alignment && alignment != _orig_alignment) { - _orig_tqalignment = _tqalignment = tqalignment; + _orig_alignment = _alignment = alignment; } if (_resizeable) @@ -197,7 +197,7 @@ void ExtensionInfo::setDefaults() { // defaults _position = 3; - _tqalignment = TQApplication::reverseLayout() ? 2 : 0; + _alignment = TQApplication::reverseLayout() ? 2 : 0; _xineramaScreen = TQApplication::desktop()->primaryScreen(); _size = 2; _showLeftHB = false; @@ -225,7 +225,7 @@ void ExtensionInfo::save() c.setGroup("General"); c.writeEntry("Position", _position); - c.writeEntry("Alignment", _tqalignment); + c.writeEntry("Alignment", _alignment); c.writeEntry("XineramaScreen", _xineramaScreen); c.writeEntry("ShowLeftHideButton", _showLeftHB); c.writeEntry("ShowRightHideButton", _showRightHB); @@ -251,7 +251,7 @@ void ExtensionInfo::save() } _orig_position = _position; - _orig_tqalignment = _tqalignment; + _orig_alignment = _alignment; _orig_size = _size; _orig_customSize = _customSize; |