summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/msnaddcontactpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/msn/msnaddcontactpage.cpp')
-rw-r--r--kopete/protocols/msn/msnaddcontactpage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/msn/msnaddcontactpage.cpp b/kopete/protocols/msn/msnaddcontactpage.cpp
index 337939e6..8bdf77a1 100644
--- a/kopete/protocols/msn/msnaddcontactpage.cpp
+++ b/kopete/protocols/msn/msnaddcontactpage.cpp
@@ -13,8 +13,8 @@
*/
-#include <qlayout.h>
-#include <qlineedit.h>
+#include <tqlayout.h>
+#include <tqlineedit.h>
#include <klocale.h>
#include <kmessagebox.h>
@@ -25,10 +25,10 @@
#include "kopeteaccount.h"
#include "kopeteuiglobal.h"
-MSNAddContactPage::MSNAddContactPage(bool connected, QWidget *parent, const char *name )
+MSNAddContactPage::MSNAddContactPage(bool connected, TQWidget *parent, const char *name )
: AddContactPage(parent,name)
{
- (new QVBoxLayout(this))->setAutoAdd(true);
+ (new TQVBoxLayout(this))->setAutoAdd(true);
/* if ( connected )
{*/
msndata = new msnAddUI(this);
@@ -41,8 +41,8 @@ MSNAddContactPage::MSNAddContactPage(bool connected, QWidget *parent, const char
/* }
else
{
- noaddMsg1 = new QLabel( i18n( "You need to be connected to be able to add contacts." ), this );
- noaddMsg2 = new QLabel( i18n( "Please connect to the MSN network and try again." ), this );
+ noaddMsg1 = new TQLabel( i18n( "You need to be connected to be able to add contacts." ), this );
+ noaddMsg2 = new TQLabel( i18n( "Please connect to the MSN network and try again." ), this );
canadd = false;
}*/
@@ -55,7 +55,7 @@ bool MSNAddContactPage::apply( Kopete::Account* i, Kopete::MetaContact*m )
{
if ( validateData() )
{
- QString userid = msndata->addID->text();
+ TQString userid = msndata->addID->text();
return i->addContact( userid , m, Kopete::Account::ChangeKABC );
}
return false;
@@ -67,7 +67,7 @@ bool MSNAddContactPage::validateData()
if(!canadd)
return false;
- QString userid = msndata->addID->text();
+ TQString userid = msndata->addID->text();
if(MSNProtocol::validContactId(userid))
return true;