summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/gwcontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/gwcontact.cpp')
-rw-r--r--kopete/protocols/groupwise/gwcontact.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/groupwise/gwcontact.cpp b/kopete/protocols/groupwise/gwcontact.cpp
index 1aef7110..11f2d23b 100644
--- a/kopete/protocols/groupwise/gwcontact.cpp
+++ b/kopete/protocols/groupwise/gwcontact.cpp
@@ -134,9 +134,9 @@ bool GroupWiseContact::isReachable()
// in GWChatSession
// (This is a GroupWise rule, not a problem in Kopete)
- if ( account()->isConnected() && ( isOnline() || messageReceivedOffline() ) /* && account()->myself()->onlineStatus() != protocol()->groupwiseAppearOffline */)
+ if ( account()->isConnected() && ( isOnline() || messageReceivedOffline() ) /* && account()->myself()->onlinetqStatus() != protocol()->groupwiseAppearOffline */)
return true;
- if ( !account()->isConnected()/* || account()->myself()->onlineStatus() == protocol()->groupwiseAppearOffline*/ )
+ if ( !account()->isConnected()/* || account()->myself()->onlinetqStatus() == protocol()->groupwiseAppearOffline*/ )
return false;
// fallback, something went wrong
@@ -222,22 +222,22 @@ void GroupWiseContact::receivePrivacyChanged( const TQString & dn, bool allow )
{
Q_UNUSED( allow );
if ( dn == m_dn ) // set the online status back to itself. this will set the blocking state
- setOnlineStatus( this->onlineStatus() );
+ setOnlineStatus( this->onlinetqStatus() );
}
void GroupWiseContact::setOnlineStatus( const Kopete::OnlineStatus& status )
{
setMessageReceivedOffline( false );
- if ( status == protocol()->groupwiseAwayIdle && status != onlineStatus() )
+ if ( status == protocol()->groupwiseAwayIdle && status != onlinetqStatus() )
setIdleTime( 1 );
- else if ( onlineStatus() == protocol()->groupwiseAwayIdle && status != onlineStatus() )
+ else if ( onlinetqStatus() == protocol()->groupwiseAwayIdle && status != onlinetqStatus() )
setIdleTime( 0 );
if ( account()->isContactBlocked( m_dn ) && status.internalStatus() < 15 )
{
Kopete::Contact::setOnlineStatus(Kopete::OnlineStatus(status.status() , (status.weight()==0) ? 0 : (status.weight() -1) ,
- protocol() , status.internalStatus()+15 , TQString::fromLatin1("msn_blocked"),
- i18n("%1|Blocked").arg( status.description() ) ) );
+ protocol() , status.internalStatus()+15 , TQString::tqfromLatin1("msn_blocked"),
+ i18n("%1|Blocked").tqarg( status.description() ) ) );
}
else
{