diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:40 -0600 |
commit | 808e453c56036211f57482ed847d54aca01bba68 (patch) | |
tree | 75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kopete/protocols/jabber/jabberprotocol.cpp | |
parent | cd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff) | |
download | tdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kopete/protocols/jabber/jabberprotocol.cpp')
-rw-r--r-- | kopete/protocols/jabber/jabberprotocol.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/protocols/jabber/jabberprotocol.cpp b/kopete/protocols/jabber/jabberprotocol.cpp index 0b73f38b..a7cf3a78 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()), - propSubscriptiontqStatus("jabberSubscriptionStatus", i18n ("Subscription"), TQString(), true, false), - propAuthorizationtqStatus("jabberAuthorizationStatus", i18n ("Authorization Status"), TQString(), true, false), + propSubscriptionStatus("jabberSubscriptionStatus", i18n ("Subscription"), TQString(), true, false), + propAuthorizationStatus("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::tqStatus JabberProtocol::kosTotqStatus( const Kopete::OnlineStatus & status , const TQString & message ) +XMPP::Status JabberProtocol::kosToStatus( const Kopete::OnlineStatus & status , const TQString & message ) { - XMPP::tqStatus xmpptqStatus ( "", message ); + XMPP::Status xmppStatus ( "", message ); if( status.status() == Kopete::OnlineStatus::Offline ) { - xmpptqStatus.setIsAvailable( false ); + xmppStatus.setIsAvailable( false ); } switch ( status.internalStatus () ) { case JabberProtocol::JabberFreeForChat: - xmpptqStatus.setShow ( "chat" ); + xmppStatus.setShow ( "chat" ); break; case JabberProtocol::JabberOnline: - xmpptqStatus.setShow ( "" ); + xmppStatus.setShow ( "" ); break; case JabberProtocol::JabberAway: - xmpptqStatus.setShow ( "away" ); + xmppStatus.setShow ( "away" ); break; case JabberProtocol::JabberXA: - xmpptqStatus.setShow ( "xa" ); + xmppStatus.setShow ( "xa" ); break; case JabberProtocol::JabberDND: - xmpptqStatus.setShow ( "dnd" ); + xmppStatus.setShow ( "dnd" ); break; case JabberProtocol::JabberInvisible: - xmpptqStatus.setIsInvisible ( true ); + xmppStatus.setIsInvisible ( true ); break; } - return xmpptqStatus; + return xmppStatus; } #include "jabberprotocol.moc" |