summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/managedconnectionaccount.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/libkopete/managedconnectionaccount.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/libkopete/managedconnectionaccount.cpp')
-rw-r--r--kopete/libkopete/managedconnectionaccount.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/libkopete/managedconnectionaccount.cpp b/kopete/libkopete/managedconnectionaccount.cpp
index 0f1625b2..cf14ed2f 100644
--- a/kopete/libkopete/managedconnectionaccount.cpp
+++ b/kopete/libkopete/managedconnectionaccount.cpp
@@ -24,17 +24,17 @@
namespace Kopete
{
-ManagedConnectionAccount::ManagedConnectionAccount( Protocol *parent, const QString &acctId, uint maxPasswordLength, const char *name )
+ManagedConnectionAccount::ManagedConnectionAccount( Protocol *parent, const TQString &acctId, uint maxPasswordLength, const char *name )
: PasswordedAccount( parent, acctId, maxPasswordLength, name ), m_waitingForConnection( false )
{
- QObject::connect( ConnectionManager::self(), SIGNAL(statusChanged(const QString&, NetworkStatus::EnumStatus ) ),
- SLOT(slotConnectionStatusChanged(const QString&, NetworkStatus::EnumStatus ) ) );
+ TQObject::connect( ConnectionManager::self(), TQT_SIGNAL(statusChanged(const TQString&, NetworkStatus::EnumStatus ) ),
+ TQT_SLOT(slotConnectionStatusChanged(const TQString&, NetworkStatus::EnumStatus ) ) );
}
-void ManagedConnectionAccount::connectWithPassword( const QString &password )
+void ManagedConnectionAccount::connectWithPassword( const TQString &password )
{
m_password = password;
- NetworkStatus::EnumStatus status = ConnectionManager::self()->status( QString::null );
+ NetworkStatus::EnumStatus status = ConnectionManager::self()->status( TQString::null );
if ( status == NetworkStatus::NoNetworks )
performConnectWithPassword( password );
else
@@ -42,7 +42,7 @@ void ManagedConnectionAccount::connectWithPassword( const QString &password )
m_waitingForConnection = true;
// need to adapt libkopete so we know the hostname in this class and whether the connection was user initiated
// for now, these are the default parameters to always bring up a connection to "the internet".
- NetworkStatus::EnumRequestResult response = ConnectionManager::self()->requestConnection( Kopete::UI::Global::mainWidget(), QString::null, true );
+ NetworkStatus::EnumRequestResult response = ConnectionManager::self()->requestConnection( Kopete::UI::Global::mainWidget(), TQString::null, true );
if ( response == NetworkStatus::Connected )
{
m_waitingForConnection = false;
@@ -53,7 +53,7 @@ void ManagedConnectionAccount::connectWithPassword( const QString &password )
}
}
-void ManagedConnectionAccount::slotConnectionStatusChanged( const QString & host, NetworkStatus::EnumStatus status )
+void ManagedConnectionAccount::slotConnectionStatusChanged( const TQString & host, NetworkStatus::EnumStatus status )
{
Q_UNUSED(host); // as above, we didn't register a hostname, so treat any connection as our own.