|
|
|
@ -126,7 +126,7 @@ void InterfaceIcon::updateMenu()
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
// Remove all old entries.
|
|
|
|
|
KPopupMenu* menu = mTray->contextMenu(); |
|
|
|
|
TDEPopupMenu* menu = mTray->contextMenu(); |
|
|
|
|
int count = menu->count(); |
|
|
|
|
for ( int i = 0; i < count - 6; i++ ) |
|
|
|
|
menu->removeItemAt( 6 ); |
|
|
|
@ -232,7 +232,7 @@ void InterfaceIcon::updateTrayStatus( int previousState, bool notify )
|
|
|
|
|
{ |
|
|
|
|
mTray = new InterfaceTray( mInterface->getName() ); |
|
|
|
|
TQToolTip::add( mTray, mInterface->getName() ); |
|
|
|
|
KPopupMenu* menu = mTray->contextMenu(); |
|
|
|
|
TDEPopupMenu* menu = mTray->contextMenu(); |
|
|
|
|
connect( menu, TQT_SIGNAL( activated( int ) ), |
|
|
|
|
this, TQT_SLOT( menuActivated( int ) ) ); |
|
|
|
|
connect( mTray, TQT_SIGNAL( leftClicked() ), |
|
|
|
|