summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/autoreplace/autoreplacepreferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/autoreplace/autoreplacepreferences.cpp')
-rw-r--r--kopete/plugins/autoreplace/autoreplacepreferences.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/plugins/autoreplace/autoreplacepreferences.cpp b/kopete/plugins/autoreplace/autoreplacepreferences.cpp
index 628cb679..59d79b09 100644
--- a/kopete/plugins/autoreplace/autoreplacepreferences.cpp
+++ b/kopete/plugins/autoreplace/autoreplacepreferences.cpp
@@ -34,7 +34,7 @@
typedef KGenericFactory<AutoReplacePreferences> AutoReplacePreferencesFactory;
-K_EXPORT_COMPONENT_FACTORY( kcm_kopete_autotqreplace, AutoReplacePreferencesFactory( "kcm_kopete_autotqreplace" ) )
+K_EXPORT_COMPONENT_FACTORY( kcm_kopete_autoreplace, AutoReplacePreferencesFactory( "kcm_kopete_autoreplace" ) )
AutoReplacePreferences::AutoReplacePreferences( TQWidget *tqparent, const char * /* name */, const TQStringList &args )
: KCAutoConfigModule( AutoReplacePreferencesFactory::instance(), tqparent, args )
@@ -123,7 +123,7 @@ void AutoReplacePreferences::slotAddCouple()
TQListViewItem * lvi;
TQListViewItem * oldLvi = 0;
// see if we are replacing an existing entry
- if ( ( oldLvi = preferencesDialog->m_list->tqfindItem( k, 0 ) ) )
+ if ( ( oldLvi = preferencesDialog->m_list->findItem( k, 0 ) ) )
delete oldLvi;
lvi = new TQListViewItem( preferencesDialog->m_list, k, v );
// Triggers a size, tqgeometry and content update