diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-24 18:52:15 +0900 |
commit | 51f2e0ff8cb13efa4f5d1d2574940f080a4f3934 (patch) | |
tree | 35063f9531a9d686aca0b50a1dd2ce899e2bb0c9 /wifi | |
parent | 4be03979c04f7469f18d32a60487f511cc046417 (diff) | |
download | tdenetwork-51f2e0ff8cb13efa4f5d1d2574940f080a4f3934.tar.gz tdenetwork-51f2e0ff8cb13efa4f5d1d2574940f080a4f3934.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 418e8f7a6f6d79b2cbc9d83b29ef53d01582f826)
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") ); |