summaryrefslogtreecommitdiffstats
path: root/kcontrol/kicker/extensionInfo.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:46:05 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:46:05 -0600
commit73c08b592db45af554b9f21029bc549d70f683ab (patch)
tree122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /kcontrol/kicker/extensionInfo.cpp
parente81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff)
downloadtdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz
tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kcontrol/kicker/extensionInfo.cpp')
-rw-r--r--kcontrol/kicker/extensionInfo.cpp16
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;