summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/meanwhile
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/meanwhile
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/meanwhile')
-rw-r--r--kopete/protocols/meanwhile/meanwhileaccount.cpp26
-rw-r--r--kopete/protocols/meanwhile/meanwhileaccount.h7
-rw-r--r--kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp8
-rw-r--r--kopete/protocols/meanwhile/meanwhileaddcontactpage.h3
-rw-r--r--kopete/protocols/meanwhile/meanwhilecontact.cpp4
-rw-r--r--kopete/protocols/meanwhile/meanwhilecontact.h3
-rw-r--r--kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp10
-rw-r--r--kopete/protocols/meanwhile/meanwhileeditaccountwidget.h3
-rw-r--r--kopete/protocols/meanwhile/meanwhileplugin.cpp2
-rw-r--r--kopete/protocols/meanwhile/meanwhileplugin.h2
-rw-r--r--kopete/protocols/meanwhile/meanwhileprotocol.cpp28
-rw-r--r--kopete/protocols/meanwhile/meanwhileprotocol.h11
-rw-r--r--kopete/protocols/meanwhile/meanwhilesession.cpp10
-rw-r--r--kopete/protocols/meanwhile/meanwhilesession.h7
-rw-r--r--kopete/protocols/meanwhile/ui/meanwhileaddcontactbase.ui20
-rw-r--r--kopete/protocols/meanwhile/ui/meanwhileeditaccountbase.ui74
16 files changed, 112 insertions, 106 deletions
diff --git a/kopete/protocols/meanwhile/meanwhileaccount.cpp b/kopete/protocols/meanwhile/meanwhileaccount.cpp
index 9dba56f2..91ad1a0f 100644
--- a/kopete/protocols/meanwhile/meanwhileaccount.cpp
+++ b/kopete/protocols/meanwhile/meanwhileaccount.cpp
@@ -35,17 +35,17 @@
#include <tqdict.h>
MeanwhileAccount::MeanwhileAccount(
- MeanwhileProtocol *parent,
+ MeanwhileProtocol *tqparent,
const TQString &accountID,
const char *name)
- : Kopete::PasswordedAccount(parent, accountID, 0, name)
+ : Kopete::PasswordedAccount(tqparent, accountID, 0, name)
{
HERE;
m_meanwhileId = accountID;
m_session = 0L;
setMyself(new MeanwhileContact(m_meanwhileId, m_meanwhileId, this,
Kopete::ContactList::self()->myself()));
- setOnlineStatus(parent->statusOffline);
+ setOnlineStatus(tqparent->statusOffline);
infoPlugin = new MeanwhilePlugin();
}
@@ -63,15 +63,15 @@ void MeanwhileAccount::setPlugin(MeanwhilePlugin *plugin)
bool MeanwhileAccount::createContact(
const TQString & contactId ,
- Kopete::MetaContact * parentContact)
+ Kopete::MetaContact * tqparentContact)
{
MeanwhileContact* newContact = new MeanwhileContact(contactId,
- parentContact->displayName(), this, parentContact);
+ tqparentContact->displayName(), this, tqparentContact);
MeanwhileProtocol *p = static_cast<MeanwhileProtocol *>(protocol());
if ((newContact != 0L) && (m_session != 0L)
- && (myself()->onlineStatus() !=
+ && (myself()->onlinetqStatus() !=
p->statusOffline))
m_session->addContact(newContact);
@@ -109,7 +109,7 @@ void MeanwhileAccount::connectWithPassword(const TQString &password)
if (!m_session->isConnected() && !m_session->isConnecting())
m_session->connect(password);
- m_session->setStatus(initialStatus());
+ m_session->setStatus(initialtqStatus());
}
void MeanwhileAccount::disconnect()
@@ -123,7 +123,7 @@ void MeanwhileAccount::disconnect(Kopete::Account::DisconnectReason reason)
return;
MeanwhileProtocol *p = static_cast<MeanwhileProtocol *>(protocol());
- setAllContactsStatus(p->statusOffline);
+ setAllContactstqStatus(p->statusOffline);
disconnected(reason);
emit isConnectedChanged();
@@ -138,9 +138,9 @@ KActionMenu * MeanwhileAccount::actionMenu()
menu->popupMenu()->insertSeparator();
#if 0
- menu->insert(new KAction(i18n("&Change Status Message"), TQString::null, 0,
- this, TQT_SLOT(meanwhileChangeStatus()), this,
- "meanwhileChangeStatus"));
+ menu->insert(new KAction(i18n("&Change tqStatus Message"), TQString(), 0,
+ this, TQT_SLOT(meanwhileChangetqStatus()), this,
+ "meanwhileChangetqStatus"));
//infoPlugin->addCustomMenus(theMenu);
#endif
return menu;
@@ -219,7 +219,7 @@ void MeanwhileAccount::setOnlineStatus(const Kopete::OnlineStatus &status,
const TQString &reason)
{
HERE;
- Kopete::OnlineStatus oldstatus = myself()->onlineStatus();
+ Kopete::OnlineStatus oldstatus = myself()->onlinetqStatus();
mwDebug() << "From: " << oldstatus.description() << "(" <<
oldstatus.internalStatus() << "):" << oldstatus.isDefinitelyOnline()
@@ -256,7 +256,7 @@ void MeanwhileAccount::syncContactsToServer()
void MeanwhileAccount::slotSessionStateChange(Kopete::OnlineStatus status)
{
HERE;
- Kopete::OnlineStatus oldstatus = myself()->onlineStatus();
+ Kopete::OnlineStatus oldstatus = myself()->onlinetqStatus();
myself()->setOnlineStatus(status);
if (status.isDefinitelyOnline() != oldstatus.isDefinitelyOnline()) {
diff --git a/kopete/protocols/meanwhile/meanwhileaccount.h b/kopete/protocols/meanwhile/meanwhileaccount.h
index ba747212..daa5ca0c 100644
--- a/kopete/protocols/meanwhile/meanwhileaccount.h
+++ b/kopete/protocols/meanwhile/meanwhileaccount.h
@@ -30,6 +30,7 @@ class MeanwhileSession;
class MeanwhileAccount : public Kopete::PasswordedAccount
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Create a new Meanwhile account
@@ -43,7 +44,7 @@ public:
~MeanwhileAccount();
virtual bool createContact(const TQString &contactId,
- Kopete::MetaContact *parentContact);
+ Kopete::MetaContact *tqparentContact);
virtual void connectWithPassword(const TQString &password);
@@ -104,8 +105,8 @@ public slots:
/** Reimplemented from Kopete::Account */
void setOnlineStatus(const Kopete::OnlineStatus& status,
- const TQString &reason = TQString::null);
- void setAway(bool away, const TQString&reason = TQString::null);
+ const TQString &reason = TQString());
+ void setAway(bool away, const TQString&reason = TQString());
private:
/** Current online status */
diff --git a/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp b/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp
index 44b10bbc..7eb44fd2 100644
--- a/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp
+++ b/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp
@@ -26,10 +26,10 @@
#include "meanwhileplugin.h"
MeanwhileAddContactPage::MeanwhileAddContactPage(
- TQWidget* parent,
+ TQWidget* tqparent,
Kopete::Account *_account)
- : AddContactPage(parent, 0L), theAccount(_account),
- theParent(parent)
+ : AddContactPage(tqparent, 0L), theAccount(_account),
+ theParent(tqparent)
{
( new TQVBoxLayout( this ) )->setAutoAdd( true );
theDialog = new MeanwhileAddContactBase(this);
@@ -37,7 +37,7 @@ MeanwhileAddContactPage::MeanwhileAddContactPage(
static_cast<MeanwhileAccount *>(_account);
if (account->infoPlugin->canProvideMeanwhileId())
{
- TQObject::connect(theDialog->btnFindUser, TQT_SIGNAL(clicked()),
+ TQT_BASE_OBJECT_NAME::connect(theDialog->btnFindUser, TQT_SIGNAL(clicked()),
TQT_SLOT(slotFindUser()));
}
else
diff --git a/kopete/protocols/meanwhile/meanwhileaddcontactpage.h b/kopete/protocols/meanwhile/meanwhileaddcontactpage.h
index fdf6445c..4807b3e0 100644
--- a/kopete/protocols/meanwhile/meanwhileaddcontactpage.h
+++ b/kopete/protocols/meanwhile/meanwhileaddcontactpage.h
@@ -26,8 +26,9 @@ namespace Kopete { class MetaContact; }
class MeanwhileAddContactPage : public AddContactPage
{
Q_OBJECT
+ TQ_OBJECT
public:
- MeanwhileAddContactPage( TQWidget* parent = 0,
+ MeanwhileAddContactPage( TQWidget* tqparent = 0,
Kopete::Account *account=0);
~MeanwhileAddContactPage();
diff --git a/kopete/protocols/meanwhile/meanwhilecontact.cpp b/kopete/protocols/meanwhile/meanwhilecontact.cpp
index e77d470a..450bc8e4 100644
--- a/kopete/protocols/meanwhile/meanwhilecontact.cpp
+++ b/kopete/protocols/meanwhile/meanwhilecontact.cpp
@@ -30,8 +30,8 @@
#include "meanwhileplugin.h"
MeanwhileContact::MeanwhileContact(TQString userId, TQString nickname,
- MeanwhileAccount *account, Kopete::MetaContact *parent)
- : Kopete::Contact(account, userId, parent)
+ MeanwhileAccount *account, Kopete::MetaContact *tqparent)
+ : Kopete::Contact(account, userId, tqparent)
{
setNickName(nickname);
m_msgManager = 0L;
diff --git a/kopete/protocols/meanwhile/meanwhilecontact.h b/kopete/protocols/meanwhile/meanwhilecontact.h
index 048a4b0f..28f49c2a 100644
--- a/kopete/protocols/meanwhile/meanwhilecontact.h
+++ b/kopete/protocols/meanwhile/meanwhilecontact.h
@@ -31,10 +31,11 @@ namespace Kopete { class MetaContact; }
class MeanwhileContact : public Kopete::Contact
{
Q_OBJECT
+ TQ_OBJECT
public:
MeanwhileContact(TQString userId, TQString nickname,
- MeanwhileAccount *account, Kopete::MetaContact *parent);
+ MeanwhileAccount *account, Kopete::MetaContact *tqparent);
~MeanwhileContact();
virtual bool isReachable();
diff --git a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp
index edaa66f6..e1ef6100 100644
--- a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp
+++ b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp
@@ -40,8 +40,8 @@ void MeanwhileEditAccountWidget::setupClientList()
for (id = MeanwhileSession::getClientIDs(); id->name; id++, i++) {
TQString name = TQString("%1 (0x%2)")
- .arg(TQString(id->name))
- .arg(id->id, 0, 16);
+ .tqarg(TQString(id->name))
+ .tqarg(id->id, 0, 16);
mClientID->insertItem(name, i);
@@ -64,10 +64,10 @@ void MeanwhileEditAccountWidget::selectClientListItem(int selectedID)
}
MeanwhileEditAccountWidget::MeanwhileEditAccountWidget(
- TQWidget* parent,
+ TQWidget* tqparent,
Kopete::Account* theAccount,
MeanwhileProtocol *theProtocol)
- : MeanwhileEditAccountBase(parent),
+ : MeanwhileEditAccountBase(tqparent),
KopeteEditAccountWidget( theAccount )
{
protocol = theProtocol;
@@ -106,7 +106,7 @@ MeanwhileEditAccountWidget::MeanwhileEditAccountWidget(
slotSetServer2Default();
}
- TQObject::connect(btnServerDefaults, TQT_SIGNAL(clicked()),
+ TQT_BASE_OBJECT_NAME::connect(btnServerDefaults, TQT_SIGNAL(clicked()),
TQT_SLOT(slotSetServer2Default()));
show();
diff --git a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.h b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.h
index effb51be..a208b5f2 100644
--- a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.h
+++ b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.h
@@ -29,8 +29,9 @@ class MeanwhileEditAccountWidget :
public KopeteEditAccountWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- MeanwhileEditAccountWidget( TQWidget* parent,
+ MeanwhileEditAccountWidget( TQWidget* tqparent,
Kopete::Account* account,
MeanwhileProtocol *protocol);
diff --git a/kopete/protocols/meanwhile/meanwhileplugin.cpp b/kopete/protocols/meanwhile/meanwhileplugin.cpp
index 4ee995dd..13a06b11 100644
--- a/kopete/protocols/meanwhile/meanwhileplugin.cpp
+++ b/kopete/protocols/meanwhile/meanwhileplugin.cpp
@@ -18,7 +18,7 @@
#include <tqlineedit.h>
#include "meanwhileplugin.h"
-void MeanwhilePlugin::getMeanwhileId(TQWidget * /*parent*/,
+void MeanwhilePlugin::getMeanwhileId(TQWidget * /*tqparent*/,
TQLineEdit * /*fillThis*/)
{
}
diff --git a/kopete/protocols/meanwhile/meanwhileplugin.h b/kopete/protocols/meanwhile/meanwhileplugin.h
index 072ffc08..3c5c2768 100644
--- a/kopete/protocols/meanwhile/meanwhileplugin.h
+++ b/kopete/protocols/meanwhile/meanwhileplugin.h
@@ -29,7 +29,7 @@ public:
* - like do lookups in company databases
* when done fill 'fillThis' with the id of the contact
*/
- virtual void getMeanwhileId(TQWidget *parent,TQLineEdit *fillThis);
+ virtual void getMeanwhileId(TQWidget *tqparent,TQLineEdit *fillThis);
/* can this plugin provide the above functionality */
virtual bool canProvideMeanwhileId();
diff --git a/kopete/protocols/meanwhile/meanwhileprotocol.cpp b/kopete/protocols/meanwhile/meanwhileprotocol.cpp
index b9915e94..b20eb48a 100644
--- a/kopete/protocols/meanwhile/meanwhileprotocol.cpp
+++ b/kopete/protocols/meanwhile/meanwhileprotocol.cpp
@@ -29,17 +29,17 @@ typedef KGenericFactory<MeanwhileProtocol> MeanwhileProtocolFactory;
K_EXPORT_COMPONENT_FACTORY(kopete_meanwhile,
MeanwhileProtocolFactory("kopete_meanwhile"))
-MeanwhileProtocol::MeanwhileProtocol(TQObject* parent, const char *name,
+MeanwhileProtocol::MeanwhileProtocol(TQObject* tqparent, const char *name,
const TQStringList &/*args*/)
-: Kopete::Protocol(MeanwhileProtocolFactory::instance(), parent, name),
+: Kopete::Protocol(MeanwhileProtocolFactory::instance(), tqparent, name),
- statusOffline(Kopete::OnlineStatus::Offline, 25, this, 0, TQString::null,
+ statusOffline(Kopete::OnlineStatus::Offline, 25, this, 0, TQString(),
i18n("Offline"), i18n("Offline"),
Kopete::OnlineStatusManager::Offline,
Kopete::OnlineStatusManager::DisabledIfOffline),
statusOnline(Kopete::OnlineStatus::Online, 25, this, mwStatus_ACTIVE,
- TQString::null, i18n("Online"), i18n("Online"),
+ TQString(), i18n("Online"), i18n("Online"),
Kopete::OnlineStatusManager::Online, 0),
statusAway(Kopete::OnlineStatus::Away, 20, this, mwStatus_AWAY,
@@ -57,10 +57,10 @@ MeanwhileProtocol::MeanwhileProtocol(TQObject* parent, const char *name,
Kopete::OnlineStatusManager::Idle, 0),
statusAccountOffline(Kopete::OnlineStatus::Offline, 0, this, 0,
- TQString::null, i18n("Account Offline")),
+ TQString(), i18n("Account Offline")),
- statusMessage(TQString::fromLatin1("statusMessage"),
- i18n("Status Message"), TQString::null, false, true),
+ statusMessage(TQString::tqfromLatin1("statusMessage"),
+ i18n("tqStatus Message"), TQString(), false, true),
awayMessage(Kopete::Global::Properties::self()->awayMessage())
{
@@ -73,16 +73,16 @@ MeanwhileProtocol::~MeanwhileProtocol()
{
}
-AddContactPage * MeanwhileProtocol::createAddContactWidget(TQWidget *parent,
+AddContactPage * MeanwhileProtocol::createAddContactWidget(TQWidget *tqparent,
Kopete::Account *account )
{
- return new MeanwhileAddContactPage(parent, account);
+ return new MeanwhileAddContactPage(tqparent, account);
}
KopeteEditAccountWidget * MeanwhileProtocol::createEditAccountWidget(
- Kopete::Account *account, TQWidget *parent )
+ Kopete::Account *account, TQWidget *tqparent )
{
- return new MeanwhileEditAccountWidget(parent, account, this);
+ return new MeanwhileEditAccountWidget(tqparent, account, this);
}
Kopete::Account *MeanwhileProtocol::createNewAccount(const TQString &accountId)
@@ -113,14 +113,14 @@ Kopete::Contact *MeanwhileProtocol::deserializeContact(
return theAccount->contacts()[contactId];
}
-const Kopete::OnlineStatus MeanwhileProtocol::accountOfflineStatus()
+const Kopete::OnlineStatus MeanwhileProtocol::accountOfflinetqStatus()
{
return statusAccountOffline;
}
-const Kopete::OnlineStatus MeanwhileProtocol::lookupStatus(
+const Kopete::OnlineStatus MeanwhileProtocol::lookuptqStatus(
enum Kopete::OnlineStatusManager::Categories cats)
{
- return Kopete::OnlineStatusManager::self()->onlineStatus(this, cats);
+ return Kopete::OnlineStatusManager::self()->onlinetqStatus(this, cats);
}
#include "meanwhileprotocol.moc"
diff --git a/kopete/protocols/meanwhile/meanwhileprotocol.h b/kopete/protocols/meanwhile/meanwhileprotocol.h
index 343d443f..98c8804a 100644
--- a/kopete/protocols/meanwhile/meanwhileprotocol.h
+++ b/kopete/protocols/meanwhile/meanwhileprotocol.h
@@ -38,17 +38,18 @@ class MeanwhileAddContactPage;
class MeanwhileProtocol : public Kopete::Protocol
{
Q_OBJECT
+ TQ_OBJECT
public:
- MeanwhileProtocol(TQObject *parent, const char *name,
+ MeanwhileProtocol(TQObject *tqparent, const char *name,
const TQStringList &args);
~MeanwhileProtocol();
- virtual AddContactPage *createAddContactWidget(TQWidget *parent,
+ virtual AddContactPage *createAddContactWidget(TQWidget *tqparent,
Kopete::Account *account);
virtual KopeteEditAccountWidget *createEditAccountWidget(
- Kopete::Account *account, TQWidget *parent);
+ Kopete::Account *account, TQWidget *tqparent);
virtual Kopete::Account *createNewAccount(const TQString &accountId);
@@ -57,9 +58,9 @@ public:
const TQMap<TQString,TQString> &serializedData,
const TQMap<TQString, TQString> &addressBookData);
- const Kopete::OnlineStatus accountOfflineStatus();
+ const Kopete::OnlineStatus accountOfflinetqStatus();
- const Kopete::OnlineStatus lookupStatus(
+ const Kopete::OnlineStatus lookuptqStatus(
enum Kopete::OnlineStatusManager::Categories cats);
const Kopete::OnlineStatus statusOffline;
diff --git a/kopete/protocols/meanwhile/meanwhilesession.cpp b/kopete/protocols/meanwhile/meanwhilesession.cpp
index c7121875..5f367540 100644
--- a/kopete/protocols/meanwhile/meanwhilesession.cpp
+++ b/kopete/protocols/meanwhile/meanwhilesession.cpp
@@ -426,7 +426,7 @@ void MeanwhileSession::syncContactsToServer()
if (contactgroup->type() == Kopete::Group::TopLevel) {
stgroup = topstgroup;
} else {
- /* find (or create) a matching sametime list group */
+ /* tqfind (or create) a matching sametime list group */
stgroup = mwSametimeList_findGroup(list,
contactgroup->displayName().ascii());
if (stgroup == 0L) {
@@ -473,7 +473,7 @@ void MeanwhileSession::slotSocketDataAvailable()
{
HERE;
guchar *buf;
- Q_LONG bytesRead;
+ TQ_LONG bytesRead;
if (socket == 0L)
return;
@@ -548,17 +548,17 @@ void MeanwhileSession::resolveContactNickname(MeanwhileContact *contact)
TQString MeanwhileSession::getNickName(struct mwLoginInfo *logininfo)
{
if (logininfo == 0L || logininfo->user_name == 0L)
- return TQString::null;
+ return TQString();
return getNickName(logininfo->user_name);
}
TQString MeanwhileSession::getNickName(TQString name)
{
- int index = name.find(" - ");
+ int index = name.tqfind(" - ");
if (index != -1)
name = name.remove(0, index + 3);
- index = name.find('/');
+ index = name.tqfind('/');
if (index != -1)
name = name.left(index);
diff --git a/kopete/protocols/meanwhile/meanwhilesession.h b/kopete/protocols/meanwhile/meanwhilesession.h
index b7d7f8c7..9d583a8b 100644
--- a/kopete/protocols/meanwhile/meanwhilesession.h
+++ b/kopete/protocols/meanwhile/meanwhilesession.h
@@ -33,9 +33,10 @@ struct MeanwhileClientID {
/**
* A class to handle libmeanwhile session management.
*/
-class MeanwhileSession : public QObject
+class MeanwhileSession : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -70,7 +71,7 @@ public:
* @param msg a custom message to use, if required
*/
void setStatus(Kopete::OnlineStatus status,
- const TQString msg = TQString::null);
+ const TQString msg = TQString());
/**
* Add a single contact to be registered for status updates
@@ -228,7 +229,7 @@ private:
TQString getNickName(struct mwLoginInfo *logininfo);
/**
- * Resolve a contact to find (and set) the display name. This requires the
+ * Resolve a contact to tqfind (and set) the display name. This requires the
* session to be connected to use the meanwhile resolve service.
* @param contact The contact to resolve
*/
diff --git a/kopete/protocols/meanwhile/ui/meanwhileaddcontactbase.ui b/kopete/protocols/meanwhile/ui/meanwhileaddcontactbase.ui
index d146a8ed..d323bbe9 100644
--- a/kopete/protocols/meanwhile/ui/meanwhileaddcontactbase.ui
+++ b/kopete/protocols/meanwhile/ui/meanwhileaddcontactbase.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>MeanwhileAddContactBase</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>Form1</cstring>
</property>
@@ -25,15 +25,15 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout53</cstring>
+ <cstring>tqlayout53</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -50,7 +50,7 @@
<string>The user id of the contact you would like to add.</string>
</property>
</widget>
- <widget class="QLineEdit">
+ <widget class="TQLineEdit">
<property name="name">
<cstring>contactID</cstring>
</property>
@@ -61,7 +61,7 @@
<string>The user id of the contact you would like to add.</string>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>btnFindUser</cstring>
</property>
@@ -77,14 +77,14 @@
</widget>
</hbox>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel3_2</cstring>
</property>
<property name="text">
<string>&lt;i&gt;(for example: johndoe)&lt;/i&gt;</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -98,7 +98,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>80</height>
@@ -107,5 +107,5 @@
</spacer>
</vbox>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kopete/protocols/meanwhile/ui/meanwhileeditaccountbase.ui b/kopete/protocols/meanwhile/ui/meanwhileeditaccountbase.ui
index 2f160039..39bde950 100644
--- a/kopete/protocols/meanwhile/ui/meanwhileeditaccountbase.ui
+++ b/kopete/protocols/meanwhile/ui/meanwhileeditaccountbase.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>MeanwhileEditAccountBase</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>MeanwhileEditAccountBase</cstring>
</property>
@@ -19,11 +19,11 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QTabWidget">
+ <widget class="TQTabWidget">
<property name="name">
<cstring>tabWidget11</cstring>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -34,7 +34,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox53</cstring>
</property>
@@ -45,15 +45,15 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout81</cstring>
+ <cstring>tqlayout81</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>label1</cstring>
</property>
@@ -70,7 +70,7 @@
<string>Your Sametime userid</string>
</property>
</widget>
- <widget class="QLineEdit">
+ <widget class="TQLineEdit">
<property name="name">
<cstring>mScreenName</cstring>
</property>
@@ -88,7 +88,7 @@
<cstring>mPasswordWidget</cstring>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>mAutoConnect</cstring>
</property>
@@ -103,7 +103,7 @@
</widget>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -114,7 +114,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox54</cstring>
</property>
@@ -125,23 +125,23 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout21</cstring>
+ <cstring>tqlayout21</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout56</cstring>
+ <cstring>tqlayout56</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>lblServer</cstring>
</property>
@@ -158,7 +158,7 @@
<string>The IP address or hostname of the Sametime server you wish to connect to.</string>
</property>
</widget>
- <widget class="QLineEdit">
+ <widget class="TQLineEdit">
<property name="name">
<cstring>mServerName</cstring>
</property>
@@ -171,15 +171,15 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout57</cstring>
+ <cstring>tqlayout57</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>lblPort</cstring>
</property>
@@ -196,7 +196,7 @@
<string>The port on the Sametime server that you would like to connect to. Usually this is 1533.</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>mServerPort</cstring>
</property>
@@ -220,7 +220,7 @@
</widget>
</hbox>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox5</cstring>
</property>
@@ -231,7 +231,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>chkCustomClientID</cstring>
</property>
@@ -239,15 +239,15 @@
<string>Use custom client identifier</string>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout17</cstring>
+ <cstring>tqlayout17</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox" row="0" column="1">
+ <widget class="TQComboBox" row="0" column="1">
<property name="name">
<cstring>mClientID</cstring>
</property>
@@ -255,7 +255,7 @@
<bool>false</bool>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>lblClientIdentifier</cstring>
</property>
@@ -269,15 +269,15 @@
<cstring>mClientID</cstring>
</property>
</widget>
- <widget class="QLayoutWidget" row="1" column="1">
+ <widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
- <cstring>layout13</cstring>
+ <cstring>tqlayout13</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>mClientVersionMajor</cstring>
</property>
@@ -288,7 +288,7 @@
<number>65535</number>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>lblVersionSeparator</cstring>
</property>
@@ -298,11 +298,11 @@
<property name="text">
<string>.</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignCenter</set>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>mClientVersionMinor</cstring>
</property>
@@ -315,7 +315,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>lblClientVersion</cstring>
</property>
@@ -333,7 +333,7 @@
</widget>
</vbox>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>btnServerDefaults</cstring>
</property>
@@ -357,7 +357,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>31</height>
@@ -430,7 +430,7 @@
<tabstops>
<tabstop>mScreenName</tabstop>
</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kopetepasswordwidget.h</includehint>
</includehints>