summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/knemod/interfaceicon.cpp4
-rw-r--r--src/knemod/interfacetray.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/knemod/interfaceicon.cpp b/src/knemod/interfaceicon.cpp
index 755f3b6..3e8b3dd 100644
--- a/src/knemod/interfaceicon.cpp
+++ b/src/knemod/interfaceicon.cpp
@@ -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() ),
diff --git a/src/knemod/interfacetray.cpp b/src/knemod/interfacetray.cpp
index d816f01..e1c2b47 100644
--- a/src/knemod/interfacetray.cpp
+++ b/src/knemod/interfacetray.cpp
@@ -43,7 +43,7 @@ InterfaceTray::InterfaceTray( const TQString& ifname,
{
actionCollection()->clear(); // remove the quit entry
- KPopupMenu* popup = contextMenu();
+ TDEPopupMenu* popup = contextMenu();
int id = popup->idAt( 0 );
popup->changeTitle( id, SmallIcon( "knemo" ),
"KNemo - " + ifname );