summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_propsview.cc
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 /libkonq/konq_propsview.cc
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 'libkonq/konq_propsview.cc')
-rw-r--r--libkonq/konq_propsview.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/libkonq/konq_propsview.cc b/libkonq/konq_propsview.cc
index eb9c68bbc..b860183c6 100644
--- a/libkonq/konq_propsview.cc
+++ b/libkonq/konq_propsview.cc
@@ -40,7 +40,7 @@ static TQPixmap wallpaperPixmap( const TQString & _wallpaper )
key += _wallpaper;
KPixmap pix;
- if ( TQPixmapCache::tqfind( key, pix ) )
+ if ( TQPixmapCache::find( key, pix ) )
return pix;
TQString path = locate("tiles", _wallpaper);
@@ -103,7 +103,7 @@ KonqPropsView::KonqPropsView( KInstance * instance, KonqPropsView * defaultProps
//the default-to-off bias to propagate up.
if (!config->readBoolEntry("EnableSoundPreviews", false))
{
- if (!m_dontPreview.tqcontains("audio/"))
+ if (!m_dontPreview.contains("audio/"))
m_dontPreview.append("audio/");
}
@@ -234,13 +234,13 @@ bool KonqPropsView::enterDir( const KURL & dir )
{
if (!config->readBoolEntry("EnableSoundPreviews", false))
- if (!m_dontPreview.tqcontains("audio/"))
+ if (!m_dontPreview.contains("audio/"))
m_dontPreview.append("audio/");
}
else
{
- if (m_defaultProps->m_dontPreview.tqcontains("audio/"))
- if (!m_dontPreview.tqcontains("audio/"))
+ if (m_defaultProps->m_dontPreview.contains("audio/"))
+ if (!m_dontPreview.contains("audio/"))
m_dontPreview.append("audio/");
}
}
@@ -395,7 +395,7 @@ void KonqPropsView::setShowingDirectoryOverlays( bool show )
void KonqPropsView::setShowingPreview( const TQString &preview, bool show )
{
- if ( m_dontPreview.tqcontains( preview ) != show )
+ if ( m_dontPreview.contains( preview ) != show )
return;
else if ( show )
m_dontPreview.remove( preview );
@@ -409,7 +409,7 @@ void KonqPropsView::setShowingPreview( const TQString &preview, bool show )
//Audio is special-cased, as we use a binary setting
//for it to get it to follow the defaults right.
- bool audioEnabled = !m_dontPreview.tqcontains("audio/");
+ bool audioEnabled = !m_dontPreview.contains("audio/");
//Don't write it out into the DontPreview line
if (!audioEnabled)
@@ -567,10 +567,10 @@ const TQStringList& KonqPropsView::previewSettings()
for ( KTrader::OfferList::ConstIterator it = plugins.begin(); it != plugins.end(); ++it )
{
TQString name = (*it)->desktopEntryName();
- if ( ! m_dontPreview.tqcontains(name) )
+ if ( ! m_dontPreview.contains(name) )
d->previewsToShow->append( name );
}
- if ( ! m_dontPreview.tqcontains( "audio/" ) )
+ if ( ! m_dontPreview.contains( "audio/" ) )
d->previewsToShow->append( "audio/" );
}
}