diff options
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/kwifimanager.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/wifi/kwifimanager.cpp b/wifi/kwifimanager.cpp index 1c3bc57e..8a7a4d0d 100644 --- a/wifi/kwifimanager.cpp +++ b/wifi/kwifimanager.cpp @@ -304,43 +304,43 @@ KWiFiManagerApp::initActions () TDEConfig* config = kapp->config(); if (config->hasGroup("General")) config->setGroup("General"); - fileDisableRadio = new TDEToggleAction (i18n ("&Disable Radio"), 0, TQT_TQOBJECT(this), + fileDisableRadio = new TDEToggleAction (i18n ("&Disable Radio"), 0, this, TQT_SLOT (slotDisableRadio ()), actionCollection (), "disable_radio"); fileDisableRadio->setChecked( false ); settingsUseAlternateCalc = - new TDEToggleAction (i18n ("&Use Alternate Strength Calculation"), 0, TQT_TQOBJECT(this), + new TDEToggleAction (i18n ("&Use Alternate Strength Calculation"), 0, this, TQT_SLOT (slotToggleStrengthCalc ()), actionCollection (), "use_alt_calculation"); settingsUseAlternateCalc->setChecked( config->readBoolEntry("useAlternateStrengthCalculation") ); slotToggleStrengthCalc(); //set to value saved by TDEConfig settingsShowStatsNoise = - new TDEToggleAction (i18n ("Show &Noise Graph in Statistics Window"), 0, TQT_TQOBJECT(this), + new TDEToggleAction (i18n ("Show &Noise Graph in Statistics Window"), 0, this, TQT_SLOT (slotShowStatsNoise ()), actionCollection (), "show_stats_noise"); settingsShowStatsNoise->setChecked( config->readBoolEntry("showStatsNoise") ); slotShowStatsNoise(); //set to value saved by TDEConfig - settingsShowStrengthNumber = new TDEToggleAction (i18n ("&Show Strength Number in System Tray"), 0, TQT_TQOBJECT(this), + settingsShowStrengthNumber = new TDEToggleAction (i18n ("&Show Strength Number in System Tray"), 0, this, TQT_SLOT (slotToggleShowStrengthNumber ()), actionCollection (), "show_strength_number_in_tray"); settingsShowStrengthNumber->setChecked( config->readBoolEntry("showStrengthNumberInTray") ); slotToggleShowStrengthNumber (); //set to value saved by TDEConfig - KStdAction::quit (TQT_TQOBJECT(this), TQT_SLOT (slotFileQuit ()), actionCollection ()); + KStdAction::quit (this, TQT_SLOT (slotFileQuit ()), actionCollection ()); - new TDEAction (i18n ("Configuration &Editor..."), 0, TQT_TQOBJECT(this), + new TDEAction (i18n ("Configuration &Editor..."), 0, this, TQT_SLOT (slotStartConfigEditor ()), actionCollection (), "configuration_editor"); - new TDEAction (i18n ("Connection &Statistics"), 0, TQT_TQOBJECT(this), + new TDEAction (i18n ("Connection &Statistics"), 0, this, TQT_SLOT (slotStartStatViewer ()), actionCollection (), "connection_statistics"); - settingsAcousticScanning = new TDEToggleAction (i18n ("&Acoustic Scanning"), 0, TQT_TQOBJECT(this), + settingsAcousticScanning = new TDEToggleAction (i18n ("&Acoustic Scanning"), 0, this, TQT_SLOT (slotToggleTric ()), actionCollection (), "acoustic_scanning"); settingsAcousticScanning->setChecked( config->readBoolEntry("acousticScanning") ); #ifdef WITHOUT_ARTS settingsAcousticScanning->setEnabled( false); #endif - settingsStayInSystrayOnClose = new TDEToggleAction (i18n ("Stay in System &Tray on Close"), 0, TQT_TQOBJECT(this), + settingsStayInSystrayOnClose = new TDEToggleAction (i18n ("Stay in System &Tray on Close"), 0, this, TQT_SLOT (slotToggleStayInSystray()), actionCollection (), "stay_in_systray_on_close"); settingsStayInSystrayOnClose->setChecked( config->readBoolEntry("stayInSystrayOnClose") ); |