rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kcpuload@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 5188f17bef
commit 11ca466518

@ -17,9 +17,9 @@ IconToggleAction::IconToggleAction(
const TQString& useTextUnchecked, const TQString& useIconUnchecked,
const TQString& useTextChecked, const TQString& useIconChecked,
const KShortcut& cut, const TQObject* receiver, const char* slot,
TQObject* tqparent, const char* name) :
TQObject* parent, const char* name) :
KToggleAction(useTextUnchecked, useIconUnchecked, cut, receiver,
slot, tqparent, name),
slot, parent, name),
textChecked(useTextChecked), textUnchecked(useTextUnchecked),
iconChecked(useIconChecked), iconUnchecked(useIconUnchecked) {
}
@ -27,9 +27,9 @@ IconToggleAction::IconToggleAction(
IconToggleAction::IconToggleAction(const TQString& useText,
const TQString& useIconUnchecked, const TQString& useIconChecked,
const KShortcut& cut, const TQObject* receiver, const char* slot,
TQObject* tqparent, const char* name) :
TQObject* parent, const char* name) :
KToggleAction(useText, useIconUnchecked, cut, receiver,
slot, tqparent, name),
slot, parent, name),
textChecked(useText), textUnchecked(useText),
iconChecked(useIconChecked), iconUnchecked(useIconUnchecked) {
}
@ -37,16 +37,16 @@ IconToggleAction::IconToggleAction(const TQString& useText,
IconToggleAction::IconToggleAction(
const TQString& useTextUnchecked, const TQString& useIconUnchecked,
const TQString& useTextChecked, const TQString& useIconChecked,
const KShortcut& cut, TQObject* tqparent, const char* name) :
KToggleAction(useTextUnchecked, useIconUnchecked, cut, tqparent, name),
const KShortcut& cut, TQObject* parent, const char* name) :
KToggleAction(useTextUnchecked, useIconUnchecked, cut, parent, name),
textChecked(useTextChecked), textUnchecked(useTextUnchecked),
iconChecked(useIconChecked), iconUnchecked(useIconUnchecked) {
}
IconToggleAction::IconToggleAction(const TQString& useText,
const TQString& useIconUnchecked, const TQString& useIconChecked,
const KShortcut& cut, TQObject* tqparent, const char* name) :
KToggleAction(useText, useIconUnchecked, cut, tqparent, name),
const KShortcut& cut, TQObject* parent, const char* name) :
KToggleAction(useText, useIconUnchecked, cut, parent, name),
textChecked(useText), textUnchecked(useText),
iconChecked(useIconChecked), iconUnchecked(useIconUnchecked) {
}

@ -32,19 +32,19 @@ class IconToggleAction : public KToggleAction {
const TQString& useTextUnchecked, const TQString& useIconUnchecked,
const TQString& useTextChecked, const TQString& useIconChecked,
const KShortcut& cut, const TQObject* receiver, const char* slot,
TQObject* tqparent, const char* name = 0);
TQObject* parent, const char* name = 0);
IconToggleAction(const TQString& useText,
const TQString& useIconUnchecked, const TQString& useIconChecked,
const KShortcut& cut, const TQObject* receiver, const char* slot,
TQObject* tqparent, const char* name = 0);
TQObject* parent, const char* name = 0);
IconToggleAction(
const TQString& useTextUnchecked, const TQString& useIconUnchecked,
const TQString& useTextChecked, const TQString& useIconChecked,
const KShortcut& cut = KShortcut(), TQObject* tqparent = 0,
const KShortcut& cut = KShortcut(), TQObject* parent = 0,
const char* name = 0);
IconToggleAction(const TQString& useText,
const TQString& useIconUnchecked, const TQString& useIconChecked,
const KShortcut& cut = KShortcut(), TQObject* tqparent = 0,
const KShortcut& cut = KShortcut(), TQObject* parent = 0,
const char* name = 0);
/**

@ -15,8 +15,8 @@
#include <klocale.h>
KCPUDock::KCPUDock(int whichCPU, StatPopup *tqparent, const char *name) :
StatDock(whichCPU, i18n("C"), tqparent, name) {
KCPUDock::KCPUDock(int whichCPU, StatPopup *parent, const char *name) :
StatDock(whichCPU, i18n("C"), parent, name) {
}
void KCPUDock::setCPULabel(int set) {

@ -25,7 +25,7 @@ public:
/**
* Constructor.
*/
KCPUDock(int whichDock, StatPopup *tqparent = 0, const char *name = 0);
KCPUDock(int whichDock, StatPopup *parent = 0, const char *name = 0);
/**
* Sets the label for this diagram. The label will reflect which

@ -21,8 +21,8 @@
#include <klocale.h>
#include <kpopupmenu.h>
KCPULoad::KCPULoad(TQWidget *tqparent, const char *name) :
StatPopup(true, tqparent, name) {
KCPULoad::KCPULoad(TQWidget *parent, const char *name) :
StatPopup(true, parent, name) {
// Create the /proc reading class and check for SMP.
proc = new KCPUProc();
supportSMP = proc->hasSMP();

@ -30,7 +30,7 @@ public:
/**
* Constructor and destructor.
*/
KCPULoad(TQWidget *tqparent = 0, const char *name = 0);
KCPULoad(TQWidget *parent = 0, const char *name = 0);
~KCPULoad();
public slots:

@ -25,8 +25,8 @@ static int stockSpeed[] = {
3000, 4000, 5000, 0
};
SpeedDialog::SpeedDialog(int defaultSpeed, TQWidget* tqparent) :
KDialogBase(tqparent, "speed dialog", true,
SpeedDialog::SpeedDialog(int defaultSpeed, TQWidget* parent) :
KDialogBase(parent, "speed dialog", true,
i18n("Select Speed"), Ok|Cancel, Ok),
speed(defaultSpeed) {
TQHBox* page = makeHBoxMainWidget();

@ -27,7 +27,7 @@ class SpeedDialog : public KDialogBase {
/**
* Constructor.
*/
SpeedDialog(int defaultSpeed, TQWidget* tqparent);
SpeedDialog(int defaultSpeed, TQWidget* parent);
/**
* Returns the speed currently selected in the dialog.

@ -33,8 +33,8 @@ const TQColor StatDock::colorBlack(0, 0, 0);
#define SOFT_STEP 3
StatDock::StatDock(int whichDock, const TQString& useLabel,
StatPopup *tqparent, const char *name) :
KSystemTray(tqparent,name),
StatPopup *parent, const char *name) :
KSystemTray(parent,name),
label(useLabel),
bufUpper(0),
bufLower(0),
@ -48,7 +48,7 @@ StatDock::StatDock(int whichDock, const TQString& useLabel,
bufUpper[i] = bufLower[i] = 0;
// Initialise the display.
tqparent->initDock(this, contextMenu(), whichDock);
parent->initDock(this, contextMenu(), whichDock);
setBackgroundColor(colorBlack);
resize(DOCK_SIZE, DOCK_SIZE);
show();

@ -29,7 +29,7 @@ class StatPopup;
* with the upper readings shown above the lower readings. When diagram
* splitting is switched off, only the upper readings will be displayed.
*
* The tqparent window of a StatDock must be a StatPopup, which provides
* The parent window of a StatDock must be a StatPopup, which provides
* all of the actions in this window's context menu.
*/
class StatDock : public KSystemTray {
@ -59,14 +59,14 @@ public:
/**
* Constructor and destructor.
*
* Note that the constructor will call tqparent->initDock().
* Note that the constructor will call parent->initDock().
*
* Parameter whichDock must be 0 or 1 to specify whether this dock
* will become dock[0] or dock[1] in the given StatPopup tqparent.
* will become dock[0] or dock[1] in the given StatPopup parent.
* Parameter useLabel should contain the label that will be drawn on
* the diagram if labelling is enabled.
*/
StatDock(int whichDock, const TQString& useLabel, StatPopup *tqparent,
StatDock(int whichDock, const TQString& useLabel, StatPopup *parent,
const char *name = 0);
~StatDock();

@ -59,8 +59,8 @@ void StatPopup::Reading::Init(int which, StatPopup* popup)
}
StatPopup::StatPopup(bool useSupportSplit, TQWidget *tqparent, const char *name) :
TQWidget(tqparent, name, TQt::WStyle_Customize | TQt::WStyle_NoBorder |
StatPopup::StatPopup(bool useSupportSplit, TQWidget *parent, const char *name) :
TQWidget(parent, name, TQt::WStyle_Customize | TQt::WStyle_NoBorder |
TQt::WStyle_StaysOnTop | TQt::WDestructiveClose | TQt::WType_TopLevel),
supportSplit(useSupportSplit) {
// Window management.

@ -65,7 +65,7 @@ public:
* any configuration information. See the general class notes also
* for a list of other routines this constructor will not call.
*/
StatPopup(bool useSupportSplit, TQWidget *tqparent = 0, const char *name = 0);
StatPopup(bool useSupportSplit, TQWidget *parent = 0, const char *name = 0);
~StatPopup();
/**

Loading…
Cancel
Save