summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit2bc1d72869b62af05ae4feafd878203b526da8c5 (patch)
tree2676903bb600bd9646644856e354940471ad84e2 /wifi
parent937b2991d8e78166eea904c80ad04d34607017a4 (diff)
downloadtdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz
tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wifi')
-rw-r--r--wifi/kcmwifi/ifconfigpage.cpp4
-rw-r--r--wifi/kcmwifi/ifconfigpage.h2
-rw-r--r--wifi/kcmwifi/kcmwifi.cpp4
-rw-r--r--wifi/kcmwifi/kcmwifi.h2
-rw-r--r--wifi/kcmwifi/mainconfig.cpp4
-rw-r--r--wifi/kcmwifi/mainconfig.h2
-rw-r--r--wifi/kwifimanager.h2
-rw-r--r--wifi/kwireless/kwireless.cpp8
-rw-r--r--wifi/kwireless/kwireless.h2
-rw-r--r--wifi/kwireless/kwirelesswidget.cpp10
-rw-r--r--wifi/kwireless/kwirelesswidget.h4
-rw-r--r--wifi/kwireless/linuxwirelesswidget.cpp4
-rw-r--r--wifi/kwireless/linuxwirelesswidget.h2
-rw-r--r--wifi/kwireless/propertytable.cpp8
-rw-r--r--wifi/kwireless/propertytable.h4
-rw-r--r--wifi/locator.cpp2
-rw-r--r--wifi/locator.h2
-rw-r--r--wifi/networkscanning.cpp2
-rw-r--r--wifi/networkscanning.h2
-rw-r--r--wifi/picture.cpp2
-rw-r--r--wifi/picture.h2
-rw-r--r--wifi/speed.cpp2
-rw-r--r--wifi/speed.h2
-rw-r--r--wifi/status.cpp4
-rw-r--r--wifi/status.h2
-rw-r--r--wifi/strength.cpp2
-rw-r--r--wifi/strength.h2
27 files changed, 44 insertions, 44 deletions
diff --git a/wifi/kcmwifi/ifconfigpage.cpp b/wifi/kcmwifi/ifconfigpage.cpp
index 01dee241..ff5d2cf9 100644
--- a/wifi/kcmwifi/ifconfigpage.cpp
+++ b/wifi/kcmwifi/ifconfigpage.cpp
@@ -37,8 +37,8 @@
#include <unistd.h>
#include <sys/types.h>
-IfConfigPage::IfConfigPage( int configNum, TQWidget *tqparent, const char *name )
- : IfConfigPageBase( tqparent, name ),
+IfConfigPage::IfConfigPage( int configNum, TQWidget *parent, const char *name )
+ : IfConfigPageBase( parent, name ),
m_configNum( configNum )
{
connect( cb_pmEnabled, TQT_SIGNAL( toggled( bool ) ), TQT_SIGNAL( changed() ) );
diff --git a/wifi/kcmwifi/ifconfigpage.h b/wifi/kcmwifi/ifconfigpage.h
index 5e09e46d..abc1d84f 100644
--- a/wifi/kcmwifi/ifconfigpage.h
+++ b/wifi/kcmwifi/ifconfigpage.h
@@ -29,7 +29,7 @@ class IfConfigPage : public IfConfigPageBase
TQ_OBJECT
public:
- IfConfigPage( int configNum, TQWidget *tqparent, const char *name );
+ IfConfigPage( int configNum, TQWidget *parent, const char *name );
~IfConfigPage() {}
void load();
diff --git a/wifi/kcmwifi/kcmwifi.cpp b/wifi/kcmwifi/kcmwifi.cpp
index 8251afa0..36ca0daf 100644
--- a/wifi/kcmwifi/kcmwifi.cpp
+++ b/wifi/kcmwifi/kcmwifi.cpp
@@ -42,8 +42,8 @@
typedef KGenericFactory < KCMWifi, TQWidget > KWiFiFactory;
K_EXPORT_COMPONENT_FACTORY (kcm_wifi, KWiFiFactory("kcmwifi") )
-KCMWifi::KCMWifi(TQWidget * tqparent, const char *name, const TQStringList &)
- : KCModule (tqparent, name)
+KCMWifi::KCMWifi(TQWidget * parent, const char *name, const TQStringList &)
+ : KCModule (parent, name)
{
tabs = new TQTabWidget (this, "tabs");
diff --git a/wifi/kcmwifi/kcmwifi.h b/wifi/kcmwifi/kcmwifi.h
index ad90a00e..d07d8930 100644
--- a/wifi/kcmwifi/kcmwifi.h
+++ b/wifi/kcmwifi/kcmwifi.h
@@ -35,7 +35,7 @@ class KCMWifi : public KCModule
Q_OBJECT
TQ_OBJECT
public:
- KCMWifi (TQWidget * tqparent, const char *name, const TQStringList &);
+ KCMWifi (TQWidget * parent, const char *name, const TQStringList &);
~KCMWifi ();
void load();
diff --git a/wifi/kcmwifi/mainconfig.cpp b/wifi/kcmwifi/mainconfig.cpp
index 22a25a34..ca2a666d 100644
--- a/wifi/kcmwifi/mainconfig.cpp
+++ b/wifi/kcmwifi/mainconfig.cpp
@@ -33,8 +33,8 @@
#include <tqcheckbox.h>
#include <tqfile.h>
-MainConfig::MainConfig( TQWidget *tqparent, const char *name )
- : MainConfigBase( tqparent, name )
+MainConfig::MainConfig( TQWidget *parent, const char *name )
+ : MainConfigBase( parent, name )
{
WifiConfig *config = WifiConfig::instance();
diff --git a/wifi/kcmwifi/mainconfig.h b/wifi/kcmwifi/mainconfig.h
index d485b524..356b9a12 100644
--- a/wifi/kcmwifi/mainconfig.h
+++ b/wifi/kcmwifi/mainconfig.h
@@ -31,7 +31,7 @@ class MainConfig : public MainConfigBase
TQ_OBJECT
public:
- MainConfig( TQWidget *tqparent, const char *name=0 );
+ MainConfig( TQWidget *parent, const char *name=0 );
~MainConfig() {}
void load();
diff --git a/wifi/kwifimanager.h b/wifi/kwifimanager.h
index 0a91605b..c52969ac 100644
--- a/wifi/kwifimanager.h
+++ b/wifi/kwifimanager.h
@@ -83,7 +83,7 @@ class KWiFiManagerApp:public KMainWindow, virtual public dcop_interface
TQ_OBJECT
public:
- KWiFiManagerApp (TQWidget * tqparent = 0, const char * name = 0);
+ KWiFiManagerApp (TQWidget * parent = 0, const char * name = 0);
~KWiFiManagerApp ();
TQString interface () const { return device ? device->get_interface_name() : TQString(); };
public:
diff --git a/wifi/kwireless/kwireless.cpp b/wifi/kwireless/kwireless.cpp
index 6fe1df9b..39b66a76 100644
--- a/wifi/kwireless/kwireless.cpp
+++ b/wifi/kwireless/kwireless.cpp
@@ -18,8 +18,8 @@
KWireLess::KWireLess(const TQString& configFile, Type type,
- int actions, TQWidget *tqparent, const char *name)
- : KPanelApplet(configFile, type, actions, tqparent, name)
+ int actions, TQWidget *parent, const char *name)
+ : KPanelApplet(configFile, type, actions, parent, name)
{
ksConfig = config();
@@ -76,13 +76,13 @@ void KWireLess::resizeEvent(TQResizeEvent *)
extern "C"
{
- KDE_EXPORT KPanelApplet* init( TQWidget *tqparent, const TQString configFile)
+ KDE_EXPORT KPanelApplet* init( TQWidget *parent, const TQString configFile)
{
KGlobal::locale()->insertCatalogue("kwireless");
return new KWireLess(configFile, KPanelApplet::Normal,
KPanelApplet::About,
// | KPanelApplet::Help | KPanelApplet::Preferences,
- tqparent, "kwireless");
+ parent, "kwireless");
}
}
diff --git a/wifi/kwireless/kwireless.h b/wifi/kwireless/kwireless.h
index 3d4b7545..eeb41938 100644
--- a/wifi/kwireless/kwireless.h
+++ b/wifi/kwireless/kwireless.h
@@ -27,7 +27,7 @@ class KWireLess : public KPanelApplet
public:
KWireLess(const TQString& configFile, Type t = Normal, int actions = 0,
- TQWidget *tqparent = 0, const char *name = 0);
+ TQWidget *parent = 0, const char *name = 0);
~KWireLess();
virtual int widthForHeight(int height) const;
diff --git a/wifi/kwireless/kwirelesswidget.cpp b/wifi/kwireless/kwirelesswidget.cpp
index 6390a023..86bb6ed7 100644
--- a/wifi/kwireless/kwirelesswidget.cpp
+++ b/wifi/kwireless/kwirelesswidget.cpp
@@ -135,8 +135,8 @@ TQString DeviceInfo::encrString()
}
}
-KWireLessWidget::KWireLessWidget(TQWidget *tqparent, const char* name)
- : TQWidget(tqparent, name),
+KWireLessWidget::KWireLessWidget(TQWidget *parent, const char* name)
+ : TQWidget(parent, name),
mode(Horizontal),
frameWidth(1),
qualityBarWidth(6),
@@ -308,17 +308,17 @@ void KWireLessWidget::paintEvent(TQPaintEvent*)
}
}
-KWireLessWidget* KWireLessWidget::makeWireLessWidget(TQWidget *tqparent,
+KWireLessWidget* KWireLessWidget::makeWireLessWidget(TQWidget *parent,
const char *name)
{
#if 1
// defined linuxwirelesswidget
- return new LinuxWireLessWidget(tqparent, name);
+ return new LinuxWireLessWidget(parent, name);
#else
#error KWireLess is not available for your OS
#endif
// just to shut the compiler up:
- tqparent = tqparent; name = name; return 0;
+ parent = parent; name = name; return 0;
}
#include "kwirelesswidget.moc"
diff --git a/wifi/kwireless/kwirelesswidget.h b/wifi/kwireless/kwirelesswidget.h
index 534c16c4..6999de4e 100644
--- a/wifi/kwireless/kwirelesswidget.h
+++ b/wifi/kwireless/kwirelesswidget.h
@@ -59,10 +59,10 @@ public:
Horizontal,
Vertical
};
- static KWireLessWidget* makeWireLessWidget(TQWidget *tqparent = 0,
+ static KWireLessWidget* makeWireLessWidget(TQWidget *parent = 0,
const char *name = 0);
protected:
- KWireLessWidget(TQWidget *tqparent=0, const char* name=0);
+ KWireLessWidget(TQWidget *parent=0, const char* name=0);
public:
~KWireLessWidget();
void setMode(Mode);
diff --git a/wifi/kwireless/linuxwirelesswidget.cpp b/wifi/kwireless/linuxwirelesswidget.cpp
index b7aa31b4..02b7e217 100644
--- a/wifi/kwireless/linuxwirelesswidget.cpp
+++ b/wifi/kwireless/linuxwirelesswidget.cpp
@@ -23,8 +23,8 @@ extern "C" {
int LinuxWireLessWidget::socketFD;
TQStringList LinuxWireLessWidget::deviceNames;
-LinuxWireLessWidget::LinuxWireLessWidget(TQWidget *tqparent, const char* name)
- : KWireLessWidget(tqparent, name),
+LinuxWireLessWidget::LinuxWireLessWidget(TQWidget *parent, const char* name)
+ : KWireLessWidget(parent, name),
m_number (-1)
{
}
diff --git a/wifi/kwireless/linuxwirelesswidget.h b/wifi/kwireless/linuxwirelesswidget.h
index 0d4513ca..fb29c665 100644
--- a/wifi/kwireless/linuxwirelesswidget.h
+++ b/wifi/kwireless/linuxwirelesswidget.h
@@ -17,7 +17,7 @@ class LinuxWireLessWidget : public KWireLessWidget
Q_OBJECT
TQ_OBJECT
public:
- LinuxWireLessWidget(TQWidget *tqparent=0, const char* name=0);
+ LinuxWireLessWidget(TQWidget *parent=0, const char* name=0);
~LinuxWireLessWidget();
protected:
/** poll() is supposed to read the information from
diff --git a/wifi/kwireless/propertytable.cpp b/wifi/kwireless/propertytable.cpp
index 4b0bea14..7c73b1c2 100644
--- a/wifi/kwireless/propertytable.cpp
+++ b/wifi/kwireless/propertytable.cpp
@@ -21,8 +21,8 @@ extern "C" {
#include <math.h>
}
-PropertyTable::PropertyTable(TQWidget *tqparent, const char* name)
- : PropertyTableBase(tqparent, name)
+PropertyTable::PropertyTable(TQWidget *parent, const char* name)
+ : PropertyTableBase(parent, name)
{
}
@@ -30,8 +30,8 @@ PropertyTable::~PropertyTable()
{
}
-PropertiesDialog::PropertiesDialog(TQWidget *tqparent, const char *name)
- : KDialogBase(tqparent, name, true,
+PropertiesDialog::PropertiesDialog(TQWidget *parent, const char *name)
+ : KDialogBase(parent, name, true,
i18n("Wireless Network Device Properties"),
KDialogBase::Ok, KDialogBase::Ok, true),
wait(false)
diff --git a/wifi/kwireless/propertytable.h b/wifi/kwireless/propertytable.h
index f71f9f6b..81169018 100644
--- a/wifi/kwireless/propertytable.h
+++ b/wifi/kwireless/propertytable.h
@@ -22,7 +22,7 @@ class PropertyTable : public PropertyTableBase
Q_OBJECT
TQ_OBJECT
public:
- PropertyTable(TQWidget *tqparent = 0, const char* name = 0);
+ PropertyTable(TQWidget *parent = 0, const char* name = 0);
~PropertyTable();
};
@@ -32,7 +32,7 @@ class PropertiesDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- PropertiesDialog(TQWidget *tqparent = 0, const char *name = 0);
+ PropertiesDialog(TQWidget *parent = 0, const char *name = 0);
protected:
PropertyTable *table;
TQPtrList<DeviceInfo> *info;
diff --git a/wifi/locator.cpp b/wifi/locator.cpp
index 859b7d73..6bb0cd62 100644
--- a/wifi/locator.cpp
+++ b/wifi/locator.cpp
@@ -21,7 +21,7 @@
extern TQStringList APs;
-Locator::Locator (TQWidget * tqparent, Interface_wireless * device):TQWidget (tqparent,
+Locator::Locator (TQWidget * parent, Interface_wireless * device):TQWidget (parent,
"KwiFiManager")
{
this->device = device;
diff --git a/wifi/locator.h b/wifi/locator.h
index 8f0335d4..b1629b19 100644
--- a/wifi/locator.h
+++ b/wifi/locator.h
@@ -29,7 +29,7 @@ class Interface_wireless;
class Locator:public TQWidget
{
public:
- Locator (TQWidget * tqparent, Interface_wireless * device);
+ Locator (TQWidget * parent, Interface_wireless * device);
private:
void paintEvent (TQPaintEvent *);
void generateLocWidget ();
diff --git a/wifi/networkscanning.cpp b/wifi/networkscanning.cpp
index f8cc710a..429cb525 100644
--- a/wifi/networkscanning.cpp
+++ b/wifi/networkscanning.cpp
@@ -32,7 +32,7 @@
#include "networkscanning.h"
#include "interface_wireless.h"
-NetworkScanning::NetworkScanning (Interface_wireless * dev, TQWidget * tqparent, const char * name ) : TQWidget ( tqparent, name ) {
+NetworkScanning::NetworkScanning (Interface_wireless * dev, TQWidget * parent, const char * name ) : TQWidget ( parent, name ) {
device = dev;
networkScan();
}
diff --git a/wifi/networkscanning.h b/wifi/networkscanning.h
index 1abfa9b5..a197e217 100644
--- a/wifi/networkscanning.h
+++ b/wifi/networkscanning.h
@@ -35,7 +35,7 @@ class NetworkScanning : public TQWidget
TQ_OBJECT
public:
- NetworkScanning (Interface_wireless * dev, TQWidget * tqparent = 0, const char * name = 0 );
+ NetworkScanning (Interface_wireless * dev, TQWidget * parent = 0, const char * name = 0 );
protected:
void networkScan ();
diff --git a/wifi/picture.cpp b/wifi/picture.cpp
index 4b03686b..5e4d28c5 100644
--- a/wifi/picture.cpp
+++ b/wifi/picture.cpp
@@ -25,7 +25,7 @@
#define X_OFFSET 20
#define Y_OFFSET 10
-Picture::Picture (TQWidget * tqparent, Interface_wireless * device):TQWidget (tqparent,
+Picture::Picture (TQWidget * parent, Interface_wireless * device):TQWidget (parent,
"picture")
{
this->device = device;
diff --git a/wifi/picture.h b/wifi/picture.h
index 8ac7f05f..4cd7b4d4 100644
--- a/wifi/picture.h
+++ b/wifi/picture.h
@@ -24,7 +24,7 @@ class TQSize;
class Picture:public TQWidget
{
public:
- Picture (TQWidget * tqparent, Interface_wireless * device);
+ Picture (TQWidget * parent, Interface_wireless * device);
TQSize mySizeHint();
~Picture ();
private:
diff --git a/wifi/speed.cpp b/wifi/speed.cpp
index c09dbb54..6fdff63d 100644
--- a/wifi/speed.cpp
+++ b/wifi/speed.cpp
@@ -21,7 +21,7 @@
#include "speed.h"
#include "interface_wireless.h"
-Speed::Speed (TQWidget * tqparent, Interface_wireless * device):TQWidget (tqparent,
+Speed::Speed (TQWidget * parent, Interface_wireless * device):TQWidget (parent,
"KWiFiManager")
{
this->device = device;
diff --git a/wifi/speed.h b/wifi/speed.h
index b79526bc..3b47dd14 100644
--- a/wifi/speed.h
+++ b/wifi/speed.h
@@ -25,7 +25,7 @@ class Interface_wireless;
class Speed:public TQWidget
{
public:
- Speed (TQWidget * tqparent, Interface_wireless * device);
+ Speed (TQWidget * parent, Interface_wireless * device);
private:
void paintEvent (TQPaintEvent *);
Interface_wireless *device;
diff --git a/wifi/status.cpp b/wifi/status.cpp
index c6072c4f..5f295df5 100644
--- a/wifi/status.cpp
+++ b/wifi/status.cpp
@@ -22,8 +22,8 @@
#include <unistd.h>
#include <sys/types.h>
-tqStatus::tqStatus (TQWidget * tqparent, Interface_wireless * device)
- : TQWidget (tqparent, "KWiFiManager status")
+tqStatus::tqStatus (TQWidget * parent, Interface_wireless * device)
+ : TQWidget (parent, "KWiFiManager status")
{
this->device = device;
}
diff --git a/wifi/status.h b/wifi/status.h
index 3cc6fe75..dfdfd81d 100644
--- a/wifi/status.h
+++ b/wifi/status.h
@@ -29,7 +29,7 @@ class Interface_wireless;
class tqStatus:public TQWidget
{
public:
- tqStatus (TQWidget * tqparent, Interface_wireless * device);
+ tqStatus (TQWidget * parent, Interface_wireless * device);
private:
void paintEvent (TQPaintEvent *);
bool generateStatsWidget ();
diff --git a/wifi/strength.cpp b/wifi/strength.cpp
index a5146c14..4ca1dc08 100644
--- a/wifi/strength.cpp
+++ b/wifi/strength.cpp
@@ -27,7 +27,7 @@
extern bool useAlternateStrengthCalc;
-Strength::Strength (TQWidget * tqparent, Interface_wireless * device):TQWidget (tqparent,
+Strength::Strength (TQWidget * parent, Interface_wireless * device):TQWidget (parent,
"strength")
{
this->device = device;
diff --git a/wifi/strength.h b/wifi/strength.h
index e4cdd210..ebac09b7 100644
--- a/wifi/strength.h
+++ b/wifi/strength.h
@@ -28,7 +28,7 @@ class Strength:public TQWidget
TQ_OBJECT
public:
- Strength (TQWidget * tqparent, Interface_wireless * device);
+ Strength (TQWidget * parent, Interface_wireless * device);
TQSize mySizeHint();
~Strength ();
TQPixmap *NOT_CON_OFFLINE_ADHOC, *OOR_DOWN, *OOR_MINIMUM, *MARGINAL, *GOOD, *EXCELLENT;