summaryrefslogtreecommitdiffstats
path: root/src/kchmtreeviewitem.cpp
diff options
context:
space:
mode:
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 );