summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'wifi')
-rw-r--r--wifi/kwifimanager.cpp18
-rw-r--r--wifi/kwifimanager.h16
2 files changed, 17 insertions, 17 deletions
diff --git a/wifi/kwifimanager.cpp b/wifi/kwifimanager.cpp
index 40efb22f..71d7bf29 100644
--- a/wifi/kwifimanager.cpp
+++ b/wifi/kwifimanager.cpp
@@ -66,7 +66,7 @@ TQStringList APs;
bool useAlternateStrengthCalc;
KWiFiManagerApp::KWiFiManagerApp (TQWidget *, const char *name):
-DCOPObject("dcop_interface"), KMainWindow (0, name), device(0), m_shuttingDown(false), m_iconSize( 22 )
+DCOPObject("dcop_interface"), TDEMainWindow (0, name), device(0), m_shuttingDown(false), m_iconSize( 22 )
{
statistik = 0;
disablePower = 0;
@@ -304,43 +304,43 @@ KWiFiManagerApp::initActions ()
TDEConfig* config = kapp->config();
if (config->hasGroup("General"))
config->setGroup("General");
- fileDisableRadio = new KToggleAction (i18n ("&Disable Radio"), 0, TQT_TQOBJECT(this),
+ fileDisableRadio = new TDEToggleAction (i18n ("&Disable Radio"), 0, TQT_TQOBJECT(this),
TQT_SLOT (slotDisableRadio ()), actionCollection (), "disable_radio");
fileDisableRadio->setChecked( false );
settingsUseAlternateCalc =
- new KToggleAction (i18n ("&Use Alternate Strength Calculation"), 0, TQT_TQOBJECT(this),
+ new TDEToggleAction (i18n ("&Use Alternate Strength Calculation"), 0, TQT_TQOBJECT(this),
TQT_SLOT (slotToggleStrengthCalc ()), actionCollection (), "use_alt_calculation");
settingsUseAlternateCalc->setChecked( config->readBoolEntry("useAlternateStrengthCalculation") );
slotToggleStrengthCalc(); //set to value saved by TDEConfig
settingsShowStatsNoise =
- new KToggleAction (i18n ("Show &Noise Graph in Statistics Window"), 0, TQT_TQOBJECT(this),
+ new TDEToggleAction (i18n ("Show &Noise Graph in Statistics Window"), 0, TQT_TQOBJECT(this),
TQT_SLOT (slotShowStatsNoise ()), actionCollection (), "show_stats_noise");
settingsShowStatsNoise->setChecked( config->readBoolEntry("showStatsNoise") );
slotShowStatsNoise(); //set to value saved by TDEConfig
- settingsShowStrengthNumber = new KToggleAction (i18n ("&Show Strength Number in System Tray"), 0, TQT_TQOBJECT(this),
+ settingsShowStrengthNumber = new TDEToggleAction (i18n ("&Show Strength Number in System Tray"), 0, TQT_TQOBJECT(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 ());
- new KAction (i18n ("Configuration &Editor..."), 0, TQT_TQOBJECT(this),
+ new TDEAction (i18n ("Configuration &Editor..."), 0, TQT_TQOBJECT(this),
TQT_SLOT (slotStartConfigEditor ()), actionCollection (), "configuration_editor");
- new KAction (i18n ("Connection &Statistics"), 0, TQT_TQOBJECT(this),
+ new TDEAction (i18n ("Connection &Statistics"), 0, TQT_TQOBJECT(this),
TQT_SLOT (slotStartStatViewer ()), actionCollection (), "connection_statistics");
- settingsAcousticScanning = new KToggleAction (i18n ("&Acoustic Scanning"), 0, TQT_TQOBJECT(this),
+ settingsAcousticScanning = new TDEToggleAction (i18n ("&Acoustic Scanning"), 0, TQT_TQOBJECT(this),
TQT_SLOT (slotToggleTric ()),
actionCollection (), "acoustic_scanning");
settingsAcousticScanning->setChecked( config->readBoolEntry("acousticScanning") );
#ifdef WITHOUT_ARTS
settingsAcousticScanning->setEnabled( false);
#endif
- settingsStayInSystrayOnClose = new KToggleAction (i18n ("Stay in System &Tray on Close"), 0, TQT_TQOBJECT(this),
+ settingsStayInSystrayOnClose = new TDEToggleAction (i18n ("Stay in System &Tray on Close"), 0, TQT_TQOBJECT(this),
TQT_SLOT (slotToggleStayInSystray()),
actionCollection (), "stay_in_systray_on_close");
settingsStayInSystrayOnClose->setChecked( config->readBoolEntry("stayInSystrayOnClose") );
diff --git a/wifi/kwifimanager.h b/wifi/kwifimanager.h
index b8683a76..5222cd4b 100644
--- a/wifi/kwifimanager.h
+++ b/wifi/kwifimanager.h
@@ -32,7 +32,7 @@ class TQStringList;
// include files for KDE
#include <kmainwindow.h>
class KSystemTray;
-class KToggleAction;
+class TDEToggleAction;
class TDEProcess;
// application specific includes
@@ -77,7 +77,7 @@ struct configuration_data
packetmode packet[5];
};
-class KWiFiManagerApp:public KMainWindow, virtual public dcop_interface
+class KWiFiManagerApp:public TDEMainWindow, virtual public dcop_interface
{
Q_OBJECT
@@ -122,12 +122,12 @@ private:
NetworkScanning* scanwidget;
TQWidget *view;
Statistics *statistik;
- KToggleAction *fileDisableRadio;
- KToggleAction *settingsUseAlternateCalc;
- KToggleAction *settingsStayInSystrayOnClose;
- KToggleAction *settingsAcousticScanning;
- KToggleAction *settingsShowStatsNoise;
- KToggleAction *settingsShowStrengthNumber;
+ TDEToggleAction *fileDisableRadio;
+ TDEToggleAction *settingsUseAlternateCalc;
+ TDEToggleAction *settingsStayInSystrayOnClose;
+ TDEToggleAction *settingsAcousticScanning;
+ TDEToggleAction *settingsShowStatsNoise;
+ TDEToggleAction *settingsShowStrengthNumber;
KSystemTray *trayicon;
void init_whois_db ();
TQTimer *tricorder_trigger, *counter;