summaryrefslogtreecommitdiffstats
path: root/kcontrol/kicker
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/kicker
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/kicker')
-rw-r--r--kcontrol/kicker/advancedDialog.cpp2
-rw-r--r--kcontrol/kicker/applettab_impl.cpp4
-rw-r--r--kcontrol/kicker/lookandfeeltab_impl.cpp12
-rw-r--r--kcontrol/kicker/main.cpp2
-rw-r--r--kcontrol/kicker/positiontab_impl.cpp2
5 files changed, 11 insertions, 11 deletions
diff --git a/kcontrol/kicker/advancedDialog.cpp b/kcontrol/kicker/advancedDialog.cpp
index a6790d9c9..29de71df7 100644
--- a/kcontrol/kicker/advancedDialog.cpp
+++ b/kcontrol/kicker/advancedDialog.cpp
@@ -136,7 +136,7 @@ void advancedDialog::save()
// is there a config group for this extension?
if(!c.hasGroup(group) ||
- group.tqcontains("Extension") < 1)
+ group.contains("Extension") < 1)
{
continue;
}
diff --git a/kcontrol/kicker/applettab_impl.cpp b/kcontrol/kicker/applettab_impl.cpp
index 534f2cbdb..a8b7cdb20 100644
--- a/kcontrol/kicker/applettab_impl.cpp
+++ b/kcontrol/kicker/applettab_impl.cpp
@@ -132,7 +132,7 @@ void AppletTab::load( bool useDefaults )
TQStringList list = c.readListEntry("TrustedApplets");
for ( TQStringList::Iterator it = list.begin(); it != list.end(); ++it )
{
- if(available.tqcontains(*it))
+ if(available.contains(*it))
l_trusted << (*it);
}
}
@@ -142,7 +142,7 @@ void AppletTab::load( bool useDefaults )
for ( TQStringList::Iterator it = available.begin(); it != available.end(); ++it )
{
- if(!l_trusted.tqcontains(*it))
+ if(!l_trusted.contains(*it))
l_available << (*it);
}
diff --git a/kcontrol/kicker/lookandfeeltab_impl.cpp b/kcontrol/kicker/lookandfeeltab_impl.cpp
index 984666d36..24c640a1d 100644
--- a/kcontrol/kicker/lookandfeeltab_impl.cpp
+++ b/kcontrol/kicker/lookandfeeltab_impl.cpp
@@ -190,35 +190,35 @@ void LookAndFeelTab::load(bool useDefaults)
if (config.readBoolEntry("EnableKMenuTiles", false))
{
tile = config.readEntry("KMenuTile", "solid_blue");
- m_kmenuTile->setCurrentItem(m_tilename.tqfindIndex(tile));
+ m_kmenuTile->setCurrentItem(m_tilename.findIndex(tile));
kcfg_KMenuTileColor->setEnabled(tile == "Colorize");
}
if (config.readBoolEntry("EnableDesktopButtonTiles", false))
{
tile = config.readEntry("DesktopButtonTile", "solid_orange");
- m_desktopTile->setCurrentItem(m_tilename.tqfindIndex(tile));
+ m_desktopTile->setCurrentItem(m_tilename.findIndex(tile));
kcfg_DesktopButtonTileColor->setEnabled(tile == "Colorize");
}
if (config.readBoolEntry("EnableURLTiles", false))
{
tile = config.readEntry("URLTile", "solid_gray");
- m_urlTile->setCurrentItem(m_tilename.tqfindIndex(tile));
+ m_urlTile->setCurrentItem(m_tilename.findIndex(tile));
kcfg_URLTileColor->setEnabled(tile == "Colorize");
}
if (config.readBoolEntry("EnableBrowserTiles", false))
{
tile = config.readEntry("BrowserTile", "solid_green");
- m_browserTile->setCurrentItem(m_tilename.tqfindIndex(tile));
+ m_browserTile->setCurrentItem(m_tilename.findIndex(tile));
kcfg_BrowserTileColor->setEnabled(tile == "Colorize");
}
if (config.readBoolEntry("EnableWindowListTiles", false))
{
tile = config.readEntry("WindowListTile", "solid_green");
- m_windowListTile->setCurrentItem(m_tilename.tqfindIndex(tile));
+ m_windowListTile->setCurrentItem(m_tilename.findIndex(tile));
kcfg_WindowListTileColor->setEnabled(tile == "Colorize");
}
}
@@ -328,7 +328,7 @@ void LookAndFeelTab::fillTileCombos()
TQPixmap pix(tile);
TQFileInfo fi(tile);
tile = fi.fileName();
- tile.truncate(tile.tqfind("_tiny_up.png"));
+ tile.truncate(tile.find("_tiny_up.png"));
m_tilename << tile;
// Transform tile to words with title case
diff --git a/kcontrol/kicker/main.cpp b/kcontrol/kicker/main.cpp
index 31cd34c11..95d80cc31 100644
--- a/kcontrol/kicker/main.cpp
+++ b/kcontrol/kicker/main.cpp
@@ -187,7 +187,7 @@ void KickerConfig::setupExtensionInfo(KConfig& config, bool checkExists, bool re
TQString group(*it);
// is there a config group for this extension?
- if (!config.hasGroup(group) || group.tqcontains("Extension") < 1)
+ if (!config.hasGroup(group) || group.contains("Extension") < 1)
{
continue;
}
diff --git a/kcontrol/kicker/positiontab_impl.cpp b/kcontrol/kicker/positiontab_impl.cpp
index 5f89cd5a6..3a72e6417 100644
--- a/kcontrol/kicker/positiontab_impl.cpp
+++ b/kcontrol/kicker/positiontab_impl.cpp
@@ -220,7 +220,7 @@ void PositionTab::sizeChanged(int which)
void PositionTab::movePanel(int whichButton)
{
- TQPushButton* pushed = reinterpret_cast<TQPushButton*>(m_locationGroup->tqfind(whichButton));
+ TQPushButton* pushed = reinterpret_cast<TQPushButton*>(m_locationGroup->find(whichButton));
if (pushed == locationTopLeft)
{