From 17e46b49e49684c867d4e37af7bb4080430a3dd3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:01:13 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/knemod/interfaceicon.cpp | 4 ++-- src/knemod/interfacetray.cpp | 2 +- 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 ); -- cgit v1.2.1