diff options
Diffstat (limited to 'kopete/libkopete/kopeteonlinestatusmanager.cpp')
-rw-r--r-- | kopete/libkopete/kopeteonlinestatusmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/libkopete/kopeteonlinestatusmanager.cpp b/kopete/libkopete/kopeteonlinestatusmanager.cpp index 07b23e81..c583198a 100644 --- a/kopete/libkopete/kopeteonlinestatusmanager.cpp +++ b/kopete/libkopete/kopeteonlinestatusmanager.cpp @@ -368,7 +368,7 @@ TQPixmap* OnlineStatusManager::renderIcon( const OnlineStatus &statusFor, const return basis; } -void OnlineStatusManager::createAccountStatusActions( Account *account , KActionMenu *parent) +void OnlineStatusManager::createAccountStatusActions( Account *account , TDEActionMenu *parent) { Private::ProtocolMap protocolMap=d->registeredStatus[account->protocol()]; Private::ProtocolMap::Iterator it; @@ -380,14 +380,14 @@ void OnlineStatusManager::createAccountStatusActions( Account *account , KAction OnlineStatus status=it.key(); TQString caption=it.data().caption; - KAction *action; + TDEAction *action; // Any existing actions owned by the account are reused by recovering them // from the parent's child list. // The description of the onlinestatus is used as the qobject name // This is safe as long as OnlineStatus are immutable TQCString actionName = status.description().ascii(); - if ( !( action = static_cast<KAction*>( account->child( actionName ) ) ) ) + if ( !( action = static_cast<TDEAction*>( account->child( actionName ) ) ) ) { if(options & OnlineStatusManager::HasAwayMessage) { @@ -417,7 +417,7 @@ void OnlineStatusManager::createAccountStatusActions( Account *account , KAction OnlineStatusAction::OnlineStatusAction( const OnlineStatus& status, const TQString &text, const TQIconSet &pix, TQObject *parent, const char *name) - : KAction( text, pix, KShortcut() , parent, name) , m_status(status) + : TDEAction( text, pix, TDEShortcut() , parent, name) , m_status(status) { connect(this,TQT_SIGNAL(activated()),this,TQT_SLOT(slotActivated())); } |