summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabberprotocol.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /kopete/protocols/jabber/jabberprotocol.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'kopete/protocols/jabber/jabberprotocol.cpp')
-rw-r--r--kopete/protocols/jabber/jabberprotocol.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/protocols/jabber/jabberprotocol.cpp b/kopete/protocols/jabber/jabberprotocol.cpp
index a7cf3a78..0b73f38b 100644
--- a/kopete/protocols/jabber/jabberprotocol.cpp
+++ b/kopete/protocols/jabber/jabberprotocol.cpp
@@ -90,8 +90,8 @@ JabberProtocol::JabberProtocol (TQObject * parent, const char *name, const TQStr
propWorkPhone(Kopete::Global::Properties::self()->workPhone()),
propWorkMobilePhone(Kopete::Global::Properties::self()->workMobilePhone()),
propNickName(Kopete::Global::Properties::self()->nickName()),
- propSubscriptionStatus("jabberSubscriptionStatus", i18n ("Subscription"), TQString(), true, false),
- propAuthorizationStatus("jabberAuthorizationStatus", i18n ("Authorization Status"), TQString(), true, false),
+ propSubscriptiontqStatus("jabberSubscriptionStatus", i18n ("Subscription"), TQString(), true, false),
+ propAuthorizationtqStatus("jabberAuthorizationStatus", i18n ("Authorization Status"), TQString(), true, false),
propAvailableResources("jabberAvailableResources", i18n ("Available Resources"), "jabber_chatty", false, true),
propVCardCacheTimeStamp("jabberVCardCacheTimeStamp", i18n ("vCard Cache Timestamp"), TQString(), true, false, true),
propPhoto(Kopete::Global::Properties::self()->photo()),
@@ -304,42 +304,42 @@ Kopete::Contact *JabberProtocol::deserializeContact (Kopete::MetaContact * metaC
return account->contacts()[contactId];
}
-XMPP::Status JabberProtocol::kosToStatus( const Kopete::OnlineStatus & status , const TQString & message )
+XMPP::tqStatus JabberProtocol::kosTotqStatus( const Kopete::OnlineStatus & status , const TQString & message )
{
- XMPP::Status xmppStatus ( "", message );
+ XMPP::tqStatus xmpptqStatus ( "", message );
if( status.status() == Kopete::OnlineStatus::Offline )
{
- xmppStatus.setIsAvailable( false );
+ xmpptqStatus.setIsAvailable( false );
}
switch ( status.internalStatus () )
{
case JabberProtocol::JabberFreeForChat:
- xmppStatus.setShow ( "chat" );
+ xmpptqStatus.setShow ( "chat" );
break;
case JabberProtocol::JabberOnline:
- xmppStatus.setShow ( "" );
+ xmpptqStatus.setShow ( "" );
break;
case JabberProtocol::JabberAway:
- xmppStatus.setShow ( "away" );
+ xmpptqStatus.setShow ( "away" );
break;
case JabberProtocol::JabberXA:
- xmppStatus.setShow ( "xa" );
+ xmpptqStatus.setShow ( "xa" );
break;
case JabberProtocol::JabberDND:
- xmppStatus.setShow ( "dnd" );
+ xmpptqStatus.setShow ( "dnd" );
break;
case JabberProtocol::JabberInvisible:
- xmppStatus.setIsInvisible ( true );
+ xmpptqStatus.setIsInvisible ( true );
break;
}
- return xmppStatus;
+ return xmpptqStatus;
}
#include "jabberprotocol.moc"