summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/oscarvisibilitydialog.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/protocols/oscar/oscarvisibilitydialog.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/protocols/oscar/oscarvisibilitydialog.cpp')
-rw-r--r--kopete/protocols/oscar/oscarvisibilitydialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/protocols/oscar/oscarvisibilitydialog.cpp b/kopete/protocols/oscar/oscarvisibilitydialog.cpp
index 77f3894a..c2fa021e 100644
--- a/kopete/protocols/oscar/oscarvisibilitydialog.cpp
+++ b/kopete/protocols/oscar/oscarvisibilitydialog.cpp
@@ -25,8 +25,8 @@
#include "client.h"
-OscarVisibilityDialog::OscarVisibilityDialog( Client* client, TQWidget* parent )
- : KDialogBase( parent, 0, false, i18n( "Add Contacts to Visible or Invisible List" ),
+OscarVisibilityDialog::OscarVisibilityDialog( Client* client, TQWidget* tqparent )
+ : KDialogBase( tqparent, 0, false, i18n( "Add Contacts to Visible or Invisible List" ),
Ok | Cancel ), m_client( client )
{
m_visibilityUI = new OscarVisibilityBase( this );
@@ -70,7 +70,7 @@ void OscarVisibilityDialog::slotAddToVisible()
TQString contactId = m_contactMap[itm->text()];
m_visibleListChangesMap[contactId] = Add;
- if ( !m_visibilityUI->visibleContacts->findItem( itm->text(), Qt::CaseSensitive | Qt::ExactMatch ) )
+ if ( !m_visibilityUI->visibleContacts->tqfindItem( itm->text(), TQt::CaseSensitive | TQt::ExactMatch ) )
m_visibilityUI->visibleContacts->insertItem( itm->text() );
}
@@ -94,7 +94,7 @@ void OscarVisibilityDialog::slotAddToInvisible()
TQString contactId = m_contactMap[itm->text()];
m_invisibleListChangesMap[contactId] = Add;
- if ( !m_visibilityUI->invisibleContacts->findItem( itm->text(), Qt::CaseSensitive | Qt::ExactMatch ) )
+ if ( !m_visibilityUI->invisibleContacts->tqfindItem( itm->text(), TQt::CaseSensitive | TQt::ExactMatch ) )
m_visibilityUI->invisibleContacts->insertItem( itm->text() );
}