diff options
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp')
-rw-r--r-- | knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp b/knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp index 8b55905..b6424d4 100644 --- a/knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp +++ b/knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp @@ -170,7 +170,7 @@ void DeviceTray::setPixmap(const TQPixmap& pixmap) KSystemTray::setPixmap(pixmap); } -void DeviceTray::contextMenuAboutToShow (KPopupMenu* menu) +void DeviceTray::contextMenuAboutToShow (TDEPopupMenu* menu) { menu->clear(); @@ -182,7 +182,7 @@ void DeviceTray::contextMenuAboutToShow (KPopupMenu* menu) // quit menu->insertSeparator (); - KAction* quitAction = actionCollection ()->action (KStdAction::name (KStdAction::Quit)); + TDEAction* quitAction = actionCollection ()->action (KStdAction::name (KStdAction::Quit)); if (quitAction) quitAction->plug (menu); } @@ -246,7 +246,7 @@ void DeviceTray::updateTrayIcon(NMDeviceState state) void DeviceTray::updateActions(NMDeviceState state) { // allow device deactivation only when device is activated - KAction* deactivate = actionCollection()->action("deactivate_device"); + TDEAction* deactivate = actionCollection()->action("deactivate_device"); if (deactivate) deactivate->setEnabled( (state == NM_DEVICE_STATE_ACTIVATED || state == NM_DEVICE_STATE_IP_CONFIG || @@ -323,7 +323,7 @@ DeviceTray::DeviceTray (Device* dev) : KSystemTray () TQTimer::singleShot(0, this, TQT_SLOT(slotUpdateDeviceState())); // Actions used for plugging into the menu - new KAction (i18n ("Deactivate connection..."), + new TDEAction (i18n ("Deactivate connection..."), SmallIcon ("no", TQIconSet::Automatic), 0, dev, TQT_SLOT (slotDeactivate()), actionCollection (), "deactivate_device"); } |