@ -963,14 +963,6 @@ void Tray::slotGenericDeviceRemoved(TDEGenericDevice *dev)
}
}
}
}
void Tray : : slotGenericHardwareEvent ( TDEHardwareEvent : : TDEHardwareEvent event , TQString )
{
if ( event = = TDEHardwareEvent : : HardwareListModified ) {
updateDeviceTrays ( ) ;
connectTrayDeviceManager ( ) ;
}
}
void Tray : : slotVPNEventHandler ( TDENetworkVPNEventType : : TDENetworkVPNEventType event , TQString message )
void Tray : : slotVPNEventHandler ( TDENetworkVPNEventType : : TDENetworkVPNEventType event , TQString message )
{
{
if ( event = = TDENetworkVPNEventType : : LoginBanner ) {
if ( event = = TDENetworkVPNEventType : : LoginBanner ) {
@ -1094,7 +1086,6 @@ Tray::Tray() : KSystemTray()
// get notified about new/removed devices
// get notified about new/removed devices
connect ( hwdevices , TQT_SIGNAL ( hardwareAdded ( TDEGenericDevice * ) ) , this , TQT_SLOT ( slotGenericDeviceAdded ( TDEGenericDevice * ) ) ) ;
connect ( hwdevices , TQT_SIGNAL ( hardwareAdded ( TDEGenericDevice * ) ) , this , TQT_SLOT ( slotGenericDeviceAdded ( TDEGenericDevice * ) ) ) ;
connect ( hwdevices , TQT_SIGNAL ( hardwareRemoved ( TDEGenericDevice * ) ) , this , TQT_SLOT ( slotGenericDeviceRemoved ( TDEGenericDevice * ) ) ) ;
connect ( hwdevices , TQT_SIGNAL ( hardwareRemoved ( TDEGenericDevice * ) ) , this , TQT_SLOT ( slotGenericDeviceRemoved ( TDEGenericDevice * ) ) ) ;
connect ( hwdevices , TQT_SIGNAL ( hardwareEvent ( TDEHardwareEvent : : TDEHardwareEvent , TQString ) ) , this , TQT_SLOT ( slotGenericHardwareEvent ( TDEHardwareEvent : : TDEHardwareEvent , TQString ) ) ) ;
// Notifications
// Notifications
connect ( TDEGlobal : : networkManager ( ) , TQT_SIGNAL ( networkConnectionStateChanged ( TDENetworkGlobalManagerFlags : : TDENetworkGlobalManagerFlags , TDENetworkGlobalManagerFlags : : TDENetworkGlobalManagerFlags ) ) , this , TQT_SLOT ( slotStateChangedNotify ( TDENetworkGlobalManagerFlags : : TDENetworkGlobalManagerFlags , TDENetworkGlobalManagerFlags : : TDENetworkGlobalManagerFlags ) ) ) ;
connect ( TDEGlobal : : networkManager ( ) , TQT_SIGNAL ( networkConnectionStateChanged ( TDENetworkGlobalManagerFlags : : TDENetworkGlobalManagerFlags , TDENetworkGlobalManagerFlags : : TDENetworkGlobalManagerFlags ) ) , this , TQT_SLOT ( slotStateChangedNotify ( TDENetworkGlobalManagerFlags : : TDENetworkGlobalManagerFlags , TDENetworkGlobalManagerFlags : : TDENetworkGlobalManagerFlags ) ) ) ;