summaryrefslogtreecommitdiffstats
path: root/libkdepim/komposer
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/komposer')
-rw-r--r--libkdepim/komposer/core/core.cpp2
-rw-r--r--libkdepim/komposer/core/pluginmanager.cpp4
-rw-r--r--libkdepim/komposer/core/prefsmodule.cpp2
-rw-r--r--libkdepim/komposer/plugins/default/defaulteditor.cpp6
4 files changed, 7 insertions, 7 deletions
diff --git a/libkdepim/komposer/core/core.cpp b/libkdepim/komposer/core/core.cpp
index bffae60ed..3618b88ee 100644
--- a/libkdepim/komposer/core/core.cpp
+++ b/libkdepim/komposer/core/core.cpp
@@ -158,7 +158,7 @@ Core::selectEditor( Komposer::Editor *editor )
TQPtrList<KParts::Part> *partList = const_cast<TQPtrList<KParts::Part>*>(
m_partManager->parts() );
- if ( partList->tqfind( part ) == -1 )
+ if ( partList->find( part ) == -1 )
addPart( part );
m_partManager->setActivePart( part );
diff --git a/libkdepim/komposer/core/pluginmanager.cpp b/libkdepim/komposer/core/pluginmanager.cpp
index 50ef26a96..30d52ffcd 100644
--- a/libkdepim/komposer/core/pluginmanager.cpp
+++ b/libkdepim/komposer/core/pluginmanager.cpp
@@ -305,7 +305,7 @@ PluginManager::loadPluginInternal( const TQString &pluginId )
return 0;
}
- if ( d->loadedPlugins.tqcontains( info ) )
+ if ( d->loadedPlugins.contains( info ) )
return d->loadedPlugins[ info ];
int error = 0;
@@ -408,7 +408,7 @@ PluginManager::plugin( const TQString &pluginId ) const
if ( !info )
return 0;
- if ( d->loadedPlugins.tqcontains( info ) )
+ if ( d->loadedPlugins.contains( info ) )
return d->loadedPlugins[ info ];
else
return 0;
diff --git a/libkdepim/komposer/core/prefsmodule.cpp b/libkdepim/komposer/core/prefsmodule.cpp
index 1c088e9e8..3b82f96d3 100644
--- a/libkdepim/komposer/core/prefsmodule.cpp
+++ b/libkdepim/komposer/core/prefsmodule.cpp
@@ -110,7 +110,7 @@ EditorSelection::readConfig()
TQString name = (*it)->property( "X-KDE-KomposerIdentifier" ).toString();
m_editorsCombo->insertItem( name );
- if ( m_reference.tqcontains( name ) )
+ if ( m_reference.contains( name ) )
m_editorsCombo->setCurrentItem( i );
}
}
diff --git a/libkdepim/komposer/plugins/default/defaulteditor.cpp b/libkdepim/komposer/plugins/default/defaulteditor.cpp
index c75f63920..96458ae3d 100644
--- a/libkdepim/komposer/plugins/default/defaulteditor.cpp
+++ b/libkdepim/komposer/plugins/default/defaulteditor.cpp
@@ -37,7 +37,7 @@
#include <kfinddialog.h>
#include <kfind.h>
#include <kreplacedialog.h>
-#include <ktqreplace.h>
+#include <kreplace.h>
#include <tqtextedit.h>
#include <tqwidget.h>
@@ -86,10 +86,10 @@ DefaultEditor::changeSignature( const TQString &sig )
{
TQString text = m_textEdit->text();
- int sigStart = text.tqfindRev( "-- " );
+ int sigStart = text.findRev( "-- " );
TQString sigText = TQString( "-- \n%1" ).tqarg( sig );
- text.tqreplace( sigStart, text.length(), sigText );
+ text.replace( sigStart, text.length(), sigText );
}
void