summaryrefslogtreecommitdiffstats
path: root/krdc/maindialogwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/maindialogwidget.cpp')
-rw-r--r--krdc/maindialogwidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/krdc/maindialogwidget.cpp b/krdc/maindialogwidget.cpp
index 2ce61c2e..a76e31d1 100644
--- a/krdc/maindialogwidget.cpp
+++ b/krdc/maindialogwidget.cpp
@@ -148,9 +148,9 @@ TQString MainDialogWidget::remoteHost()
void MainDialogWidget::hostChanged( const TQString &text )
{
- emit hostValid(text.tqcontains(TQRegExp(":[0-9]+$")) ||
- text.tqcontains(TQRegExp("^vnc:/.+")) ||
- text.tqcontains(TQRegExp("^rdp:/.+")));
+ emit hostValid(text.contains(TQRegExp(":[0-9]+$")) ||
+ text.contains(TQRegExp("^vnc:/.+")) ||
+ text.contains(TQRegExp("^rdp:/.+")));
}
void MainDialogWidget::toggleBrowsingArea()
@@ -166,7 +166,7 @@ void MainDialogWidget::enableBrowsingArea( bool enable )
m_browsingPanel->show();
m_browsingPanel->setMaximumSize(1000, 1000);
m_browsingPanel->setEnabled(true);
- m_browseButton->setText(m_browseButton->text().tqreplace(">>", "<<"));
+ m_browseButton->setText(m_browseButton->text().replace(">>", "<<"));
}
else
{
@@ -174,7 +174,7 @@ void MainDialogWidget::enableBrowsingArea( bool enable )
m_browsingPanel->hide();
m_browsingPanel->setMaximumSize(0, 0);
m_browsingPanel->setEnabled(false);
- m_browseButton->setText(m_browseButton->text().tqreplace("<<", ">>"));
+ m_browseButton->setText(m_browseButton->text().replace("<<", ">>"));
int h = tqminimumSize().height()-hOffset;
setMinimumSize(tqminimumSize().width(), (h > 0) ? h : 0);
resize(width(), height()-hOffset);
@@ -344,11 +344,11 @@ void MainDialogWidget::lastSignalServices( bool success )
void MainDialogWidget::foundScopes( TQStringList scopeList )
{
- int di = scopeList.tqfindIndex( DEFAULT_SCOPE );
+ int di = scopeList.findIndex( DEFAULT_SCOPE );
if ( di >= 0 )
scopeList[ di ] = i18n( "default" );
- int ct = scopeList.tqfindIndex( m_scopeCombo->currentText() );
+ int ct = scopeList.findIndex( m_scopeCombo->currentText() );
m_scopeCombo->clear();
m_scopeCombo->insertStringList( scopeList );
if ( ct >= 0 )