summaryrefslogtreecommitdiffstats
path: root/kcontrol/kicker/lookandfeeltab_impl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
commit8155225c9be993acc0512956416d195edfef4eb9 (patch)
treede4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /kcontrol/kicker/lookandfeeltab_impl.cpp
parent364641b8e0279758d236af39abd138d379328a19 (diff)
downloadtdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz
tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kicker/lookandfeeltab_impl.cpp')
-rw-r--r--kcontrol/kicker/lookandfeeltab_impl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/kicker/lookandfeeltab_impl.cpp b/kcontrol/kicker/lookandfeeltab_impl.cpp
index 24c640a1d..984666d36 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.findIndex(tile));
+ m_kmenuTile->setCurrentItem(m_tilename.tqfindIndex(tile));
kcfg_KMenuTileColor->setEnabled(tile == "Colorize");
}
if (config.readBoolEntry("EnableDesktopButtonTiles", false))
{
tile = config.readEntry("DesktopButtonTile", "solid_orange");
- m_desktopTile->setCurrentItem(m_tilename.findIndex(tile));
+ m_desktopTile->setCurrentItem(m_tilename.tqfindIndex(tile));
kcfg_DesktopButtonTileColor->setEnabled(tile == "Colorize");
}
if (config.readBoolEntry("EnableURLTiles", false))
{
tile = config.readEntry("URLTile", "solid_gray");
- m_urlTile->setCurrentItem(m_tilename.findIndex(tile));
+ m_urlTile->setCurrentItem(m_tilename.tqfindIndex(tile));
kcfg_URLTileColor->setEnabled(tile == "Colorize");
}
if (config.readBoolEntry("EnableBrowserTiles", false))
{
tile = config.readEntry("BrowserTile", "solid_green");
- m_browserTile->setCurrentItem(m_tilename.findIndex(tile));
+ m_browserTile->setCurrentItem(m_tilename.tqfindIndex(tile));
kcfg_BrowserTileColor->setEnabled(tile == "Colorize");
}
if (config.readBoolEntry("EnableWindowListTiles", false))
{
tile = config.readEntry("WindowListTile", "solid_green");
- m_windowListTile->setCurrentItem(m_tilename.findIndex(tile));
+ m_windowListTile->setCurrentItem(m_tilename.tqfindIndex(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.find("_tiny_up.png"));
+ tile.truncate(tile.tqfind("_tiny_up.png"));
m_tilename << tile;
// Transform tile to words with title case