summaryrefslogtreecommitdiffstats
path: root/ksim/monitors
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/monitors')
-rw-r--r--ksim/monitors/cpu/ksimcpu.cpp8
-rw-r--r--ksim/monitors/cpu/ksimcpu.h4
-rw-r--r--ksim/monitors/disk/ksimdisk.cpp8
-rw-r--r--ksim/monitors/disk/ksimdisk.h4
-rw-r--r--ksim/monitors/filesystem/filesystemwidget.cpp4
-rw-r--r--ksim/monitors/filesystem/filesystemwidget.h2
-rw-r--r--ksim/monitors/filesystem/fsystemconfig.cpp8
-rw-r--r--ksim/monitors/filesystem/fsystemconfig.h2
-rw-r--r--ksim/monitors/filesystem/ksimfsystem.cpp4
-rw-r--r--ksim/monitors/filesystem/ksimfsystem.h2
-rw-r--r--ksim/monitors/i8k/ksimi8k.cpp8
-rw-r--r--ksim/monitors/i8k/ksimi8k.h4
-rw-r--r--ksim/monitors/lm_sensors/NVCtrl.c20
-rw-r--r--ksim/monitors/lm_sensors/NVCtrl.h22
-rw-r--r--ksim/monitors/lm_sensors/NVCtrlLib.h14
-rw-r--r--ksim/monitors/lm_sensors/ksimsensors.cpp4
-rw-r--r--ksim/monitors/lm_sensors/ksimsensors.h2
-rw-r--r--ksim/monitors/lm_sensors/nv_control.h10
-rw-r--r--ksim/monitors/lm_sensors/sensorsconfig.cpp8
-rw-r--r--ksim/monitors/lm_sensors/sensorsconfig.h2
-rw-r--r--ksim/monitors/mail/ksimmail.cpp20
-rw-r--r--ksim/monitors/mail/ksimmail.h6
-rw-r--r--ksim/monitors/net/ksimnet.cpp4
-rw-r--r--ksim/monitors/net/ksimnet.h2
-rw-r--r--ksim/monitors/net/netconfig.cpp4
-rw-r--r--ksim/monitors/net/netconfig.h2
-rw-r--r--ksim/monitors/net/netdialog.cpp4
-rw-r--r--ksim/monitors/net/netdialog.h2
-rw-r--r--ksim/monitors/snmp/browsedialog.cpp4
-rw-r--r--ksim/monitors/snmp/browsedialog.h2
-rw-r--r--ksim/monitors/snmp/chartmonitor.cpp4
-rw-r--r--ksim/monitors/snmp/chartmonitor.h2
-rw-r--r--ksim/monitors/snmp/configpage.cpp4
-rw-r--r--ksim/monitors/snmp/configpage.h18
-rw-r--r--ksim/monitors/snmp/hostdialog.cpp8
-rw-r--r--ksim/monitors/snmp/hostdialog.h4
-rw-r--r--ksim/monitors/snmp/labelmonitor.cpp4
-rw-r--r--ksim/monitors/snmp/labelmonitor.h2
-rw-r--r--ksim/monitors/snmp/monitor.cpp4
-rw-r--r--ksim/monitors/snmp/monitor.h2
-rw-r--r--ksim/monitors/snmp/monitorconfig.cpp6
-rw-r--r--ksim/monitors/snmp/monitorconfig.h2
-rw-r--r--ksim/monitors/snmp/monitordialog.cpp8
-rw-r--r--ksim/monitors/snmp/monitordialog.h4
-rw-r--r--ksim/monitors/snmp/probedialog.cpp4
-rw-r--r--ksim/monitors/snmp/probedialog.h2
-rw-r--r--ksim/monitors/snmp/proberesultdialog.cpp4
-rw-r--r--ksim/monitors/snmp/proberesultdialog.h2
-rw-r--r--ksim/monitors/snmp/view.cpp4
-rw-r--r--ksim/monitors/snmp/view.h2
-rw-r--r--ksim/monitors/snmp/walker.cpp4
-rw-r--r--ksim/monitors/snmp/walker.h2
52 files changed, 143 insertions, 143 deletions
diff --git a/ksim/monitors/cpu/ksimcpu.cpp b/ksim/monitors/cpu/ksimcpu.cpp
index 9cb570a..39bbffd 100644
--- a/ksim/monitors/cpu/ksimcpu.cpp
+++ b/ksim/monitors/cpu/ksimcpu.cpp
@@ -107,8 +107,8 @@ void CpuPlugin::showAbout()
KAboutApplication(&aboutData).exec();
}
-CpuView::CpuView(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginView(tqparent, name)
+CpuView::CpuView(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginView(parent, name)
{
#ifdef Q_OS_LINUX
m_procStream = 0L;
@@ -361,8 +361,8 @@ KSim::Progress *CpuView::addLabel()
return progress;
}
-CpuConfig::CpuConfig(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginPage(tqparent, name)
+CpuConfig::CpuConfig(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginPage(parent, name)
{
TQVBoxLayout * mainLayout = new TQVBoxLayout( this );
mainLayout->setSpacing( 6 );
diff --git a/ksim/monitors/cpu/ksimcpu.h b/ksim/monitors/cpu/ksimcpu.h
index 79e561e..a520b7b 100644
--- a/ksim/monitors/cpu/ksimcpu.h
+++ b/ksim/monitors/cpu/ksimcpu.h
@@ -54,7 +54,7 @@ class CpuView : public KSim::PluginView
Q_OBJECT
TQ_OBJECT
public:
- CpuView(KSim::PluginObject *tqparent, const char *name);
+ CpuView(KSim::PluginObject *parent, const char *name);
~CpuView();
virtual void reparseConfig();
@@ -203,7 +203,7 @@ class CpuConfig : public KSim::PluginPage
Q_OBJECT
TQ_OBJECT
public:
- CpuConfig(KSim::PluginObject *tqparent, const char *name);
+ CpuConfig(KSim::PluginObject *parent, const char *name);
~CpuConfig();
virtual void saveConfig();
diff --git a/ksim/monitors/disk/ksimdisk.cpp b/ksim/monitors/disk/ksimdisk.cpp
index 2365e19..c91f173 100644
--- a/ksim/monitors/disk/ksimdisk.cpp
+++ b/ksim/monitors/disk/ksimdisk.cpp
@@ -103,8 +103,8 @@ void DiskPlugin::showAbout()
KAboutApplication(&aboutData).exec();
}
-DiskView::DiskView(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginView(tqparent, name)
+DiskView::DiskView(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginView(parent, name)
{
#ifdef Q_OS_LINUX
m_bLinux24 = true;
@@ -472,8 +472,8 @@ void DiskView::cleanup()
m_addAll = false;
}
-DiskConfig::DiskConfig(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginPage(tqparent, name)
+DiskConfig::DiskConfig(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginPage(parent, name)
{
m_layout = new TQVBoxLayout(this);
m_layout->setSpacing(6);
diff --git a/ksim/monitors/disk/ksimdisk.h b/ksim/monitors/disk/ksimdisk.h
index f122fbf..1c97040 100644
--- a/ksim/monitors/disk/ksimdisk.h
+++ b/ksim/monitors/disk/ksimdisk.h
@@ -57,7 +57,7 @@ class DiskView : public KSim::PluginView
Q_OBJECT
TQ_OBJECT
public:
- DiskView(KSim::PluginObject *tqparent, const char *name);
+ DiskView(KSim::PluginObject *parent, const char *name);
~DiskView();
virtual void reparseConfig();
@@ -134,7 +134,7 @@ class DiskConfig : public KSim::PluginPage
Q_OBJECT
TQ_OBJECT
public:
- DiskConfig(KSim::PluginObject *tqparent, const char *name);
+ DiskConfig(KSim::PluginObject *parent, const char *name);
~DiskConfig();
virtual void saveConfig();
diff --git a/ksim/monitors/filesystem/filesystemwidget.cpp b/ksim/monitors/filesystem/filesystemwidget.cpp
index 4149aee..fb04470 100644
--- a/ksim/monitors/filesystem/filesystemwidget.cpp
+++ b/ksim/monitors/filesystem/filesystemwidget.cpp
@@ -85,8 +85,8 @@ void FilesystemWidget::Filesystem::setValue(int value)
m_display->setValue(value);
}
-FilesystemWidget::FilesystemWidget(TQWidget *tqparent, const char *name)
- : TQWidget(tqparent, name)
+FilesystemWidget::FilesystemWidget(TQWidget *parent, const char *name)
+ : TQWidget(parent, name)
{
m_list.setAutoDelete(true);
m_layout = new TQVBoxLayout(this);
diff --git a/ksim/monitors/filesystem/filesystemwidget.h b/ksim/monitors/filesystem/filesystemwidget.h
index b709125..a79a34f 100644
--- a/ksim/monitors/filesystem/filesystemwidget.h
+++ b/ksim/monitors/filesystem/filesystemwidget.h
@@ -32,7 +32,7 @@ class FilesystemWidget : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- FilesystemWidget(TQWidget *tqparent, const char *name);
+ FilesystemWidget(TQWidget *parent, const char *name);
~FilesystemWidget();
void append(int, const TQString &);
diff --git a/ksim/monitors/filesystem/fsystemconfig.cpp b/ksim/monitors/filesystem/fsystemconfig.cpp
index 937d2cc..6b8c928 100644
--- a/ksim/monitors/filesystem/fsystemconfig.cpp
+++ b/ksim/monitors/filesystem/fsystemconfig.cpp
@@ -37,17 +37,17 @@
class FSysViewItem : public TQCheckListItem
{
public:
- FSysViewItem(TQListView *tqparent, const TQString &text1,
+ FSysViewItem(TQListView *parent, const TQString &text1,
const TQString &text2, const TQString &text3)
- : TQCheckListItem(tqparent, text1, CheckBox)
+ : TQCheckListItem(parent, text1, CheckBox)
{
setText(1, text2);
setText(2, text3);
}
};
-FsystemConfig::FsystemConfig(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginPage(tqparent, name)
+FsystemConfig::FsystemConfig(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginPage(parent, name)
{
m_mainLayout = new TQGridLayout(this);
m_mainLayout->setSpacing(6);
diff --git a/ksim/monitors/filesystem/fsystemconfig.h b/ksim/monitors/filesystem/fsystemconfig.h
index 96fccf1..82eafb7 100644
--- a/ksim/monitors/filesystem/fsystemconfig.h
+++ b/ksim/monitors/filesystem/fsystemconfig.h
@@ -35,7 +35,7 @@ class FsystemConfig : public KSim::PluginPage
Q_OBJECT
TQ_OBJECT
public:
- FsystemConfig(KSim::PluginObject *tqparent, const char *name);
+ FsystemConfig(KSim::PluginObject *parent, const char *name);
~FsystemConfig();
virtual void saveConfig();
diff --git a/ksim/monitors/filesystem/ksimfsystem.cpp b/ksim/monitors/filesystem/ksimfsystem.cpp
index f73ce3d..9b08da9 100644
--- a/ksim/monitors/filesystem/ksimfsystem.cpp
+++ b/ksim/monitors/filesystem/ksimfsystem.cpp
@@ -81,9 +81,9 @@ void PluginModule::showAbout()
KAboutApplication(&aboutData).exec();
}
-Fsystem::Fsystem(KSim::PluginObject *tqparent, const char *name)
+Fsystem::Fsystem(KSim::PluginObject *parent, const char *name)
: DCOPObject("fsystem"),
- KSim::PluginView(tqparent, name)
+ KSim::PluginView(parent, name)
{
config()->setGroup("Fsystem");
TQVBoxLayout *vbLayout = new TQVBoxLayout(this);
diff --git a/ksim/monitors/filesystem/ksimfsystem.h b/ksim/monitors/filesystem/ksimfsystem.h
index cf8dc9e..a9eefc6 100644
--- a/ksim/monitors/filesystem/ksimfsystem.h
+++ b/ksim/monitors/filesystem/ksimfsystem.h
@@ -53,7 +53,7 @@ class Fsystem : public KSim::PluginView, public FsystemIface
/**
* construtor of Fsystem, calls all init functions to create the plugin.
*/
- Fsystem(KSim::PluginObject *tqparent, const char *name);
+ Fsystem(KSim::PluginObject *parent, const char *name);
~Fsystem();
virtual void reparseConfig();
diff --git a/ksim/monitors/i8k/ksimi8k.cpp b/ksim/monitors/i8k/ksimi8k.cpp
index 2c209b4..c265055 100644
--- a/ksim/monitors/i8k/ksimi8k.cpp
+++ b/ksim/monitors/i8k/ksimi8k.cpp
@@ -72,8 +72,8 @@ void I8KPlugin::showAbout()
KAboutApplication(&aboutData).exec();
}
-I8KView::I8KView(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginView(tqparent, name),
+I8KView::I8KView(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginView(parent, name),
m_timer( 0L ), m_procFile( 0L ), m_procStream( 0L )
{
initGUI();
@@ -208,8 +208,8 @@ void I8KView::updateView()
.tqarg( m_unit ) );
}
-I8KConfig::I8KConfig(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginPage(tqparent, name)
+I8KConfig::I8KConfig(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginPage(parent, name)
{
m_unit = new TQCheckBox( i18n( "Show temperature in Fahrenheit" ),
this );
diff --git a/ksim/monitors/i8k/ksimi8k.h b/ksim/monitors/i8k/ksimi8k.h
index 76b8796..01383b5 100644
--- a/ksim/monitors/i8k/ksimi8k.h
+++ b/ksim/monitors/i8k/ksimi8k.h
@@ -52,7 +52,7 @@ class I8KView : public KSim::PluginView
Q_OBJECT
TQ_OBJECT
public:
- I8KView(KSim::PluginObject *tqparent, const char *name);
+ I8KView(KSim::PluginObject *parent, const char *name);
~I8KView();
virtual void reparseConfig();
@@ -84,7 +84,7 @@ class I8KConfig : public KSim::PluginPage
Q_OBJECT
TQ_OBJECT
public:
- I8KConfig(KSim::PluginObject *tqparent, const char *name);
+ I8KConfig(KSim::PluginObject *parent, const char *name);
~I8KConfig();
virtual void saveConfig();
diff --git a/ksim/monitors/lm_sensors/NVCtrl.c b/ksim/monitors/lm_sensors/NVCtrl.c
index dd5f500..6c61b8a 100644
--- a/ksim/monitors/lm_sensors/NVCtrl.c
+++ b/ksim/monitors/lm_sensors/NVCtrl.c
@@ -143,7 +143,7 @@ Bool XNVCTRLIsNvScreen (
void XNVCTRLSetAttribute (
Display *dpy,
int screen,
- unsigned int display_tqmask,
+ unsigned int display_mask,
unsigned int attribute,
int value
){
@@ -157,7 +157,7 @@ void XNVCTRLSetAttribute (
req->reqType = info->codes->major_opcode;
req->nvReqType = X_nvCtrlSetAttribute;
req->screen = screen;
- req->display_tqmask = display_tqmask;
+ req->display_mask = display_mask;
req->attribute = attribute;
req->value = value;
UnlockDisplay (dpy);
@@ -168,7 +168,7 @@ void XNVCTRLSetAttribute (
Bool XNVCTRLQueryAttribute (
Display *dpy,
int screen,
- unsigned int display_tqmask,
+ unsigned int display_mask,
unsigned int attribute,
int *value
){
@@ -187,7 +187,7 @@ Bool XNVCTRLQueryAttribute (
req->reqType = info->codes->major_opcode;
req->nvReqType = X_nvCtrlQueryAttribute;
req->screen = screen;
- req->display_tqmask = display_tqmask;
+ req->display_mask = display_mask;
req->attribute = attribute;
if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) {
UnlockDisplay (dpy);
@@ -205,7 +205,7 @@ Bool XNVCTRLQueryAttribute (
Bool XNVCTRLQueryStringAttribute (
Display *dpy,
int screen,
- unsigned int display_tqmask,
+ unsigned int display_mask,
unsigned int attribute,
char **ptr
){
@@ -227,7 +227,7 @@ Bool XNVCTRLQueryStringAttribute (
req->reqType = info->codes->major_opcode;
req->nvReqType = X_nvCtrlQueryStringAttribute;
req->screen = screen;
- req->display_tqmask = display_tqmask;
+ req->display_mask = display_mask;
req->attribute = attribute;
if (!_XReply (dpy, (xReply *) &rep, 0, False)) {
UnlockDisplay (dpy);
@@ -256,7 +256,7 @@ Bool XNVCTRLQueryStringAttribute (
Bool XNVCTRLQueryValidAttributeValues (
Display *dpy,
int screen,
- unsigned int display_tqmask,
+ unsigned int display_mask,
unsigned int attribute,
NVCTRLAttributeValidValuesRec *values
){
@@ -277,7 +277,7 @@ Bool XNVCTRLQueryValidAttributeValues (
req->reqType = info->codes->major_opcode;
req->nvReqType = X_nvCtrlQueryValidAttributeValues;
req->screen = screen;
- req->display_tqmask = display_tqmask;
+ req->display_mask = display_mask;
req->attribute = attribute;
if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) {
UnlockDisplay (dpy);
@@ -343,8 +343,8 @@ static Bool wire_to_event (Display *dpy, XEvent *host, xEvent *wire)
re->attribute_changed.display = dpy;
re->attribute_changed.time = event->u.attribute_changed.time;
re->attribute_changed.screen = event->u.attribute_changed.screen;
- re->attribute_changed.display_tqmask =
- event->u.attribute_changed.display_tqmask;
+ re->attribute_changed.display_mask =
+ event->u.attribute_changed.display_mask;
re->attribute_changed.attribute = event->u.attribute_changed.attribute;
re->attribute_changed.value = event->u.attribute_changed.value;
break;
diff --git a/ksim/monitors/lm_sensors/NVCtrl.h b/ksim/monitors/lm_sensors/NVCtrl.h
index 5e78e27..81c9432 100644
--- a/ksim/monitors/lm_sensors/NVCtrl.h
+++ b/ksim/monitors/lm_sensors/NVCtrl.h
@@ -26,7 +26,7 @@
/*
* Integer attributes; these are settable/gettable via
* XNVCTRLSetAttribute() and XNVCTRLQueryAttribute, respectively.
- * Some attributes may only be read; some may require a display_tqmask
+ * Some attributes may only be read; some may require a display_mask
* argument. This information is encoded in the "permission" comment
* after each attribute #define, and can be queried at run time with
* XNVCTRLQueryValidAttributeValues().
@@ -40,14 +40,14 @@
* various reasons: they represent static system information, they
* can only be changed by changing an XF86Config option, etc).
*
- * D: The attribute requires the display tqmask argument. The
+ * D: The attribute requires the display mask argument. The
* attributes NV_CTRL_CONNECTED_DISPLAYS and NV_CTRL_ENABLED_DISPLAYS
- * will be a bittqmask of what display devices are connected and what
+ * will be a bitmask of what display devices are connected and what
* display devices are enabled for use in X, respectively. Each bit
- * in the bittqmask represents a display device; it is these bits which
- * should be used as the display_tqmask when dealing with attributes
+ * in the bitmask represents a display device; it is these bits which
+ * should be used as the display_mask when dealing with attributes
* designated with "D" below. For attributes that do not require the
- * display tqmask, the argument is ignored.
+ * display mask, the argument is ignored.
*/
@@ -249,7 +249,7 @@
/*
- * NV_CTRL_CONNECTED_DISPLAYS - returns a display tqmask indicating what
+ * NV_CTRL_CONNECTED_DISPLAYS - returns a display mask indicating what
* display devices are connected to the GPU driving the specified X
* screen.
*/
@@ -258,7 +258,7 @@
/*
- * NV_CTRL_ENABLED_DISPLAYS - returns a display tqmask indicating what
+ * NV_CTRL_ENABLED_DISPLAYS - returns a display mask indicating what
* display devices are enabled for use on the specified X screen.
*/
@@ -717,7 +717,7 @@
/*
* NV_CTRL_STRING_DISPLAY_DEVICE_NAME - name of the display device
- * specified in the display_tqmask argument.
+ * specified in the display_mask argument.
*/
#define NV_CTRL_STRING_DISPLAY_DEVICE_NAME 4 /* R-D */
@@ -746,7 +746,7 @@
* is no fixed range of valid values.
*
* ATTRIBUTE_TYPE_BITMASK : the attribute is an integer value,
- * interpretted as a bittqmask.
+ * interpretted as a bitmask.
*
* ATTRIBUTE_TYPE_BOOL : the attribute is a boolean, valid values are
* either 1 (on/true) or 0 (off/false).
@@ -763,7 +763,7 @@
* which can only have certain values, depending on GPU.
*
*
- * The permissions field of NVCTRLAttributeValidValuesRec is a bittqmask
+ * The permissions field of NVCTRLAttributeValidValuesRec is a bitmask
* that may contain:
*
* ATTRIBUTE_TYPE_READ
diff --git a/ksim/monitors/lm_sensors/NVCtrlLib.h b/ksim/monitors/lm_sensors/NVCtrlLib.h
index 704071c..8d9cec4 100644
--- a/ksim/monitors/lm_sensors/NVCtrlLib.h
+++ b/ksim/monitors/lm_sensors/NVCtrlLib.h
@@ -55,7 +55,7 @@ Bool XNVCTRLIsNvScreen (
* Sets the attribute to the given value. The attributes and their
* possible values are listed in NVCtrl.h.
*
- * Not all attributes require the display_tqmask parameter; see
+ * Not all attributes require the display_mask parameter; see
* NVCtrl.h for details.
*
* Possible errors:
@@ -66,7 +66,7 @@ Bool XNVCTRLIsNvScreen (
void XNVCTRLSetAttribute (
Display *dpy,
int screen,
- unsigned int display_tqmask,
+ unsigned int display_mask,
unsigned int attribute,
int value
);
@@ -78,7 +78,7 @@ void XNVCTRLSetAttribute (
* If XNVCTRLQueryAttribute returns True, value will contain the
* value of the specified attribute.
*
- * Not all attributes require the display_tqmask parameter; see
+ * Not all attributes require the display_mask parameter; see
* NVCtrl.h for details.
*
* Possible errors:
@@ -90,7 +90,7 @@ void XNVCTRLSetAttribute (
Bool XNVCTRLQueryAttribute (
Display *dpy,
int screen,
- unsigned int display_tqmask,
+ unsigned int display_mask,
unsigned int attribute,
int *value
);
@@ -112,7 +112,7 @@ Bool XNVCTRLQueryAttribute (
Bool XNVCTRLQueryStringAttribute (
Display *dpy,
int screen,
- unsigned int display_tqmask,
+ unsigned int display_mask,
unsigned int attribute,
char **ptr
);
@@ -129,7 +129,7 @@ Bool XNVCTRLQueryStringAttribute (
Bool XNVCTRLQueryValidAttributeValues (
Display *dpy,
int screen,
- unsigned int display_tqmask,
+ unsigned int display_mask,
unsigned int attribute,
NVCTRLAttributeValidValuesRec *values
);
@@ -166,7 +166,7 @@ typedef struct {
Display *display;
Time time;
int screen;
- unsigned int display_tqmask;
+ unsigned int display_mask;
unsigned int attribute;
int value;
} XNVCtrlAttributeChangedEvent;
diff --git a/ksim/monitors/lm_sensors/ksimsensors.cpp b/ksim/monitors/lm_sensors/ksimsensors.cpp
index 76bc4c3..eb2614f 100644
--- a/ksim/monitors/lm_sensors/ksimsensors.cpp
+++ b/ksim/monitors/lm_sensors/ksimsensors.cpp
@@ -71,8 +71,8 @@ void PluginModule::showAbout()
KAboutApplication(&aboutData).exec();
}
-SensorsView::SensorsView(KSim::PluginObject *tqparent, const char *name)
- : DCOPObject("sensors"), KSim::PluginView(tqparent, name)
+SensorsView::SensorsView(KSim::PluginObject *parent, const char *name)
+ : DCOPObject("sensors"), KSim::PluginView(parent, name)
{
config()->setGroup("Sensors");
(new TQVBoxLayout(this))->setAutoAdd(true);
diff --git a/ksim/monitors/lm_sensors/ksimsensors.h b/ksim/monitors/lm_sensors/ksimsensors.h
index 195899e..97fa757 100644
--- a/ksim/monitors/lm_sensors/ksimsensors.h
+++ b/ksim/monitors/lm_sensors/ksimsensors.h
@@ -50,7 +50,7 @@ class SensorsView : public KSim::PluginView, public KSimSensorsIface
Q_OBJECT
TQ_OBJECT
public:
- SensorsView(KSim::PluginObject *tqparent, const char *name);
+ SensorsView(KSim::PluginObject *parent, const char *name);
~SensorsView();
virtual void reparseConfig();
diff --git a/ksim/monitors/lm_sensors/nv_control.h b/ksim/monitors/lm_sensors/nv_control.h
index 9900a00..d94ee95 100644
--- a/ksim/monitors/lm_sensors/nv_control.h
+++ b/ksim/monitors/lm_sensors/nv_control.h
@@ -87,7 +87,7 @@ typedef struct {
CARD8 nvReqType;
CARD16 length B16;
CARD32 screen B32;
- CARD32 display_tqmask B32;
+ CARD32 display_mask B32;
CARD32 attribute B32;
} xnvCtrlQueryAttributeReq;
#define sz_xnvCtrlQueryAttributeReq 16
@@ -111,7 +111,7 @@ typedef struct {
CARD8 nvReqType;
CARD16 length B16;
CARD32 screen B32;
- CARD32 display_tqmask B32;
+ CARD32 display_mask B32;
CARD32 attribute B32;
INT32 value B32;
} xnvCtrlSetAttributeReq;
@@ -122,7 +122,7 @@ typedef struct {
CARD8 nvReqType;
CARD16 length B16;
CARD32 screen B32;
- CARD32 display_tqmask B32;
+ CARD32 display_mask B32;
CARD32 attribute B32;
} xnvCtrlQueryStringAttributeReq;
#define sz_xnvCtrlQueryStringAttributeReq 16
@@ -150,7 +150,7 @@ typedef struct {
CARD8 nvReqType;
CARD16 length B16;
CARD32 screen B32;
- CARD32 display_tqmask B32;
+ CARD32 display_mask B32;
CARD32 attribute B32;
} xnvCtrlQueryValidAttributeValuesReq;
#define sz_xnvCtrlQueryValidAttributeValuesReq 16
@@ -192,7 +192,7 @@ typedef struct {
CARD16 sequenceNumber B16;
Time time B32;
CARD32 screen B32;
- CARD32 display_tqmask B32;
+ CARD32 display_mask B32;
CARD32 attribute B32;
CARD32 value B32;
CARD32 pad0 B32;
diff --git a/ksim/monitors/lm_sensors/sensorsconfig.cpp b/ksim/monitors/lm_sensors/sensorsconfig.cpp
index 8b1ff46..1f1cf10 100644
--- a/ksim/monitors/lm_sensors/sensorsconfig.cpp
+++ b/ksim/monitors/lm_sensors/sensorsconfig.cpp
@@ -40,10 +40,10 @@
class SensorViewItem : public TQCheckListItem
{
public:
- SensorViewItem(TQListView *tqparent, const TQString &text1,
+ SensorViewItem(TQListView *parent, const TQString &text1,
const TQString &text2, const TQString &text3,
const TQString &text4)
- : TQCheckListItem(tqparent, text1, CheckBox)
+ : TQCheckListItem(parent, text1, CheckBox)
{
setText(1, text2);
setText(2, text3);
@@ -51,8 +51,8 @@ class SensorViewItem : public TQCheckListItem
}
};
-SensorsConfig::SensorsConfig(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginPage(tqparent, name)
+SensorsConfig::SensorsConfig(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginPage(parent, name)
{
m_layout = new TQGridLayout(this);
m_layout->setSpacing(6);
diff --git a/ksim/monitors/lm_sensors/sensorsconfig.h b/ksim/monitors/lm_sensors/sensorsconfig.h
index f37c599..6e27e3d 100644
--- a/ksim/monitors/lm_sensors/sensorsconfig.h
+++ b/ksim/monitors/lm_sensors/sensorsconfig.h
@@ -38,7 +38,7 @@ class SensorsConfig : public KSim::PluginPage
Q_OBJECT
TQ_OBJECT
public:
- SensorsConfig(KSim::PluginObject *tqparent, const char *name);
+ SensorsConfig(KSim::PluginObject *parent, const char *name);
~SensorsConfig();
void saveConfig();
diff --git a/ksim/monitors/mail/ksimmail.cpp b/ksim/monitors/mail/ksimmail.cpp
index 260ad8e..f6cbe4a 100644
--- a/ksim/monitors/mail/ksimmail.cpp
+++ b/ksim/monitors/mail/ksimmail.cpp
@@ -66,8 +66,8 @@ void MailPlugin::showAbout()
KAboutApplication( &about ).exec();
}
-MailView::MailView( KSim::PluginObject* tqparent, const char* name )
- : KSim::PluginView( tqparent, name )
+MailView::MailView( KSim::PluginObject* parent, const char* name )
+ : KSim::PluginView( parent, name )
{
TQVBoxLayout* tqlayout = new TQVBoxLayout( this );
@@ -87,8 +87,8 @@ void MailView::updateDisplay()
{
}
-MailLabel::MailLabel( TQWidget* tqparent )
- : KSim::Label( KSim::Types::Mail, tqparent )
+MailLabel::MailLabel( TQWidget* parent )
+ : KSim::Label( KSim::Types::Mail, parent )
{
// label->setPixmap( KSim::ThemeLoader::self().current().krellMail() );
configureObject( false );
@@ -131,17 +131,17 @@ TQPixmap MailLabel::frame( const TQPixmap& source, int number ) const
{
TQPixmap result( source.width(), source.height() / m_frames );
bitBlt( &result, 0, 0, &source, 0, number * source.height() / m_frames );
- if ( source.tqmask() )
+ if ( source.mask() )
{
- TQBitmap tqmask( result.size() );
- bitBlt( &tqmask, 0, 0, source.tqmask(), 0, number * source.height() / m_frames );
- result.setMask( tqmask );
+ TQBitmap mask( result.size() );
+ bitBlt( &mask, 0, 0, source.mask(), 0, number * source.height() / m_frames );
+ result.setMask( mask );
}
return result;
}
-MailConfig::MailConfig( KSim::PluginObject* tqparent, const char* name )
- : KSim::PluginPage( tqparent, name )
+MailConfig::MailConfig( KSim::PluginObject* parent, const char* name )
+ : KSim::PluginPage( parent, name )
{
}
diff --git a/ksim/monitors/mail/ksimmail.h b/ksim/monitors/mail/ksimmail.h
index 776d574..3ecb647 100644
--- a/ksim/monitors/mail/ksimmail.h
+++ b/ksim/monitors/mail/ksimmail.h
@@ -41,7 +41,7 @@ class MailView : public KSim::PluginView
Q_OBJECT
TQ_OBJECT
public:
- MailView( KSim::PluginObject* tqparent, const char* name );
+ MailView( KSim::PluginObject* parent, const char* name );
~MailView();
virtual void reparseConfig();
@@ -55,7 +55,7 @@ class MailLabel : public KSim::Label
Q_OBJECT
TQ_OBJECT
public:
- MailLabel( TQWidget* tqparent );
+ MailLabel( TQWidget* parent );
virtual ~MailLabel();
virtual void configureObject( bool );
@@ -81,7 +81,7 @@ class MailConfig : public KSim::PluginPage
Q_OBJECT
TQ_OBJECT
public:
- MailConfig( KSim::PluginObject* tqparent, const char* name );
+ MailConfig( KSim::PluginObject* parent, const char* name );
~MailConfig();
virtual void saveConfig();
diff --git a/ksim/monitors/net/ksimnet.cpp b/ksim/monitors/net/ksimnet.cpp
index daaeb90..42e0ffd 100644
--- a/ksim/monitors/net/ksimnet.cpp
+++ b/ksim/monitors/net/ksimnet.cpp
@@ -99,8 +99,8 @@ void NetPlugin::showAbout()
KAboutApplication(&aboutData).exec();
}
-NetView::NetView(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginView(tqparent, name)
+NetView::NetView(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginView(parent, name)
{
#ifdef __linux__
m_procStream = 0L;
diff --git a/ksim/monitors/net/ksimnet.h b/ksim/monitors/net/ksimnet.h
index 3bd8cb1..87ad691 100644
--- a/ksim/monitors/net/ksimnet.h
+++ b/ksim/monitors/net/ksimnet.h
@@ -45,7 +45,7 @@ class NetView : public KSim::PluginView
Q_OBJECT
TQ_OBJECT
public:
- NetView(KSim::PluginObject *tqparent, const char *name);
+ NetView(KSim::PluginObject *parent, const char *name);
~NetView();
virtual void reparseConfig();
diff --git a/ksim/monitors/net/netconfig.cpp b/ksim/monitors/net/netconfig.cpp
index 9a19047..f3e98b7 100644
--- a/ksim/monitors/net/netconfig.cpp
+++ b/ksim/monitors/net/netconfig.cpp
@@ -34,8 +34,8 @@
#include "netconfig.moc"
#include "netdialog.h"
-NetConfig::NetConfig(KSim::PluginObject *tqparent, const char *name)
- : KSim::PluginPage(tqparent, name)
+NetConfig::NetConfig(KSim::PluginObject *parent, const char *name)
+ : KSim::PluginPage(parent, name)
{
m_yes = i18n("yes");
m_no = i18n("no");
diff --git a/ksim/monitors/net/netconfig.h b/ksim/monitors/net/netconfig.h
index 2d07176..4d6de56 100644
--- a/ksim/monitors/net/netconfig.h
+++ b/ksim/monitors/net/netconfig.h
@@ -35,7 +35,7 @@ class NetConfig : public KSim::PluginPage
Q_OBJECT
TQ_OBJECT
public:
- NetConfig(KSim::PluginObject *tqparent, const char *name);
+ NetConfig(KSim::PluginObject *parent, const char *name);
virtual ~NetConfig();
virtual void saveConfig();
diff --git a/ksim/monitors/net/netdialog.cpp b/ksim/monitors/net/netdialog.cpp
index d79f06f..c470a2c 100644
--- a/ksim/monitors/net/netdialog.cpp
+++ b/ksim/monitors/net/netdialog.cpp
@@ -49,8 +49,8 @@
#include <string.h>
-NetDialog::NetDialog(TQWidget *tqparent, const char *name)
- : TQTabDialog(tqparent, name, true)
+NetDialog::NetDialog(TQWidget *parent, const char *name)
+ : TQTabDialog(parent, name, true)
{
m_clicked = false;
setCaption(kapp->makeStdCaption(i18n("Network Interface")));
diff --git a/ksim/monitors/net/netdialog.h b/ksim/monitors/net/netdialog.h
index 094e40a..2b9f7b1 100644
--- a/ksim/monitors/net/netdialog.h
+++ b/ksim/monitors/net/netdialog.h
@@ -37,7 +37,7 @@ class NetDialog : public TQTabDialog
Q_OBJECT
TQ_OBJECT
public:
- NetDialog(TQWidget *tqparent, const char *name = 0);
+ NetDialog(TQWidget *parent, const char *name = 0);
~NetDialog();
const TQString deviceName() const;
diff --git a/ksim/monitors/snmp/browsedialog.cpp b/ksim/monitors/snmp/browsedialog.cpp
index 75f2dac..6480bf5 100644
--- a/ksim/monitors/snmp/browsedialog.cpp
+++ b/ksim/monitors/snmp/browsedialog.cpp
@@ -29,8 +29,8 @@
using namespace KSim::Snmp;
-BrowseDialog::BrowseDialog( const HostConfig &hostConfig, const TQString &currentOid, TQWidget *tqparent, const char *name )
- : BrowseDialogBase( tqparent, name ), m_host( hostConfig )
+BrowseDialog::BrowseDialog( const HostConfig &hostConfig, const TQString &currentOid, TQWidget *parent, const char *name )
+ : BrowseDialogBase( parent, name ), m_host( hostConfig )
{
stop->setGuiItem( KGuiItem( i18n( "&Stop" ), "stop" ) );
diff --git a/ksim/monitors/snmp/browsedialog.h b/ksim/monitors/snmp/browsedialog.h
index 7dfb4f7..2e605b8 100644
--- a/ksim/monitors/snmp/browsedialog.h
+++ b/ksim/monitors/snmp/browsedialog.h
@@ -41,7 +41,7 @@ class BrowseDialog : public BrowseDialogBase
Q_OBJECT
TQ_OBJECT
public:
- BrowseDialog( const HostConfig &hostConfig, const TQString &currentOid, TQWidget *tqparent, const char *name = 0 );
+ BrowseDialog( const HostConfig &hostConfig, const TQString &currentOid, TQWidget *parent, const char *name = 0 );
TQString selectedObjectIdentifier() const;
diff --git a/ksim/monitors/snmp/chartmonitor.cpp b/ksim/monitors/snmp/chartmonitor.cpp
index 4682c3b..1679eb6 100644
--- a/ksim/monitors/snmp/chartmonitor.cpp
+++ b/ksim/monitors/snmp/chartmonitor.cpp
@@ -22,8 +22,8 @@
using namespace KSim::Snmp;
-ChartMonitor::ChartMonitor( const MonitorConfig &config, TQWidget *tqparent, const char *name )
- : KSim::Chart( true /* displayMeter */, 0, TQString(), tqparent, name ),
+ChartMonitor::ChartMonitor( const MonitorConfig &config, TQWidget *parent, const char *name )
+ : KSim::Chart( true /* displayMeter */, 0, TQString(), parent, name ),
m_lastValue( 0 ), m_config( config ), m_firstSampleReceived( false )
{
setTitle( m_config.name );
diff --git a/ksim/monitors/snmp/chartmonitor.h b/ksim/monitors/snmp/chartmonitor.h
index 6713238..b147922 100644
--- a/ksim/monitors/snmp/chartmonitor.h
+++ b/ksim/monitors/snmp/chartmonitor.h
@@ -33,7 +33,7 @@ class ChartMonitor : public KSim::Chart
Q_OBJECT
TQ_OBJECT
public:
- ChartMonitor( const MonitorConfig &config, TQWidget *tqparent, const char *name = 0 );
+ ChartMonitor( const MonitorConfig &config, TQWidget *parent, const char *name = 0 );
public slots:
void setData( const Value &data );
diff --git a/ksim/monitors/snmp/configpage.cpp b/ksim/monitors/snmp/configpage.cpp
index f5c1d24..ee50054 100644
--- a/ksim/monitors/snmp/configpage.cpp
+++ b/ksim/monitors/snmp/configpage.cpp
@@ -43,8 +43,8 @@ static bool listViewHasSelection( TQListView *lv )
return false;
}
-ConfigPage::ConfigPage( Plugin *tqparent, const char *name )
- : KSim::PluginPage( tqparent, name )
+ConfigPage::ConfigPage( Plugin *parent, const char *name )
+ : KSim::PluginPage( parent, name )
{
( new TQVBoxLayout( this ) )->setAutoAdd( true );
diff --git a/ksim/monitors/snmp/configpage.h b/ksim/monitors/snmp/configpage.h
index f8b811c..6027862 100644
--- a/ksim/monitors/snmp/configpage.h
+++ b/ksim/monitors/snmp/configpage.h
@@ -35,14 +35,14 @@ namespace Snmp
class HostItem : public TQListViewItem
{
public:
- HostItem( TQListView *tqparent, const KSim::Snmp::HostConfig &src )
- : TQListViewItem( tqparent, TQString(), TQString(), TQString() )
+ HostItem( TQListView *parent, const KSim::Snmp::HostConfig &src )
+ : TQListViewItem( parent, TQString(), TQString(), TQString() )
{
setFromHostConfig( src );
}
- HostItem( TQListView *tqparent )
- : TQListViewItem( tqparent, TQString(), TQString(), TQString() )
+ HostItem( TQListView *parent )
+ : TQListViewItem( parent, TQString(), TQString(), TQString() )
{}
void setFromHostConfig( const KSim::Snmp::HostConfig &src )
@@ -56,14 +56,14 @@ public:
class MonitorItem : public TQListViewItem
{
public:
- MonitorItem( TQListView *tqparent, const KSim::Snmp::MonitorConfig &monitor )
- : TQListViewItem( tqparent, TQString(), TQString(), TQString() )
+ MonitorItem( TQListView *parent, const KSim::Snmp::MonitorConfig &monitor )
+ : TQListViewItem( parent, TQString(), TQString(), TQString() )
{
setFromMonitor( monitor );
}
- MonitorItem( TQListView *tqparent )
- : TQListViewItem( tqparent, TQString(), TQString(), TQString() )
+ MonitorItem( TQListView *parent )
+ : TQListViewItem( parent, TQString(), TQString(), TQString() )
{}
void setFromMonitor( const KSim::Snmp::MonitorConfig &monitor )
@@ -81,7 +81,7 @@ class ConfigPage : public KSim::PluginPage
Q_OBJECT
TQ_OBJECT
public:
- ConfigPage( Plugin *tqparent, const char *name );
+ ConfigPage( Plugin *parent, const char *name );
~ConfigPage();
virtual void saveConfig();
diff --git a/ksim/monitors/snmp/hostdialog.cpp b/ksim/monitors/snmp/hostdialog.cpp
index 2ea7314..7d66a75 100644
--- a/ksim/monitors/snmp/hostdialog.cpp
+++ b/ksim/monitors/snmp/hostdialog.cpp
@@ -35,15 +35,15 @@
using namespace KSim::Snmp;
-HostDialog::HostDialog( TQWidget *tqparent, const char *name )
- : HostDialogBase( tqparent, name )
+HostDialog::HostDialog( TQWidget *parent, const char *name )
+ : HostDialogBase( parent, name )
{
init();
port->setValue( 161 );
}
-HostDialog::HostDialog( const HostConfig &src, TQWidget *tqparent, const char *name )
- : HostDialogBase( tqparent, name )
+HostDialog::HostDialog( const HostConfig &src, TQWidget *parent, const char *name )
+ : HostDialogBase( parent, name )
{
init( src );
}
diff --git a/ksim/monitors/snmp/hostdialog.h b/ksim/monitors/snmp/hostdialog.h
index d384881..ba5e1c5 100644
--- a/ksim/monitors/snmp/hostdialog.h
+++ b/ksim/monitors/snmp/hostdialog.h
@@ -35,8 +35,8 @@ class HostDialog : public HostDialogBase
Q_OBJECT
TQ_OBJECT
public:
- HostDialog( TQWidget *tqparent, const char *name = 0 );
- HostDialog( const HostConfig &src, TQWidget *tqparent, const char *name = 0 );
+ HostDialog( TQWidget *parent, const char *name = 0 );
+ HostDialog( const HostConfig &src, TQWidget *parent, const char *name = 0 );
HostConfig settings() const;
diff --git a/ksim/monitors/snmp/labelmonitor.cpp b/ksim/monitors/snmp/labelmonitor.cpp
index 5e7ea34..2245a09 100644
--- a/ksim/monitors/snmp/labelmonitor.cpp
+++ b/ksim/monitors/snmp/labelmonitor.cpp
@@ -21,8 +21,8 @@
using namespace KSim::Snmp;
-LabelMonitor::LabelMonitor( const MonitorConfig &config, TQWidget *tqparent, const char *name )
- : KSim::Label( tqparent, name ), m_config( config )
+LabelMonitor::LabelMonitor( const MonitorConfig &config, TQWidget *parent, const char *name )
+ : KSim::Label( parent, name ), m_config( config )
{
}
diff --git a/ksim/monitors/snmp/labelmonitor.h b/ksim/monitors/snmp/labelmonitor.h
index 6ff8404..90ffd90 100644
--- a/ksim/monitors/snmp/labelmonitor.h
+++ b/ksim/monitors/snmp/labelmonitor.h
@@ -35,7 +35,7 @@ class LabelMonitor : public KSim::Label
Q_OBJECT
TQ_OBJECT
public:
- LabelMonitor( const MonitorConfig &config, TQWidget *tqparent, const char *name = 0 );
+ LabelMonitor( const MonitorConfig &config, TQWidget *parent, const char *name = 0 );
public slots:
void setData( const Value &data );
diff --git a/ksim/monitors/snmp/monitor.cpp b/ksim/monitors/snmp/monitor.cpp
index 414f4d9..052d2c0 100644
--- a/ksim/monitors/snmp/monitor.cpp
+++ b/ksim/monitors/snmp/monitor.cpp
@@ -24,8 +24,8 @@
using namespace KSim::Snmp;
-Monitor::Monitor( const HostConfig &host, const Identifier &oid, int refresh, TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ), m_oid( oid ), m_session( host )
+Monitor::Monitor( const HostConfig &host, const Identifier &oid, int refresh, TQObject *parent, const char *name )
+ : TQObject( parent, name ), m_oid( oid ), m_session( host )
{
if ( refresh > 0 )
m_timerId = startTimer( refresh );
diff --git a/ksim/monitors/snmp/monitor.h b/ksim/monitors/snmp/monitor.h
index 5b88b46..0fddbef 100644
--- a/ksim/monitors/snmp/monitor.h
+++ b/ksim/monitors/snmp/monitor.h
@@ -36,7 +36,7 @@ class Monitor : public TQObject, public TQThread
Q_OBJECT
TQ_OBJECT
public:
- Monitor( const HostConfig &host, const Identifier &oid, int refresh, TQObject *tqparent = 0, const char *name = 0 );
+ Monitor( const HostConfig &host, const Identifier &oid, int refresh, TQObject *parent = 0, const char *name = 0 );
virtual ~Monitor();
signals:
diff --git a/ksim/monitors/snmp/monitorconfig.cpp b/ksim/monitors/snmp/monitorconfig.cpp
index b8cd756..1bcbb0b 100644
--- a/ksim/monitors/snmp/monitorconfig.cpp
+++ b/ksim/monitors/snmp/monitorconfig.cpp
@@ -93,7 +93,7 @@ void MonitorConfig::save( KConfigBase &config ) const
config.writeEntry( "DisplayCurrentValueInline", displayCurrentValueInline );
}
-TQWidget *MonitorConfig::createMonitorWidget( TQWidget *tqparent, const char *name )
+TQWidget *MonitorConfig::createMonitorWidget( TQWidget *parent, const char *name )
{
TQWidget *w;
@@ -103,9 +103,9 @@ TQWidget *MonitorConfig::createMonitorWidget( TQWidget *tqparent, const char *na
return 0;
if ( display == Label )
- w = new LabelMonitor( *this, tqparent, name );
+ w = new LabelMonitor( *this, parent, name );
else
- w = new ChartMonitor( *this, tqparent, name );
+ w = new ChartMonitor( *this, parent, name );
Monitor *monitor = new Monitor( host, id, refresh, TQT_TQOBJECT(w) );
TQObject::connect( monitor, TQT_SIGNAL( newData( const Value & ) ),
diff --git a/ksim/monitors/snmp/monitorconfig.h b/ksim/monitors/snmp/monitorconfig.h
index 00554d7..cf2d525 100644
--- a/ksim/monitors/snmp/monitorconfig.h
+++ b/ksim/monitors/snmp/monitorconfig.h
@@ -41,7 +41,7 @@ struct MonitorConfig
bool isNull() const { return name.isEmpty() || host.isNull(); }
- TQWidget *createMonitorWidget( TQWidget *tqparent, const char *name = 0 );
+ TQWidget *createMonitorWidget( TQWidget *parent, const char *name = 0 );
HostConfig host;
TQString name;
diff --git a/ksim/monitors/snmp/monitordialog.cpp b/ksim/monitors/snmp/monitordialog.cpp
index 574f244..1bda0aa 100644
--- a/ksim/monitors/snmp/monitordialog.cpp
+++ b/ksim/monitors/snmp/monitordialog.cpp
@@ -37,14 +37,14 @@
using namespace KSim::Snmp;
-MonitorDialog::MonitorDialog( const HostConfigMap &hosts, TQWidget *tqparent, const char *name )
- : MonitorDialogBase( tqparent, name ), m_hosts( hosts )
+MonitorDialog::MonitorDialog( const HostConfigMap &hosts, TQWidget *parent, const char *name )
+ : MonitorDialogBase( parent, name ), m_hosts( hosts )
{
init();
}
-MonitorDialog::MonitorDialog( const MonitorConfig &monitor, const HostConfigMap &hosts, TQWidget *tqparent, const char *name )
- : MonitorDialogBase( tqparent, name ), m_hosts( hosts )
+MonitorDialog::MonitorDialog( const MonitorConfig &monitor, const HostConfigMap &hosts, TQWidget *parent, const char *name )
+ : MonitorDialogBase( parent, name ), m_hosts( hosts )
{
init( monitor );
}
diff --git a/ksim/monitors/snmp/monitordialog.h b/ksim/monitors/snmp/monitordialog.h
index 62ab5e2..eee6634 100644
--- a/ksim/monitors/snmp/monitordialog.h
+++ b/ksim/monitors/snmp/monitordialog.h
@@ -34,8 +34,8 @@ class MonitorDialog : public MonitorDialogBase
Q_OBJECT
TQ_OBJECT
public:
- MonitorDialog( const HostConfigMap &hosts, TQWidget *tqparent, const char *name = 0 );
- MonitorDialog( const MonitorConfig &monitor, const HostConfigMap &hosts, TQWidget *tqparent, const char *name = 0 );
+ MonitorDialog( const HostConfigMap &hosts, TQWidget *parent, const char *name = 0 );
+ MonitorDialog( const MonitorConfig &monitor, const HostConfigMap &hosts, TQWidget *parent, const char *name = 0 );
MonitorConfig monitorConfig() const;
diff --git a/ksim/monitors/snmp/probedialog.cpp b/ksim/monitors/snmp/probedialog.cpp
index 8edfe69..7261f21 100644
--- a/ksim/monitors/snmp/probedialog.cpp
+++ b/ksim/monitors/snmp/probedialog.cpp
@@ -38,8 +38,8 @@ static const char * const probeIdentifiers[] =
0
};
-ProbeDialog::ProbeDialog( const HostConfig &hostConfig, TQWidget *tqparent, const char *name )
- : KProgressDialog( tqparent, name, i18n( "SNMP Host Probe" ), TQString(), true /* modal */ ),
+ProbeDialog::ProbeDialog( const HostConfig &hostConfig, TQWidget *parent, const char *name )
+ : KProgressDialog( parent, name, i18n( "SNMP Host Probe" ), TQString(), true /* modal */ ),
m_host( hostConfig ), m_currentMonitor( 0 ), m_canceled( false )
{
setLabel( i18n( "Probing for common object identifiers..." ) );
diff --git a/ksim/monitors/snmp/probedialog.h b/ksim/monitors/snmp/probedialog.h
index 9ce949f..98e705b 100644
--- a/ksim/monitors/snmp/probedialog.h
+++ b/ksim/monitors/snmp/probedialog.h
@@ -40,7 +40,7 @@ class ProbeDialog : public KProgressDialog
Q_OBJECT
TQ_OBJECT
public:
- ProbeDialog( const HostConfig &hostConfig, TQWidget *tqparent, const char *name = 0 );
+ ProbeDialog( const HostConfig &hostConfig, TQWidget *parent, const char *name = 0 );
struct ProbeResult
{
diff --git a/ksim/monitors/snmp/proberesultdialog.cpp b/ksim/monitors/snmp/proberesultdialog.cpp
index fbdd4e6..1c8033a 100644
--- a/ksim/monitors/snmp/proberesultdialog.cpp
+++ b/ksim/monitors/snmp/proberesultdialog.cpp
@@ -27,8 +27,8 @@
using namespace KSim::Snmp;
ProbeResultDialog::ProbeResultDialog( const HostConfig &hostConfig, const ProbeDialog::ProbeResultList &probeResults,
- TQWidget *tqparent, const char *name )
- : ProbeResultDialogBase( tqparent, name )
+ TQWidget *parent, const char *name )
+ : ProbeResultDialogBase( parent, name )
{
info->setText( i18n( "Results of scanning host %1:" ).tqarg( hostConfig.name ) );
diff --git a/ksim/monitors/snmp/proberesultdialog.h b/ksim/monitors/snmp/proberesultdialog.h
index 47e012a..66300bf 100644
--- a/ksim/monitors/snmp/proberesultdialog.h
+++ b/ksim/monitors/snmp/proberesultdialog.h
@@ -36,7 +36,7 @@ class ProbeResultDialog : public ProbeResultDialogBase
TQ_OBJECT
public:
ProbeResultDialog( const HostConfig &hostConfig, const ProbeDialog::ProbeResultList &probeResults,
- TQWidget *tqparent, const char *name = 0 );
+ TQWidget *parent, const char *name = 0 );
private:
void addResultItem( const ProbeDialog::ProbeResult &result );
diff --git a/ksim/monitors/snmp/view.cpp b/ksim/monitors/snmp/view.cpp
index c6482ab..9515645 100644
--- a/ksim/monitors/snmp/view.cpp
+++ b/ksim/monitors/snmp/view.cpp
@@ -29,8 +29,8 @@
using namespace KSim::Snmp;
-View::View( Plugin *tqparent, const char *name )
- : KSim::PluginView( tqparent, name )
+View::View( Plugin *parent, const char *name )
+ : KSim::PluginView( parent, name )
{
m_layout = new TQVBoxLayout( this );
diff --git a/ksim/monitors/snmp/view.h b/ksim/monitors/snmp/view.h
index af27e23..a87af87 100644
--- a/ksim/monitors/snmp/view.h
+++ b/ksim/monitors/snmp/view.h
@@ -37,7 +37,7 @@ class View : public KSim::PluginView
Q_OBJECT
TQ_OBJECT
public:
- View( Plugin *tqparent, const char *name );
+ View( Plugin *parent, const char *name );
~View();
virtual void reparseConfig();
diff --git a/ksim/monitors/snmp/walker.cpp b/ksim/monitors/snmp/walker.cpp
index 70af99d..0aa6c0a 100644
--- a/ksim/monitors/snmp/walker.cpp
+++ b/ksim/monitors/snmp/walker.cpp
@@ -38,8 +38,8 @@ namespace
static const uint walkerRefresh = 0;
-Walker::Walker( const HostConfig &host, const Identifier &startOid, TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ), m_stop( false ), m_oid( startOid ), m_session( host )
+Walker::Walker( const HostConfig &host, const Identifier &startOid, TQObject *parent, const char *name )
+ : TQObject( parent, name ), m_stop( false ), m_oid( startOid ), m_session( host )
{
m_timerId = startTimer( walkerRefresh );
start();
diff --git a/ksim/monitors/snmp/walker.h b/ksim/monitors/snmp/walker.h
index c9f8e52..19b440b 100644
--- a/ksim/monitors/snmp/walker.h
+++ b/ksim/monitors/snmp/walker.h
@@ -38,7 +38,7 @@ class Walker : public TQObject, public TQThread
Q_OBJECT
TQ_OBJECT
public:
- Walker( const HostConfig &host, const Identifier &startOid, TQObject *tqparent, const char *name = 0 );
+ Walker( const HostConfig &host, const Identifier &startOid, TQObject *parent, const char *name = 0 );
virtual ~Walker();
struct Result