diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /wifi/kwireless | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-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/kwireless')
-rw-r--r-- | wifi/kwireless/kwireless.cpp | 8 | ||||
-rw-r--r-- | wifi/kwireless/kwireless.h | 2 | ||||
-rw-r--r-- | wifi/kwireless/kwirelesswidget.cpp | 10 | ||||
-rw-r--r-- | wifi/kwireless/kwirelesswidget.h | 4 | ||||
-rw-r--r-- | wifi/kwireless/linuxwirelesswidget.cpp | 4 | ||||
-rw-r--r-- | wifi/kwireless/linuxwirelesswidget.h | 2 | ||||
-rw-r--r-- | wifi/kwireless/propertytable.cpp | 8 | ||||
-rw-r--r-- | wifi/kwireless/propertytable.h | 4 |
8 files changed, 21 insertions, 21 deletions
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; |