summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr/krandrmodule.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kcontrol/randr/krandrmodule.cpp
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/randr/krandrmodule.cpp')
-rw-r--r--kcontrol/randr/krandrmodule.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kcontrol/randr/krandrmodule.cpp b/kcontrol/randr/krandrmodule.cpp
index e87dbad5b..d5087cc35 100644
--- a/kcontrol/randr/krandrmodule.cpp
+++ b/kcontrol/randr/krandrmodule.cpp
@@ -181,7 +181,7 @@ void KRandRModule::slotScreenChanged(int screen)
// Clear rotations
for (int i = m_rotationGroup->count() - 1; i >= 0; i--)
- m_rotationGroup->remove(m_rotationGroup->tqfind(i));
+ m_rotationGroup->remove(m_rotationGroup->find(i));
// Create rotations
for (int i = 0; i < RandRScreen::OrientationCount; i++)
@@ -196,21 +196,21 @@ void KRandRModule::slotScreenChanged(int screen)
void KRandRModule::slotRotationChanged()
{
- if (m_rotationGroup->tqfind(0)->isOn())
+ if (m_rotationGroup->find(0)->isOn())
currentScreen()->proposeRotation(RandRScreen::Rotate0);
- else if (m_rotationGroup->tqfind(1)->isOn())
+ else if (m_rotationGroup->find(1)->isOn())
currentScreen()->proposeRotation(RandRScreen::Rotate90);
- else if (m_rotationGroup->tqfind(2)->isOn())
+ else if (m_rotationGroup->find(2)->isOn())
currentScreen()->proposeRotation(RandRScreen::Rotate180);
else {
- Q_ASSERT(m_rotationGroup->tqfind(3)->isOn());
+ Q_ASSERT(m_rotationGroup->find(3)->isOn());
currentScreen()->proposeRotation(RandRScreen::Rotate270);
}
- if (m_rotationGroup->tqfind(4)->isOn())
+ if (m_rotationGroup->find(4)->isOn())
currentScreen()->proposeRotation(currentScreen()->proposedRotation() ^ RandRScreen::ReflectX);
- if (m_rotationGroup->tqfind(5)->isOn())
+ if (m_rotationGroup->find(5)->isOn())
currentScreen()->proposeRotation(currentScreen()->proposedRotation() ^ RandRScreen::ReflectY);
setChanged();
@@ -354,8 +354,8 @@ void KRandRModule::update()
Q_ASSERT(currentScreen()->proposedRotation() & RandRScreen::RotateMask);
break;
}
- m_rotationGroup->tqfind(4)->setDown(currentScreen()->proposedRotation() & RandRScreen::ReflectX);
- m_rotationGroup->tqfind(5)->setDown(currentScreen()->proposedRotation() & RandRScreen::ReflectY);
+ m_rotationGroup->find(4)->setDown(currentScreen()->proposedRotation() & RandRScreen::ReflectX);
+ m_rotationGroup->find(5)->setDown(currentScreen()->proposedRotation() & RandRScreen::ReflectY);
m_rotationGroup->blockSignals(false);
m_refreshRates->blockSignals(true);