summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/ui')
-rw-r--r--klinkstatus/src/ui/klshistorycombo.cpp4
-rw-r--r--klinkstatus/src/ui/tablelinkstatus.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/klinkstatus/src/ui/klshistorycombo.cpp b/klinkstatus/src/ui/klshistorycombo.cpp
index bcfef44c..f342faa7 100644
--- a/klinkstatus/src/ui/klshistorycombo.cpp
+++ b/klinkstatus/src/ui/klshistorycombo.cpp
@@ -143,7 +143,7 @@ void KLSHistoryCombo::selectWord(TQKeyEvent *e)
if( allow_space_break && text[pos].isSpace() && count > 1 )
break;
}
- while( pos >= 0 && (chars.tqfindIndex(text[pos]) == -1 || count <= 1) );
+ while( pos >= 0 && (chars.findIndex(text[pos]) == -1 || count <= 1) );
if( e->state() & ShiftButton )
{
@@ -172,7 +172,7 @@ void KLSHistoryCombo::selectWord(TQKeyEvent *e)
if( allow_space_break && text[pos].isSpace() )
break;
}
- while( pos < (int) text.length() && chars.tqfindIndex(text[pos]) == -1 );
+ while( pos < (int) text.length() && chars.findIndex(text[pos]) == -1 );
if( e->state() & ShiftButton )
{
diff --git a/klinkstatus/src/ui/tablelinkstatus.cpp b/klinkstatus/src/ui/tablelinkstatus.cpp
index d7bca792..9fbd3b31 100644
--- a/klinkstatus/src/ui/tablelinkstatus.cpp
+++ b/klinkstatus/src/ui/tablelinkstatus.cpp
@@ -587,9 +587,9 @@ TQColor const& TableItemURL::textStatusColor() const
if(linktqStatus()->errorOccurred())
{
- if(linktqStatus()->error().tqcontains(i18n( "Timeout" )))
+ if(linktqStatus()->error().contains(i18n( "Timeout" )))
return darkMagenta;
- else if(linktqStatus()->error().tqcontains(i18n( "not supported" )))
+ else if(linktqStatus()->error().contains(i18n( "not supported" )))
return lightGray;
else
return red;
@@ -652,7 +652,7 @@ void TableItemtqStatus::setPixmap()
if(linktqStatus()->errorOccurred())
{
- if(linktqStatus()->error().tqcontains(i18n( "Timeout" )))
+ if(linktqStatus()->error().contains(i18n( "Timeout" )))
{
TQTableItem::setPixmap(SmallIcon("kalarm"));
}