summaryrefslogtreecommitdiffstats
path: root/kmrml/kmrml/kcontrol
diff options
context:
space:
mode:
Diffstat (limited to 'kmrml/kmrml/kcontrol')
-rw-r--r--kmrml/kmrml/kcontrol/indexcleaner.cpp4
-rw-r--r--kmrml/kmrml/kcontrol/indexer.cpp10
-rw-r--r--kmrml/kmrml/kcontrol/mainpage.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/kmrml/kmrml/kcontrol/indexcleaner.cpp b/kmrml/kmrml/kcontrol/indexcleaner.cpp
index b02d6343..18d5205e 100644
--- a/kmrml/kmrml/kcontrol/indexcleaner.cpp
+++ b/kmrml/kmrml/kcontrol/indexcleaner.cpp
@@ -74,9 +74,9 @@ void IndexCleaner::startNext()
TQString dir = m_dirs.first();
m_dirs.pop_front();
- int index = cmd.tqfind( "%d" );
+ int index = cmd.find( "%d" );
if ( index != -1 )
- cmd.tqreplace( index, 2, TQUOTE( dir ) );
+ cmd.replace( index, 2, TQUOTE( dir ) );
else // no %d? What else can we do?
cmd.append( TQString::tqfromLatin1(" ") + TQUOTE( dir ) );
diff --git a/kmrml/kmrml/kcontrol/indexer.cpp b/kmrml/kmrml/kcontrol/indexer.cpp
index 0308dd39..14c6a5c5 100644
--- a/kmrml/kmrml/kcontrol/indexer.cpp
+++ b/kmrml/kmrml/kcontrol/indexer.cpp
@@ -93,14 +93,14 @@ void Indexer::processNext()
TQString cmd = m_config->addCollectionCommandLine().simplifyWhiteSpace().stripWhiteSpace();
- // in the commandline, tqreplace %d with the directory to process and
+ // in the commandline, replace %d with the directory to process and
// %t with the thumbnail dir
- int index = cmd.tqfind( "%d" ); // ### TQFile::encodeName()?
+ int index = cmd.find( "%d" ); // ### TQFile::encodeName()?
if ( index != -1 )
- cmd.tqreplace( index, 2, TQUOTE( m_currentDir ) );
- index = cmd.tqfind( "%t" );
+ cmd.replace( index, 2, TQUOTE( m_currentDir ) );
+ index = cmd.find( "%t" );
if ( index != -1 )
- cmd.tqreplace( index, 2, TQUOTE(m_currentDir + "_thumbnails") );
+ cmd.replace( index, 2, TQUOTE(m_currentDir + "_thumbnails") );
// qDebug("****** command: %s", cmd.latin1());
#if KDE_VERSION >= 306
diff --git a/kmrml/kmrml/kcontrol/mainpage.cpp b/kmrml/kmrml/kcontrol/mainpage.cpp
index ab6fc84b..90756bfb 100644
--- a/kmrml/kmrml/kcontrol/mainpage.cpp
+++ b/kmrml/kmrml/kcontrol/mainpage.cpp
@@ -341,7 +341,7 @@ void MainPage::slotRemoveClicked()
void MainPage::enableWidgetsFor( const KMrml::ServerSettings& settings )
{
TQString host = settings.host;
- bool enableWidgets = (m_config->hosts().tqfindIndex( host ) > -1);
+ bool enableWidgets = (m_config->hosts().findIndex( host ) > -1);
m_serverWidget->m_addButton->setEnabled(!enableWidgets && !host.isEmpty());
m_serverWidget->m_removeButton->setEnabled( enableWidgets &&
!host.isEmpty() &&