summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp')
-rw-r--r--kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp b/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
index b1ab2eb4..3461ed8f 100644
--- a/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
@@ -18,13 +18,13 @@
#include <ctype.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qcombobox.h>
-#include <qcheckbox.h>
-#include <qlineedit.h>
-#include <qtabwidget.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqpushbutton.h>
+#include <tqcombobox.h>
+#include <tqcheckbox.h>
+#include <tqlineedit.h>
+#include <tqtabwidget.h>
+#include <tqlabel.h>
#include <kdebug.h>
#include <kiconloader.h>
@@ -39,28 +39,28 @@
#include "icqsearchdialog.h"
-ICQAddContactPage::ICQAddContactPage(ICQAccount *owner, QWidget *parent, const char *name)
+ICQAddContactPage::ICQAddContactPage(ICQAccount *owner, TQWidget *parent, const char *name)
: AddContactPage(parent,name)
{
kdDebug(14153) << k_funcinfo << "called" << endl;
mAccount = owner;
m_searchDialog = 0L;
- (new QVBoxLayout(this))->setAutoAdd(true);
+ (new TQVBoxLayout(this))->setAutoAdd(true);
addUI = new icqAddUI(this);
- connect( addUI->searchButton, SIGNAL( clicked() ), this, SLOT( showSearchDialog() ) );
+ connect( addUI->searchButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( showSearchDialog() ) );
}
ICQAddContactPage::~ICQAddContactPage()
{
}
-void ICQAddContactPage::setUINFromSearch( const QString& uin )
+void ICQAddContactPage::setUINFromSearch( const TQString& uin )
{
addUI->uinEdit->setText( uin );
}
-void ICQAddContactPage::showEvent(QShowEvent *e)
+void ICQAddContactPage::showEvent(TQShowEvent *e)
{
// slotSelectionChanged();
AddContactPage::showEvent(e);
@@ -70,7 +70,7 @@ bool ICQAddContactPage::apply(Kopete::Account* , Kopete::MetaContact *parentCont
{
kdDebug(14153) << k_funcinfo << "called; adding contact..." << endl;
- QString contactId = addUI->uinEdit->text();
+ TQString contactId = addUI->uinEdit->text();
kdDebug(14153) << k_funcinfo << "uin=" << contactId << endl;
return mAccount->addContact(contactId, parentContact, Kopete::Account::ChangeKABC );
@@ -109,13 +109,13 @@ void ICQAddContactPage::showSearchDialog()
{
m_searchDialog = new ICQSearchDialog( mAccount, this, "icqSearchDialog" );
m_searchDialog->show();
- connect( m_searchDialog, SIGNAL( finished() ), this, SLOT( searchDialogDestroyed() ) );
+ connect( m_searchDialog, TQT_SIGNAL( finished() ), this, TQT_SLOT( searchDialogDestroyed() ) );
}
}
void ICQAddContactPage::searchDialogDestroyed()
{
- QObject::disconnect( this, 0, m_searchDialog, 0 );
+ TQObject::disconnect( this, 0, m_searchDialog, 0 );
m_searchDialog->delayedDestruct();
m_searchDialog = NULL;
}