diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:01:13 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:01:13 -0600 |
commit | 17e46b49e49684c867d4e37af7bb4080430a3dd3 (patch) | |
tree | 3ad2a0aa2eb7124c8824c612715da01cce29ba76 | |
parent | 192cdb812d10b131737ae6068844cdd0d8403e05 (diff) | |
download | knemo-17e46b49e49684c867d4e37af7bb4080430a3dd3.tar.gz knemo-17e46b49e49684c867d4e37af7bb4080430a3dd3.zip |
Rename a number of classes to enhance compatibility with KDE4
-rw-r--r-- | src/knemod/interfaceicon.cpp | 4 | ||||
-rw-r--r-- | 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 ); |