summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/autoreplace/autoreplacepreferences.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/plugins/autoreplace/autoreplacepreferences.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/autoreplace/autoreplacepreferences.cpp')
-rw-r--r--kopete/plugins/autoreplace/autoreplacepreferences.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/plugins/autoreplace/autoreplacepreferences.cpp b/kopete/plugins/autoreplace/autoreplacepreferences.cpp
index 4f852610..628cb679 100644
--- a/kopete/plugins/autoreplace/autoreplacepreferences.cpp
+++ b/kopete/plugins/autoreplace/autoreplacepreferences.cpp
@@ -34,10 +34,10 @@
typedef KGenericFactory<AutoReplacePreferences> AutoReplacePreferencesFactory;
-K_EXPORT_COMPONENT_FACTORY( kcm_kopete_autoreplace, AutoReplacePreferencesFactory( "kcm_kopete_autoreplace" ) )
+K_EXPORT_COMPONENT_FACTORY( kcm_kopete_autotqreplace, AutoReplacePreferencesFactory( "kcm_kopete_autotqreplace" ) )
-AutoReplacePreferences::AutoReplacePreferences( TQWidget *parent, const char * /* name */, const TQStringList &args )
-: KCAutoConfigModule( AutoReplacePreferencesFactory::instance(), parent, args )
+AutoReplacePreferences::AutoReplacePreferences( TQWidget *tqparent, const char * /* name */, const TQStringList &args )
+: KCAutoConfigModule( AutoReplacePreferencesFactory::instance(), tqparent, args )
{
( new TQVBoxLayout( this ) )->setAutoAdd( true );
preferencesDialog = new AutoReplacePrefsUI( this );
@@ -113,7 +113,7 @@ void AutoReplacePreferences::save()
KCAutoConfigModule::save();
}
-// read m_key m_value, create a QListViewItem
+// read m_key m_value, create a TQListViewItem
void AutoReplacePreferences::slotAddCouple()
{
TQString k = preferencesDialog->m_key->text();
@@ -123,10 +123,10 @@ void AutoReplacePreferences::slotAddCouple()
TQListViewItem * lvi;
TQListViewItem * oldLvi = 0;
// see if we are replacing an existing entry
- if ( ( oldLvi = preferencesDialog->m_list->findItem( k, 0 ) ) )
+ if ( ( oldLvi = preferencesDialog->m_list->tqfindItem( k, 0 ) ) )
delete oldLvi;
lvi = new TQListViewItem( preferencesDialog->m_list, k, v );
- // Triggers a size, geometry and content update
+ // Triggers a size, tqgeometry and content update
// during the next iteration of the event loop
preferencesDialog->m_list->triggerUpdate();
// select last added