summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq/ui/icqaddcontactpage.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/icq/ui/icqaddcontactpage.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/icq/ui/icqaddcontactpage.cpp')
-rw-r--r--kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp b/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
index 3461ed8f..6280644b 100644
--- a/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
@@ -39,8 +39,8 @@
#include "icqsearchdialog.h"
-ICQAddContactPage::ICQAddContactPage(ICQAccount *owner, TQWidget *parent, const char *name)
- : AddContactPage(parent,name)
+ICQAddContactPage::ICQAddContactPage(ICQAccount *owner, TQWidget *tqparent, const char *name)
+ : AddContactPage(tqparent,name)
{
kdDebug(14153) << k_funcinfo << "called" << endl;
mAccount = owner;
@@ -66,13 +66,13 @@ void ICQAddContactPage::showEvent(TQShowEvent *e)
AddContactPage::showEvent(e);
}
-bool ICQAddContactPage::apply(Kopete::Account* , Kopete::MetaContact *parentContact )
+bool ICQAddContactPage::apply(Kopete::Account* , Kopete::MetaContact *tqparentContact )
{
kdDebug(14153) << k_funcinfo << "called; adding contact..." << endl;
TQString contactId = addUI->uinEdit->text();
kdDebug(14153) << k_funcinfo << "uin=" << contactId << endl;
- return mAccount->addContact(contactId, parentContact, Kopete::Account::ChangeKABC );
+ return mAccount->addContact(contactId, tqparentContact, Kopete::Account::ChangeKABC );
}
@@ -87,7 +87,7 @@ bool ICQAddContactPage::validateData()
return false;
}
- Q_ULONG uin = addUI->uinEdit->text().toULong();
+ TQ_ULONG uin = addUI->uinEdit->text().toULong();
if ( uin < 1000 )
{
// Invalid (or missing) UIN
@@ -123,4 +123,4 @@ void ICQAddContactPage::searchDialogDestroyed()
#include "icqaddcontactpage.moc"
// vim: set noet ts=4 sts=4 sw=4:
-// kate: indent-mode csands; space-indent off; replace-tabs off;
+// kate: indent-mode csands; space-indent off; tqreplace-tabs off;