summaryrefslogtreecommitdiffstats
path: root/src/kchmtreeviewitem.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
commit8cbd3f41229fc385698bfd9a5524ba2610777543 (patch)
tree05595d691d2d657866204352d65e5b85cfd30384 /src/kchmtreeviewitem.cpp
parent411ae7c171b854c759cc87a403add976a2b516ee (diff)
downloadkchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.tar.gz
kchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kchmtreeviewitem.cpp')
-rw-r--r--src/kchmtreeviewitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kchmtreeviewitem.cpp b/src/kchmtreeviewitem.cpp
index 5b1a530..afa8ff4 100644
--- a/src/kchmtreeviewitem.cpp
+++ b/src/kchmtreeviewitem.cpp
@@ -60,7 +60,7 @@ const TQPixmap * KCHMIndTocItem::pixmap( int i ) const
TQString KCHMIndTocItem::getUrl( ) const
{
- if ( url.tqfind ('|') == -1 )
+ if ( url.find ('|') == -1 )
return url;
// Create a dialog with URLs, and show it, so user can select an URL he/she wants.
@@ -114,7 +114,7 @@ void KCHMIndTocItem::paintCell( TQPainter * p, const TQColorGroup & cg, int colu
TQColorGroup newcg ( cg );
TQColor c = newcg.text();
- if ( url.tqfind ('|') != -1 )
+ if ( url.find ('|') != -1 )
newcg.setColor( TQColorGroup::Text, TQt::red );
else if ( url[0] == ':' )
newcg.setColor( TQColorGroup::Text, TQt::lightGray );