summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/meanwhile/meanwhileaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/meanwhile/meanwhileaccount.cpp')
-rw-r--r--kopete/protocols/meanwhile/meanwhileaccount.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kopete/protocols/meanwhile/meanwhileaccount.cpp b/kopete/protocols/meanwhile/meanwhileaccount.cpp
index c130475b..9dba56f2 100644
--- a/kopete/protocols/meanwhile/meanwhileaccount.cpp
+++ b/kopete/protocols/meanwhile/meanwhileaccount.cpp
@@ -32,11 +32,11 @@
#include "kopeteaway.h"
#include <kinputdialog.h>
#include <kmessagebox.h>
-#include <qdict.h>
+#include <tqdict.h>
MeanwhileAccount::MeanwhileAccount(
MeanwhileProtocol *parent,
- const QString &accountID,
+ const TQString &accountID,
const char *name)
: Kopete::PasswordedAccount(parent, accountID, 0, name)
{
@@ -62,7 +62,7 @@ void MeanwhileAccount::setPlugin(MeanwhilePlugin *plugin)
}
bool MeanwhileAccount::createContact(
- const QString & contactId ,
+ const TQString & contactId ,
Kopete::MetaContact * parentContact)
{
MeanwhileContact* newContact = new MeanwhileContact(contactId,
@@ -78,7 +78,7 @@ bool MeanwhileAccount::createContact(
return newContact != 0L;
}
-void MeanwhileAccount::connectWithPassword(const QString &password)
+void MeanwhileAccount::connectWithPassword(const TQString &password)
{
if (password.isEmpty()) {
disconnect(Kopete::Account::Manual);
@@ -92,12 +92,12 @@ void MeanwhileAccount::connectWithPassword(const QString &password)
return;
}
- QObject::connect(m_session,
- SIGNAL(sessionStateChange(Kopete::OnlineStatus)),
- this, SLOT(slotSessionStateChange(Kopete::OnlineStatus)));
- QObject::connect(m_session,
- SIGNAL(serverNotification(const QString &)),
- this, SLOT(slotServerNotification(const QString&)));
+ TQObject::connect(m_session,
+ TQT_SIGNAL(sessionStateChange(Kopete::OnlineStatus)),
+ this, TQT_SLOT(slotSessionStateChange(Kopete::OnlineStatus)));
+ TQObject::connect(m_session,
+ TQT_SIGNAL(serverNotification(const TQString &)),
+ this, TQT_SLOT(slotServerNotification(const TQString&)));
}
@@ -138,15 +138,15 @@ KActionMenu * MeanwhileAccount::actionMenu()
menu->popupMenu()->insertSeparator();
#if 0
- menu->insert(new KAction(i18n("&Change Status Message"), QString::null, 0,
- this, SLOT(meanwhileChangeStatus()), this,
+ menu->insert(new KAction(i18n("&Change Status Message"), TQString::null, 0,
+ this, TQT_SLOT(meanwhileChangeStatus()), this,
"meanwhileChangeStatus"));
//infoPlugin->addCustomMenus(theMenu);
#endif
return menu;
}
-QString MeanwhileAccount::getServerName()
+TQString MeanwhileAccount::getServerName()
{
return configGroup()->readEntry("Server");
}
@@ -156,7 +156,7 @@ int MeanwhileAccount::getServerPort()
return configGroup()->readNumEntry("Port");
}
-void MeanwhileAccount::setServerName(const QString &server)
+void MeanwhileAccount::setServerName(const TQString &server)
{
configGroup()->writeEntry("Server", server);
}
@@ -198,25 +198,25 @@ bool MeanwhileAccount::getClientIDParams(int *clientID,
return custom_id;
}
-void MeanwhileAccount::slotServerNotification(const QString &mesg)
+void MeanwhileAccount::slotServerNotification(const TQString &mesg)
{
KMessageBox::queuedMessageBox(0, KMessageBox::Error , mesg,
i18n("Meanwhile Plugin: Message from server"), KMessageBox::Notify);
}
-QString MeanwhileAccount::meanwhileId() const
+TQString MeanwhileAccount::meanwhileId() const
{
return m_meanwhileId;
}
-void MeanwhileAccount::setAway(bool away, const QString &reason)
+void MeanwhileAccount::setAway(bool away, const TQString &reason)
{
MeanwhileProtocol *p = static_cast<MeanwhileProtocol *>(protocol());
setOnlineStatus(away ? p->statusIdle : p->statusOnline, reason);
}
void MeanwhileAccount::setOnlineStatus(const Kopete::OnlineStatus &status,
- const QString &reason)
+ const TQString &reason)
{
HERE;
Kopete::OnlineStatus oldstatus = myself()->onlineStatus();