summaryrefslogtreecommitdiffstats
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
commit2b7e8d86a69ef89a9e1f96ca0c1691428c066a4e (patch)
tree96c0ef16123095f86ad900091e2c7cff3870c21e
parent3021c04cf6aec08eb598251248da3e1d97d87fb2 (diff)
downloadksystemlog-2b7e8d86.tar.gz
ksystemlog-2b7e8d86.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ksystemlog@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--ksystemlog/src/acpid/acpidOptions.cpp4
-rw-r--r--ksystemlog/src/acpid/acpidOptions.h2
-rw-r--r--ksystemlog/src/acpid/acpidReader.cpp4
-rw-r--r--ksystemlog/src/acpid/acpidReader.h2
-rw-r--r--ksystemlog/src/apache/apacheAccessReader.cpp4
-rw-r--r--ksystemlog/src/apache/apacheAccessReader.h2
-rw-r--r--ksystemlog/src/apache/apacheOptions.cpp4
-rw-r--r--ksystemlog/src/apache/apacheOptions.h2
-rw-r--r--ksystemlog/src/apache/apacheReader.cpp4
-rw-r--r--ksystemlog/src/apache/apacheReader.h2
-rw-r--r--ksystemlog/src/bootauth/bootAuthenticationOptions.cpp4
-rw-r--r--ksystemlog/src/bootauth/bootAuthenticationOptions.h2
-rw-r--r--ksystemlog/src/childLogLine.cpp6
-rw-r--r--ksystemlog/src/childLogLine.h2
-rw-r--r--ksystemlog/src/cron/cronOptions.cpp4
-rw-r--r--ksystemlog/src/cron/cronOptions.h2
-rw-r--r--ksystemlog/src/cron/cronReader.cpp4
-rw-r--r--ksystemlog/src/cron/cronReader.h2
-rw-r--r--ksystemlog/src/cups/cupsAccessReader.cpp4
-rw-r--r--ksystemlog/src/cups/cupsAccessReader.h2
-rw-r--r--ksystemlog/src/cups/cupsOptions.cpp4
-rw-r--r--ksystemlog/src/cups/cupsOptions.h2
-rw-r--r--ksystemlog/src/cups/cupsReader.cpp4
-rw-r--r--ksystemlog/src/cups/cupsReader.h2
-rw-r--r--ksystemlog/src/daemon/daemonOptions.cpp4
-rw-r--r--ksystemlog/src/daemon/daemonOptions.h2
-rw-r--r--ksystemlog/src/defaultReader.cpp4
-rw-r--r--ksystemlog/src/defaultReader.h2
-rw-r--r--ksystemlog/src/detailDialog.cpp6
-rw-r--r--ksystemlog/src/detailDialog.h2
-rw-r--r--ksystemlog/src/fileList.cpp4
-rw-r--r--ksystemlog/src/fileList.h2
-rw-r--r--ksystemlog/src/findManager.cpp6
-rw-r--r--ksystemlog/src/findManager.h2
-rw-r--r--ksystemlog/src/generalOptions.cpp4
-rw-r--r--ksystemlog/src/generalOptions.h2
-rw-r--r--ksystemlog/src/itemFactory.cpp24
-rw-r--r--ksystemlog/src/kernel/kernelOptions.cpp4
-rw-r--r--ksystemlog/src/kernel/kernelOptions.h2
-rw-r--r--ksystemlog/src/loadingDialog.cpp4
-rw-r--r--ksystemlog/src/loadingDialog.h2
-rw-r--r--ksystemlog/src/logLineFilter.cpp4
-rw-r--r--ksystemlog/src/logLineFilter.h2
-rw-r--r--ksystemlog/src/logLineTree.cpp52
-rw-r--r--ksystemlog/src/logListItem.cpp10
-rw-r--r--ksystemlog/src/logListItem.h2
-rw-r--r--ksystemlog/src/logManager.cpp4
-rw-r--r--ksystemlog/src/loggerDialog.cpp4
-rw-r--r--ksystemlog/src/loggerDialog.h2
-rw-r--r--ksystemlog/src/options.cpp4
-rw-r--r--ksystemlog/src/options.h2
-rw-r--r--ksystemlog/src/postfix/postfixOptions.cpp4
-rw-r--r--ksystemlog/src/postfix/postfixOptions.h2
-rw-r--r--ksystemlog/src/reader.cpp4
-rw-r--r--ksystemlog/src/reader.h2
-rw-r--r--ksystemlog/src/samba/sambaOptions.cpp4
-rw-r--r--ksystemlog/src/samba/sambaOptions.h2
-rw-r--r--ksystemlog/src/samba/sambaReader.cpp4
-rw-r--r--ksystemlog/src/samba/sambaReader.h2
-rw-r--r--ksystemlog/src/slotLogAction.cpp6
-rw-r--r--ksystemlog/src/slotLogAction.h4
-rw-r--r--ksystemlog/src/slotLogActionCompatibility.h4
-rw-r--r--ksystemlog/src/specificFileList.cpp4
-rw-r--r--ksystemlog/src/specificFileList.h2
-rw-r--r--ksystemlog/src/system/systemOptions.cpp4
-rw-r--r--ksystemlog/src/system/systemOptions.h2
-rw-r--r--ksystemlog/src/system/systemReader.cpp4
-rw-r--r--ksystemlog/src/system/systemReader.h2
-rw-r--r--ksystemlog/src/view.cpp4
-rw-r--r--ksystemlog/src/view.h2
-rw-r--r--ksystemlog/src/viewToolTip.cpp4
-rw-r--r--ksystemlog/src/viewToolTip.h2
-rw-r--r--ksystemlog/src/xorg/xorgOptions.cpp4
-rw-r--r--ksystemlog/src/xorg/xorgOptions.h2
-rw-r--r--ksystemlog/src/xorg/xorgReader.cpp4
-rw-r--r--ksystemlog/src/xorg/xorgReader.h2
76 files changed, 158 insertions, 158 deletions
diff --git a/ksystemlog/src/acpid/acpidOptions.cpp b/ksystemlog/src/acpid/acpidOptions.cpp
index 1fe0f49..d695613 100644
--- a/ksystemlog/src/acpid/acpidOptions.cpp
+++ b/ksystemlog/src/acpid/acpidOptions.cpp
@@ -42,8 +42,8 @@
#include "acpidOptions.h"
#include "ksystemlogConfig.h"
-AcpidOptions::AcpidOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+AcpidOptions::AcpidOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
diff --git a/ksystemlog/src/acpid/acpidOptions.h b/ksystemlog/src/acpid/acpidOptions.h
index 2e0e991..c07bfa0 100644
--- a/ksystemlog/src/acpid/acpidOptions.h
+++ b/ksystemlog/src/acpid/acpidOptions.h
@@ -41,7 +41,7 @@ class AcpidOptions : public TQWidget {
TQ_OBJECT
public:
- AcpidOptions(TQWidget *tqparent = 0);
+ AcpidOptions(TQWidget *parent = 0);
~AcpidOptions();
bool isValid();
diff --git a/ksystemlog/src/acpid/acpidReader.cpp b/ksystemlog/src/acpid/acpidReader.cpp
index 6e3947c..124d627 100644
--- a/ksystemlog/src/acpid/acpidReader.cpp
+++ b/ksystemlog/src/acpid/acpidReader.cpp
@@ -25,8 +25,8 @@
#include "acpidReader.h"
-AcpidReader::AcpidReader(TQObject *tqparent, const char *name) :
- DefaultReader(tqparent, name)
+AcpidReader::AcpidReader(TQObject *parent, const char *name) :
+ DefaultReader(parent, name)
{
}
diff --git a/ksystemlog/src/acpid/acpidReader.h b/ksystemlog/src/acpid/acpidReader.h
index 7ca90e0..498ccce 100644
--- a/ksystemlog/src/acpid/acpidReader.h
+++ b/ksystemlog/src/acpid/acpidReader.h
@@ -40,7 +40,7 @@ class AcpidReader : public DefaultReader {
TQ_OBJECT
public:
- AcpidReader(TQObject *tqparent = 0, const char *name = 0);
+ AcpidReader(TQObject *parent = 0, const char *name = 0);
virtual ~AcpidReader();
diff --git a/ksystemlog/src/apache/apacheAccessReader.cpp b/ksystemlog/src/apache/apacheAccessReader.cpp
index 0aae47b..cdb4b54 100644
--- a/ksystemlog/src/apache/apacheAccessReader.cpp
+++ b/ksystemlog/src/apache/apacheAccessReader.cpp
@@ -24,8 +24,8 @@
#include "parsingHelper.h"
#include "apacheAccessReader.h"
-ApacheAccessReader::ApacheAccessReader(TQObject *tqparent, const char *name) :
- DefaultReader(tqparent, name)
+ApacheAccessReader::ApacheAccessReader(TQObject *parent, const char *name) :
+ DefaultReader(parent, name)
{
}
diff --git a/ksystemlog/src/apache/apacheAccessReader.h b/ksystemlog/src/apache/apacheAccessReader.h
index 3bef6ac..cf28ee2 100644
--- a/ksystemlog/src/apache/apacheAccessReader.h
+++ b/ksystemlog/src/apache/apacheAccessReader.h
@@ -40,7 +40,7 @@ class ApacheAccessReader : public DefaultReader {
TQ_OBJECT
public:
- ApacheAccessReader(TQObject *tqparent = 0, const char *name = 0);
+ ApacheAccessReader(TQObject *parent = 0, const char *name = 0);
virtual ~ApacheAccessReader();
diff --git a/ksystemlog/src/apache/apacheOptions.cpp b/ksystemlog/src/apache/apacheOptions.cpp
index 233ac7f..ddda011 100644
--- a/ksystemlog/src/apache/apacheOptions.cpp
+++ b/ksystemlog/src/apache/apacheOptions.cpp
@@ -42,8 +42,8 @@
#include "apacheOptions.h"
#include "ksystemlogConfig.h"
-ApacheOptions::ApacheOptions(TQWidget *tqparent) :
- TQWidget(tqparent),
+ApacheOptions::ApacheOptions(TQWidget *parent) :
+ TQWidget(parent),
tabs(this, "tabs"),
apacheFileList(this, i18n("<qt><p>These files will be analyzed to display <b>Apache log</b>. This list also determines the order in which the files are read.</p></qt>")),
apacheAccessFileList(this, i18n("<qt><p>These files will be analyzed to display <b>Apache Access log</b>. This list also determines the order in which the files are read.</p></qt>"))
diff --git a/ksystemlog/src/apache/apacheOptions.h b/ksystemlog/src/apache/apacheOptions.h
index 50d9e8f..ef0b716 100644
--- a/ksystemlog/src/apache/apacheOptions.h
+++ b/ksystemlog/src/apache/apacheOptions.h
@@ -43,7 +43,7 @@ class ApacheOptions : public TQWidget {
TQ_OBJECT
public:
- ApacheOptions(TQWidget *tqparent = 0);
+ ApacheOptions(TQWidget *parent = 0);
~ApacheOptions();
bool isValid();
diff --git a/ksystemlog/src/apache/apacheReader.cpp b/ksystemlog/src/apache/apacheReader.cpp
index ec2feb7..221e49d 100644
--- a/ksystemlog/src/apache/apacheReader.cpp
+++ b/ksystemlog/src/apache/apacheReader.cpp
@@ -25,8 +25,8 @@
#include "parsingHelper.h"
#include "apacheReader.h"
-ApacheReader::ApacheReader(TQObject *tqparent, const char *name) :
- DefaultReader(tqparent, name)
+ApacheReader::ApacheReader(TQObject *parent, const char *name) :
+ DefaultReader(parent, name)
{
initializeTypeLevels();
diff --git a/ksystemlog/src/apache/apacheReader.h b/ksystemlog/src/apache/apacheReader.h
index 8197c53..ab05d73 100644
--- a/ksystemlog/src/apache/apacheReader.h
+++ b/ksystemlog/src/apache/apacheReader.h
@@ -40,7 +40,7 @@ class ApacheReader : public DefaultReader {
TQ_OBJECT
public:
- ApacheReader(TQObject *tqparent = 0, const char *name = 0);
+ ApacheReader(TQObject *parent = 0, const char *name = 0);
virtual ~ApacheReader();
diff --git a/ksystemlog/src/bootauth/bootAuthenticationOptions.cpp b/ksystemlog/src/bootauth/bootAuthenticationOptions.cpp
index 6561120..78c231c 100644
--- a/ksystemlog/src/bootauth/bootAuthenticationOptions.cpp
+++ b/ksystemlog/src/bootauth/bootAuthenticationOptions.cpp
@@ -42,8 +42,8 @@
#include "ksystemlogConfig.h"
-BootAuthenticationOptions::BootAuthenticationOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+BootAuthenticationOptions::BootAuthenticationOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
diff --git a/ksystemlog/src/bootauth/bootAuthenticationOptions.h b/ksystemlog/src/bootauth/bootAuthenticationOptions.h
index a78b57b..b48b793 100644
--- a/ksystemlog/src/bootauth/bootAuthenticationOptions.h
+++ b/ksystemlog/src/bootauth/bootAuthenticationOptions.h
@@ -38,7 +38,7 @@ class BootAuthenticationOptions : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
- BootAuthenticationOptions(TQWidget *tqparent = 0);
+ BootAuthenticationOptions(TQWidget *parent = 0);
bool isValid();
diff --git a/ksystemlog/src/childLogLine.cpp b/ksystemlog/src/childLogLine.cpp
index 420cd17..1a23c75 100644
--- a/ksystemlog/src/childLogLine.cpp
+++ b/ksystemlog/src/childLogLine.cpp
@@ -24,7 +24,7 @@
ChildLogLine::ChildLogLine(TQDate& date, TQTime& time, TQStringList& list, TQString& file, LogLevel* level, int type) :
LogLine(date, time, list, file, level, type),
- tqparent(NULL) {
+ parent(NULL) {
}
@@ -33,11 +33,11 @@ ChildLogLine::~ChildLogLine() {
}
void ChildLogLine::setParent(ParentLogLine* line) {
- tqparent=line;
+ parent=line;
}
ParentLogLine* ChildLogLine::getParent() {
- return(tqparent);
+ return(parent);
}
bool ChildLogLine::isChildLogLine() {
diff --git a/ksystemlog/src/childLogLine.h b/ksystemlog/src/childLogLine.h
index 6b6c5b0..24cb840 100644
--- a/ksystemlog/src/childLogLine.h
+++ b/ksystemlog/src/childLogLine.h
@@ -48,7 +48,7 @@ class ChildLogLine : public LogLine {
virtual bool isChildLogLine();
protected:
- ParentLogLine* tqparent;
+ ParentLogLine* parent;
};
diff --git a/ksystemlog/src/cron/cronOptions.cpp b/ksystemlog/src/cron/cronOptions.cpp
index e3041d6..170b8af 100644
--- a/ksystemlog/src/cron/cronOptions.cpp
+++ b/ksystemlog/src/cron/cronOptions.cpp
@@ -42,8 +42,8 @@
#include "cronOptions.h"
#include "ksystemlogConfig.h"
-CronOptions::CronOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+CronOptions::CronOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
diff --git a/ksystemlog/src/cron/cronOptions.h b/ksystemlog/src/cron/cronOptions.h
index 5d084d3..0c3399e 100644
--- a/ksystemlog/src/cron/cronOptions.h
+++ b/ksystemlog/src/cron/cronOptions.h
@@ -41,7 +41,7 @@ class CronOptions : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
- CronOptions(TQWidget *tqparent = 0);
+ CronOptions(TQWidget *parent = 0);
~CronOptions();
bool isValid();
diff --git a/ksystemlog/src/cron/cronReader.cpp b/ksystemlog/src/cron/cronReader.cpp
index 131c1ff..169f473 100644
--- a/ksystemlog/src/cron/cronReader.cpp
+++ b/ksystemlog/src/cron/cronReader.cpp
@@ -23,8 +23,8 @@
#include <klocale.h>
#include <kmessagebox.h>
-CronReader::CronReader(TQObject *tqparent, const char *name) :
- DefaultReader(tqparent, name)
+CronReader::CronReader(TQObject *parent, const char *name) :
+ DefaultReader(parent, name)
{
}
diff --git a/ksystemlog/src/cron/cronReader.h b/ksystemlog/src/cron/cronReader.h
index d752dfc..1c7c79d 100644
--- a/ksystemlog/src/cron/cronReader.h
+++ b/ksystemlog/src/cron/cronReader.h
@@ -40,7 +40,7 @@ class CronReader : public DefaultReader {
TQ_OBJECT
public:
- CronReader(TQObject *tqparent = 0, const char *name = 0);
+ CronReader(TQObject *parent = 0, const char *name = 0);
virtual ~CronReader();
diff --git a/ksystemlog/src/cups/cupsAccessReader.cpp b/ksystemlog/src/cups/cupsAccessReader.cpp
index f48619b..2b9df7b 100644
--- a/ksystemlog/src/cups/cupsAccessReader.cpp
+++ b/ksystemlog/src/cups/cupsAccessReader.cpp
@@ -24,8 +24,8 @@
#include "parsingHelper.h"
#include "cupsAccessReader.h"
-CupsAccessReader::CupsAccessReader(TQObject *tqparent, const char *name) :
- DefaultReader(tqparent, name)
+CupsAccessReader::CupsAccessReader(TQObject *parent, const char *name) :
+ DefaultReader(parent, name)
{
}
diff --git a/ksystemlog/src/cups/cupsAccessReader.h b/ksystemlog/src/cups/cupsAccessReader.h
index 2ffb3cd..ea2ac19 100644
--- a/ksystemlog/src/cups/cupsAccessReader.h
+++ b/ksystemlog/src/cups/cupsAccessReader.h
@@ -40,7 +40,7 @@ class CupsAccessReader : public DefaultReader {
TQ_OBJECT
public:
- CupsAccessReader(TQObject *tqparent = 0, const char *name = 0);
+ CupsAccessReader(TQObject *parent = 0, const char *name = 0);
virtual ~CupsAccessReader();
diff --git a/ksystemlog/src/cups/cupsOptions.cpp b/ksystemlog/src/cups/cupsOptions.cpp
index 7aa3b7a..855e2e3 100644
--- a/ksystemlog/src/cups/cupsOptions.cpp
+++ b/ksystemlog/src/cups/cupsOptions.cpp
@@ -42,8 +42,8 @@
#include "cupsOptions.h"
#include "ksystemlogConfig.h"
-CupsOptions::CupsOptions(TQWidget *tqparent) :
- TQWidget(tqparent),
+CupsOptions::CupsOptions(TQWidget *parent) :
+ TQWidget(parent),
tabs(this, "tabs"),
cupsFileList(this, i18n("<qt><p>These files will be analyzed to display <b>Cups log</b>. This list also determines the order in which the files are read.</p></qt>")),
cupsAccessFileList(this, i18n("<qt><p>These files will be analyzed to display <b>Cups Web Server log</b>. This list also determines the order in which the files are read.</p></qt>"))
diff --git a/ksystemlog/src/cups/cupsOptions.h b/ksystemlog/src/cups/cupsOptions.h
index 47f8ffa..a817fb3 100644
--- a/ksystemlog/src/cups/cupsOptions.h
+++ b/ksystemlog/src/cups/cupsOptions.h
@@ -43,7 +43,7 @@ class CupsOptions : public TQWidget {
TQ_OBJECT
public:
- CupsOptions(TQWidget *tqparent = 0);
+ CupsOptions(TQWidget *parent = 0);
~CupsOptions();
bool isValid();
diff --git a/ksystemlog/src/cups/cupsReader.cpp b/ksystemlog/src/cups/cupsReader.cpp
index 790a0d6..1d472ae 100644
--- a/ksystemlog/src/cups/cupsReader.cpp
+++ b/ksystemlog/src/cups/cupsReader.cpp
@@ -26,8 +26,8 @@
#define DEBUG2_LOG_LEVEL_ICON "source"
-CupsReader::CupsReader(TQObject *tqparent, const char *name) :
- DefaultReader(tqparent, name)
+CupsReader::CupsReader(TQObject *parent, const char *name) :
+ DefaultReader(parent, name)
{
initializeTypeLevels();
diff --git a/ksystemlog/src/cups/cupsReader.h b/ksystemlog/src/cups/cupsReader.h
index 8f4f06b..6e9c9c4 100644
--- a/ksystemlog/src/cups/cupsReader.h
+++ b/ksystemlog/src/cups/cupsReader.h
@@ -40,7 +40,7 @@ class CupsReader : public DefaultReader {
TQ_OBJECT
public:
- CupsReader(TQObject *tqparent = 0, const char *name = 0);
+ CupsReader(TQObject *parent = 0, const char *name = 0);
virtual ~CupsReader();
diff --git a/ksystemlog/src/daemon/daemonOptions.cpp b/ksystemlog/src/daemon/daemonOptions.cpp
index 762c006..e86c6c9 100644
--- a/ksystemlog/src/daemon/daemonOptions.cpp
+++ b/ksystemlog/src/daemon/daemonOptions.cpp
@@ -42,8 +42,8 @@
#include "daemonOptions.h"
#include "ksystemlogConfig.h"
-DaemonOptions::DaemonOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+DaemonOptions::DaemonOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
diff --git a/ksystemlog/src/daemon/daemonOptions.h b/ksystemlog/src/daemon/daemonOptions.h
index 0e8f148..1010e4c 100644
--- a/ksystemlog/src/daemon/daemonOptions.h
+++ b/ksystemlog/src/daemon/daemonOptions.h
@@ -39,7 +39,7 @@ class DaemonOptions : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
- DaemonOptions(TQWidget *tqparent = 0);
+ DaemonOptions(TQWidget *parent = 0);
~DaemonOptions();
bool isValid();
diff --git a/ksystemlog/src/defaultReader.cpp b/ksystemlog/src/defaultReader.cpp
index 6681d48..e1f3a47 100644
--- a/ksystemlog/src/defaultReader.cpp
+++ b/ksystemlog/src/defaultReader.cpp
@@ -31,8 +31,8 @@
#include "defaultReader.h"
-DefaultReader::DefaultReader(TQObject *tqparent, const char *name) :
- Reader(tqparent, name),
+DefaultReader::DefaultReader(TQObject *parent, const char *name) :
+ Reader(parent, name),
buffers(NULL)
{
diff --git a/ksystemlog/src/defaultReader.h b/ksystemlog/src/defaultReader.h
index e87d3eb..b39e5c8 100644
--- a/ksystemlog/src/defaultReader.h
+++ b/ksystemlog/src/defaultReader.h
@@ -48,7 +48,7 @@ class DefaultReader : public Reader {
TQ_OBJECT
public:
- DefaultReader(TQObject *tqparent = 0, const char *name = 0);
+ DefaultReader(TQObject *parent = 0, const char *name = 0);
virtual ~DefaultReader();
diff --git a/ksystemlog/src/detailDialog.cpp b/ksystemlog/src/detailDialog.cpp
index f232b78..9ffcd47 100644
--- a/ksystemlog/src/detailDialog.cpp
+++ b/ksystemlog/src/detailDialog.cpp
@@ -36,9 +36,9 @@
#include "detailDialog.h"
-DetailDialog::DetailDialog(View* v, TQWidget *tqparent, const char *name) :
- //KDialogBase(tqparent, name, false, i18n("Log Line Details"), 0 /*KDialogBase::Ok*/),
- DetailDialogBase(tqparent, name, false, 0),
+DetailDialog::DetailDialog(View* v, TQWidget *parent, const char *name) :
+ //KDialogBase(parent, name, false, i18n("Log Line Details"), 0 /*KDialogBase::Ok*/),
+ DetailDialogBase(parent, name, false, 0),
view(v),
currentLine(NULL) {
diff --git a/ksystemlog/src/detailDialog.h b/ksystemlog/src/detailDialog.h
index 5566ded..bc3077b 100644
--- a/ksystemlog/src/detailDialog.h
+++ b/ksystemlog/src/detailDialog.h
@@ -40,7 +40,7 @@ class DetailDialog : public DetailDialogBase {
TQ_OBJECT
public:
- DetailDialog(View* v, TQWidget *tqparent=NULL, const char* name=NULL);
+ DetailDialog(View* v, TQWidget *parent=NULL, const char* name=NULL);
~DetailDialog();
diff --git a/ksystemlog/src/fileList.cpp b/ksystemlog/src/fileList.cpp
index 540f459..fedb7c1 100644
--- a/ksystemlog/src/fileList.cpp
+++ b/ksystemlog/src/fileList.cpp
@@ -40,8 +40,8 @@
#include <kmessagebox.h>
#include <kiconloader.h>
-FileList::FileList(TQWidget *tqparent, TQString description) :
- TQWidget(tqparent)
+FileList::FileList(TQWidget *parent, TQString description) :
+ TQWidget(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
diff --git a/ksystemlog/src/fileList.h b/ksystemlog/src/fileList.h
index e98562f..d124eb2 100644
--- a/ksystemlog/src/fileList.h
+++ b/ksystemlog/src/fileList.h
@@ -43,7 +43,7 @@ class FileList : public TQWidget {
TQ_OBJECT
public:
- FileList(TQWidget *tqparent, TQString description);
+ FileList(TQWidget *parent, TQString description);
~FileList();
virtual void insertItem(TQString& item);
diff --git a/ksystemlog/src/findManager.cpp b/ksystemlog/src/findManager.cpp
index ece364f..07b233a 100644
--- a/ksystemlog/src/findManager.cpp
+++ b/ksystemlog/src/findManager.cpp
@@ -16,9 +16,9 @@
#include "ksystemlog.h"
-FindManager::FindManager(KSystemLog* tqparent, const char* name) :
- TQObject(tqparent, name),
- main(tqparent),
+FindManager::FindManager(KSystemLog* parent, const char* name) :
+ TQObject(parent, name),
+ main(parent),
findDialog(NULL),
findManager(NULL),
previousItemFound(NULL),
diff --git a/ksystemlog/src/findManager.h b/ksystemlog/src/findManager.h
index 10a97ab..b3890e3 100644
--- a/ksystemlog/src/findManager.h
+++ b/ksystemlog/src/findManager.h
@@ -42,7 +42,7 @@ class FindManager : public TQObject {
/**
* Default Constructor
*/
- FindManager(KSystemLog* tqparent, const char* name);
+ FindManager(KSystemLog* parent, const char* name);
virtual ~FindManager();
diff --git a/ksystemlog/src/generalOptions.cpp b/ksystemlog/src/generalOptions.cpp
index 3fd0c7c..8a8114c 100644
--- a/ksystemlog/src/generalOptions.cpp
+++ b/ksystemlog/src/generalOptions.cpp
@@ -38,8 +38,8 @@
#include "ksystemlogConfig.h"
#include "generalOptions.h"
-GeneralOptions::GeneralOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+GeneralOptions::GeneralOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
diff --git a/ksystemlog/src/generalOptions.h b/ksystemlog/src/generalOptions.h
index 51f650d..4b95b45 100644
--- a/ksystemlog/src/generalOptions.h
+++ b/ksystemlog/src/generalOptions.h
@@ -36,7 +36,7 @@ class GeneralOptions : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
- GeneralOptions(TQWidget *tqparent = 0);
+ GeneralOptions(TQWidget *parent = 0);
bool isValid();
diff --git a/ksystemlog/src/itemFactory.cpp b/ksystemlog/src/itemFactory.cpp
index 09253e9..43ff4de 100644
--- a/ksystemlog/src/itemFactory.cpp
+++ b/ksystemlog/src/itemFactory.cpp
@@ -37,7 +37,7 @@
LogListItem* ItemFactory::createLogListItem(TQListView* view, LogLine* line) {
- //If it is a tqparent Log Line
+ //If it is a parent Log Line
if (line->isParentLogLine()==true)
return(createParentItem(view, (ParentLogLine*)line));
@@ -61,7 +61,7 @@ LogListItem* ItemFactory::createLogListItem(TQListView* view, LogLine* line) {
LogListItem* ItemFactory::createParentItem(TQListView* view, ParentLogLine* line) {
- //kdDebug() << "Creating a tqparent item : " << line->getLogLevel()->name << endl;
+ //kdDebug() << "Creating a parent item : " << line->getLogLevel()->name << endl;
LogListItem* item=new LogListItem(view, line);
@@ -148,14 +148,14 @@ LogListItem* ItemFactory::createParentItem(TQListView* view, ParentLogLine* line
LogListItem* ItemFactory::createChildItem(TQListView* /*view*/, ChildLogLine* line) {
- LogListItem* tqparent=line->getParent()->getLogListItem();
+ LogListItem* parent=line->getParent()->getLogListItem();
- if (tqparent==NULL)
+ if (parent==NULL)
kdDebug() << "Parent log list item NULL !!!" << endl;
- //kdDebug() << "The log level of the tqparent is " << tqparent->getLogLine()->getLogLevel()->name << endl;
+ //kdDebug() << "The log level of the parent is " << parent->getLogLine()->getLogLevel()->name << endl;
- LogListItem* item=new LogListItem(tqparent, line);
+ LogListItem* item=new LogListItem(parent, line);
initItem(item);
@@ -267,25 +267,25 @@ TQString ItemFactory::createToolTipText(LogLine* line) {
TQString ItemFactory::createParentFormattedText(LogLine* line) {
TQString result;
- ParentLogLine* tqparent=(ParentLogLine*) line;
+ ParentLogLine* parent=(ParentLogLine*) line;
//All Group By cases are showed here
- if (tqparent->getGroupBy()==GROUP_BY_LOG_LEVEL) {
+ if (parent->getGroupBy()==GROUP_BY_LOG_LEVEL) {
result.append(i18n("<div align='center'><b>Group:</b> %1</div>").tqarg(line->getLogLevel()->name));
}
- else if (tqparent->getGroupBy()==GROUP_BY_DAY) {
+ else if (parent->getGroupBy()==GROUP_BY_DAY) {
result.append(i18n("<div align='center'><b>Group:</b> %1</div>").tqarg(line->getTime().date().toString()));
}
- else if (tqparent->getGroupBy()==GROUP_BY_HOUR) {
+ else if (parent->getGroupBy()==GROUP_BY_HOUR) {
TQString string(i18n("%1, %2 hour").tqarg(line->getTime().date().toString(), line->getTime().time().toString("h")));
result.append(i18n("<div align='center'><b>Group:</b> %1</div>").tqarg(string));
}
- else if (tqparent->getGroupBy()==GROUP_BY_LOG_FILE) {
+ else if (parent->getGroupBy()==GROUP_BY_LOG_FILE) {
result.append(i18n("<div align='center'><b>Group:</b> %1</div>").tqarg(line->getOriginalFile()));
}
else {
TQStringList& list=line->getItemList();
- int index=ParentLogLine::getGroupedColumnIndex(tqparent->getColumns(), tqparent->getGroupByColumn());
+ int index=ParentLogLine::getGroupedColumnIndex(parent->getColumns(), parent->getGroupByColumn());
if (index<0 || index>=(int) list.size())
result.append(i18n("<div align='center'><b>Group:</b> none</div>"));
else
diff --git a/ksystemlog/src/kernel/kernelOptions.cpp b/ksystemlog/src/kernel/kernelOptions.cpp
index 3af5a3e..8868cf7 100644
--- a/ksystemlog/src/kernel/kernelOptions.cpp
+++ b/ksystemlog/src/kernel/kernelOptions.cpp
@@ -43,8 +43,8 @@
#include "kernelOptions.h"
#include "ksystemlogConfig.h"
-KernelOptions::KernelOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+KernelOptions::KernelOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
diff --git a/ksystemlog/src/kernel/kernelOptions.h b/ksystemlog/src/kernel/kernelOptions.h
index 884f6fa..4308981 100644
--- a/ksystemlog/src/kernel/kernelOptions.h
+++ b/ksystemlog/src/kernel/kernelOptions.h
@@ -40,7 +40,7 @@ class KernelOptions : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
- KernelOptions(TQWidget *tqparent = 0);
+ KernelOptions(TQWidget *parent = 0);
~KernelOptions();
bool isValid();
diff --git a/ksystemlog/src/loadingDialog.cpp b/ksystemlog/src/loadingDialog.cpp
index 8f3f6ca..007b8cc 100644
--- a/ksystemlog/src/loadingDialog.cpp
+++ b/ksystemlog/src/loadingDialog.cpp
@@ -22,8 +22,8 @@
#include "loadingDialog.h"
-LoadingDialog::LoadingDialog(TQWidget* tqparent, const char* name, bool modal) :
- KProgressDialog(tqparent, name, i18n("Loading Progress"), "", modal),
+LoadingDialog::LoadingDialog(TQWidget* parent, const char* name, bool modal) :
+ KProgressDialog(parent, name, i18n("Loading Progress"), "", modal),
tabCount(0),
currentTab(0),
diff --git a/ksystemlog/src/loadingDialog.h b/ksystemlog/src/loadingDialog.h
index 618c462..773429e 100644
--- a/ksystemlog/src/loadingDialog.h
+++ b/ksystemlog/src/loadingDialog.h
@@ -46,7 +46,7 @@ class LoadingDialog : public KProgressDialog {
TQ_OBJECT
public:
- LoadingDialog(TQWidget* tqparent=0, const char* name=0, bool modal=false);
+ LoadingDialog(TQWidget* parent=0, const char* name=0, bool modal=false);
~LoadingDialog();
diff --git a/ksystemlog/src/logLineFilter.cpp b/ksystemlog/src/logLineFilter.cpp
index b41fc75..80a2842 100644
--- a/ksystemlog/src/logLineFilter.cpp
+++ b/ksystemlog/src/logLineFilter.cpp
@@ -30,8 +30,8 @@
#include "logLineFilter.h"
-LogLineFilter::LogLineFilter(TQWidget* tqparent, KListView* listView, const char* name) :
- KListViewSearchLine(tqparent, listView, name) {
+LogLineFilter::LogLineFilter(TQWidget* parent, KListView* listView, const char* name) :
+ KListViewSearchLine(parent, listView, name) {
drawFilterMessage = true;
diff --git a/ksystemlog/src/logLineFilter.h b/ksystemlog/src/logLineFilter.h
index 58c830b..fbf704f 100644
--- a/ksystemlog/src/logLineFilter.h
+++ b/ksystemlog/src/logLineFilter.h
@@ -40,7 +40,7 @@
class LogLineFilter : public KListViewSearchLine
{
public:
- LogLineFilter(TQWidget* tqparent=NULL, KListView* listView=NULL, const char* name=NULL);
+ LogLineFilter(TQWidget* parent=NULL, KListView* listView=NULL, const char* name=NULL);
protected:
virtual void drawContents( TQPainter *p );
diff --git a/ksystemlog/src/logLineTree.cpp b/ksystemlog/src/logLineTree.cpp
index f74f406..5237726 100644
--- a/ksystemlog/src/logLineTree.cpp
+++ b/ksystemlog/src/logLineTree.cpp
@@ -73,18 +73,18 @@ LogLine* LogLineTree::synchronizeAddedLines(View* view) {
* This code wasn't able to find Parent Log Lines in the addedList object
*/
/*
- //We first add the new tqparent items
+ //We first add the new parent items
TQPtrListIterator<LogLine> it(addedList);
LogLine* line=it.current();
- kdDebug() << "Inserting " << parents.count() << " tqparent log item" << endl;
+ kdDebug() << "Inserting " << parents.count() << " parent log item" << endl;
int i=0;
while (line!=NULL) {
if (line->isParentLogLine()==true) {
- ParentLogLine* tqparent=(ParentLogLine*) (line);
- tqparent->insertItem(view->getLogList());
+ ParentLogLine* parent=(ParentLogLine*) (line);
+ parent->insertItem(view->getLogList());
addedList.remove(it.current());
++i;
@@ -95,18 +95,18 @@ LogLine* LogLineTree::synchronizeAddedLines(View* view) {
line=it.current();
}
- kdDebug() << "Insertion of " << i << " tqparent log items" << endl;
+ kdDebug() << "Insertion of " << i << " parent log items" << endl;
*/
- kdDebug() << "Adding tqparent items to the tree..." << endl;
+ kdDebug() << "Adding parent items to the tree..." << endl;
- //We first add the new tqparent items
+ //We first add the new parent items
TQPtrListIterator<ParentLogLine> it(parents);
LogLine* line=it.current();
while (line!=NULL) {
- //Even if the tqparent has already been added, it will automatically be added once time
+ //Even if the parent has already been added, it will automatically be added once time
line->insertItem(view->getLogList());
addedList.remove(it.current());
@@ -126,29 +126,29 @@ bool LogLineTree::remove(LogLine* line) {
* - Only remove this line is it does not have any tqchildren left
*/
if (line->isParentLogLine()==true) {
- ParentLogLine* tqparent=(ParentLogLine*) line;
+ ParentLogLine* parent=(ParentLogLine*) line;
- if (tqparent->hasChildren()==false) {
- parents.remove(tqparent);
+ if (parent->hasChildren()==false) {
+ parents.remove(parent);
return(LogLineList::remove(line));
}
}
/**
* Child log line actions :
- * - First remove the dependency from the tqparent
- * - Remove tqparent if it does not have child left
+ * - First remove the dependency from the parent
+ * - Remove parent if it does not have child left
* - Finally remove child
*/
else if (line->isChildLogLine()==true) {
ChildLogLine* child=(ChildLogLine*) line;
- ParentLogLine* tqparent=child->getParent();
- tqparent->removeChild(child);
+ ParentLogLine* parent=child->getParent();
+ parent->removeChild(child);
- //Remove tqparent if it does not have longer tqchildren
- if (tqparent->hasChildren()==false) {
- parents.remove(tqparent);
- LogLineList::remove(tqparent);
+ //Remove parent if it does not have longer tqchildren
+ if (parent->hasChildren()==false) {
+ parents.remove(parent);
+ LogLineList::remove(parent);
}
//Remove the tqchildren
@@ -164,12 +164,12 @@ bool LogLineTree::remove(LogLine* line) {
void LogLineTree::insert(LogLine* line) {
TQPtrListIterator<ParentLogLine> it(parents);
- ParentLogLine* tqparent=it.current();
+ ParentLogLine* parent=it.current();
bool insertion=false;
- while (tqparent!=NULL) {
- insertion=tqparent->isChild(line);
+ while (parent!=NULL) {
+ insertion=parent->isChild(line);
if (insertion==true) {
TQDate date=line->getTime().date();
@@ -177,8 +177,8 @@ void LogLineTree::insert(LogLine* line) {
ChildLogLine* newChild=new ChildLogLine(date, time, line->getItemList(), line->getOriginalFile(), line->getLogLevel(), line->getType());
- tqparent->addChild(newChild);
- newChild->setParent(tqparent);
+ parent->addChild(newChild);
+ newChild->setParent(parent);
//Insert this child by the classical way
LogLineList::insert(newChild);
@@ -189,14 +189,14 @@ void LogLineTree::insert(LogLine* line) {
}
++it;
- tqparent=it.current();
+ parent=it.current();
}
TQDate date=line->getTime().date();
TQTime time=line->getTime().time();
ParentLogLine* newParent=new ParentLogLine(date, time, line->getItemList(), line->getOriginalFile(), line->getLogLevel(), line->getType(), this->groupBy, this->groupByColumn, this->columns);
- //Insert this tqparent by the classical way
+ //Insert this parent by the classical way
LogLineList::insert(newParent);
parents.append(newParent);
diff --git a/ksystemlog/src/logListItem.cpp b/ksystemlog/src/logListItem.cpp
index ebbed6b..34c7c38 100644
--- a/ksystemlog/src/logListItem.cpp
+++ b/ksystemlog/src/logListItem.cpp
@@ -52,8 +52,8 @@ LogListItem::LogListItem(TQListView* list, LogLine* l) :
}
-LogListItem::LogListItem(TQListViewItem* tqparent, LogLine* l) :
- KListViewItem(tqparent),
+LogListItem::LogListItem(TQListViewItem* parent, LogLine* l) :
+ KListViewItem(parent),
line(l)
{
@@ -185,7 +185,7 @@ void LogListItem::paintCell(TQPainter* p, const TQColorGroup& cg, int column, in
if (line->isParentLogLine()==true && column==0) {
- //Draw 3 gray lines around the tqparent item
+ //Draw 3 gray lines around the parent item
pBuf.setPen(cg.button());
pBuf.drawLine(0, 0, width, 0);
pBuf.drawLine(0, height()-1, width, height()-1);
@@ -200,7 +200,7 @@ void LogListItem::paintCell(TQPainter* p, const TQColorGroup& cg, int column, in
//Draw the item name in bold if it is a recent one
if (line->isRecent()==true && column==lv->columns()-1)
font.setBold(true);
- //Draw in italic and bold if it's a tqparent item
+ //Draw in italic and bold if it's a parent item
else if (line->isParentLogLine()==true && column==0) {
font.setItalic(true);
font.setBold(true);
@@ -227,7 +227,7 @@ void LogListItem::paintCell(TQPainter* p, const TQColorGroup& cg, int column, in
text_x=1;
- //If this is the first column and also a tqparent log line
+ //If this is the first column and also a parent log line
if (line->isParentLogLine()==true && column==0) {
if (KSystemLogConfig::colorizeLogLines() && ((ParentLogLine*)line)->getGroupBy()==GROUP_BY_LOG_LEVEL)
pBuf.setPen( isSelected() ? cg.text() : line->getLogLevel()->color);
diff --git a/ksystemlog/src/logListItem.h b/ksystemlog/src/logListItem.h
index e04d795..aceb8df 100644
--- a/ksystemlog/src/logListItem.h
+++ b/ksystemlog/src/logListItem.h
@@ -50,7 +50,7 @@ class LogListItem : public KListViewItem {
public:
LogListItem(TQListView* list, LogLine* l);
- LogListItem(TQListViewItem* tqparent, LogLine* l);
+ LogListItem(TQListViewItem* parent, LogLine* l);
~LogListItem();
diff --git a/ksystemlog/src/logManager.cpp b/ksystemlog/src/logManager.cpp
index b67fb8e..e34e10a 100644
--- a/ksystemlog/src/logManager.cpp
+++ b/ksystemlog/src/logManager.cpp
@@ -168,7 +168,7 @@ void LogManager::openingProgress(int percent) {
//Move this signal to Loading Dialog class
emit GUIUpdated();
- //((KSystemLog*)( view->tqparent()))->kapp->processEvents();
+ //((KSystemLog*)( view->parent()))->kapp->processEvents();
}
@@ -351,7 +351,7 @@ void LogManager::initialize(LogMode* mode) {
connect(reader, TQT_SIGNAL(readingEnd()), this, TQT_SLOT(readingEnded()));
- //Inform this reader that this LogManager is now its tqparent
+ //Inform this reader that this LogManager is now its parent
reader->setLogManager(this);
//Find the log files used for this kind of mode, and set them to our log manager
diff --git a/ksystemlog/src/loggerDialog.cpp b/ksystemlog/src/loggerDialog.cpp
index 589cd43..081149e 100644
--- a/ksystemlog/src/loggerDialog.cpp
+++ b/ksystemlog/src/loggerDialog.cpp
@@ -38,8 +38,8 @@
#include "loggerDialog.h"
-LoggerDialog::LoggerDialog(TQWidget *tqparent, const char *name) :
- LoggerDialogBase(tqparent, name) {
+LoggerDialog::LoggerDialog(TQWidget *parent, const char *name) :
+ LoggerDialogBase(parent, name) {
connect(buttonOK, TQT_SIGNAL(clicked()), this, TQT_SLOT(sendMessage()));
diff --git a/ksystemlog/src/loggerDialog.h b/ksystemlog/src/loggerDialog.h
index 1c4b6c4..3ac9bf0 100644
--- a/ksystemlog/src/loggerDialog.h
+++ b/ksystemlog/src/loggerDialog.h
@@ -32,7 +32,7 @@ class LoggerDialog: public LoggerDialogBase {
Q_OBJECT
TQ_OBJECT
public:
- LoggerDialog(TQWidget *tqparent = 0, const char *name = 0);
+ LoggerDialog(TQWidget *parent = 0, const char *name = 0);
protected slots:
void sendMessage();
diff --git a/ksystemlog/src/options.cpp b/ksystemlog/src/options.cpp
index 321fd6a..3a68aac 100644
--- a/ksystemlog/src/options.cpp
+++ b/ksystemlog/src/options.cpp
@@ -35,8 +35,8 @@
#include "options.h"
-Options::Options(TQWidget* tqparent, const char *name, bool modal) :
- KDialogBase(IconList, i18n("Configuration"), Ok|Apply|Cancel, Ok, tqparent, name, modal, true)
+Options::Options(TQWidget* parent, const char *name, bool modal) :
+ KDialogBase(IconList, i18n("Configuration"), Ok|Apply|Cancel, Ok, parent, name, modal, true)
{
this->setMinimumSize(480, 500);
diff --git a/ksystemlog/src/options.h b/ksystemlog/src/options.h
index 47d912c..11dadd3 100644
--- a/ksystemlog/src/options.h
+++ b/ksystemlog/src/options.h
@@ -52,7 +52,7 @@ class Options: public KDialogBase {
TQ_OBJECT
public:
- Options(TQWidget *tqparent, const char *name, bool modal);
+ Options(TQWidget *parent, const char *name, bool modal);
~Options();
public slots:
diff --git a/ksystemlog/src/postfix/postfixOptions.cpp b/ksystemlog/src/postfix/postfixOptions.cpp
index 5d9b31e..5976b7a 100644
--- a/ksystemlog/src/postfix/postfixOptions.cpp
+++ b/ksystemlog/src/postfix/postfixOptions.cpp
@@ -43,8 +43,8 @@
#include "postfixOptions.h"
#include "ksystemlogConfig.h"
-PostfixOptions::PostfixOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+PostfixOptions::PostfixOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
diff --git a/ksystemlog/src/postfix/postfixOptions.h b/ksystemlog/src/postfix/postfixOptions.h
index aae618b..1749aa0 100644
--- a/ksystemlog/src/postfix/postfixOptions.h
+++ b/ksystemlog/src/postfix/postfixOptions.h
@@ -39,7 +39,7 @@ class PostfixOptions : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
- PostfixOptions(TQWidget *tqparent = 0);
+ PostfixOptions(TQWidget *parent = 0);
~PostfixOptions();
bool isValid();
diff --git a/ksystemlog/src/reader.cpp b/ksystemlog/src/reader.cpp
index 155f4b5..b4dec8d 100644
--- a/ksystemlog/src/reader.cpp
+++ b/ksystemlog/src/reader.cpp
@@ -29,8 +29,8 @@
#include <kmessagebox.h>
#include <kdebug.h>
-Reader::Reader(TQObject *tqparent, const char *name) :
- TQObject(tqparent, name),
+Reader::Reader(TQObject *parent, const char *name) :
+ TQObject(parent, name),
logManager(NULL)
{
diff --git a/ksystemlog/src/reader.h b/ksystemlog/src/reader.h
index d3fd396..60d1630 100644
--- a/ksystemlog/src/reader.h
+++ b/ksystemlog/src/reader.h
@@ -52,7 +52,7 @@ class Reader : public TQObject {
TQ_OBJECT
public:
- Reader(TQObject* tqparent=NULL, const char* name=NULL);
+ Reader(TQObject* parent=NULL, const char* name=NULL);
~Reader();
diff --git a/ksystemlog/src/samba/sambaOptions.cpp b/ksystemlog/src/samba/sambaOptions.cpp
index b86cc3d..709d6a0 100644
--- a/ksystemlog/src/samba/sambaOptions.cpp
+++ b/ksystemlog/src/samba/sambaOptions.cpp
@@ -42,8 +42,8 @@
#include "sambaOptions.h"
#include "ksystemlogConfig.h"
-SambaOptions::SambaOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+SambaOptions::SambaOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
diff --git a/ksystemlog/src/samba/sambaOptions.h b/ksystemlog/src/samba/sambaOptions.h
index 374db0f..a649446 100644
--- a/ksystemlog/src/samba/sambaOptions.h
+++ b/ksystemlog/src/samba/sambaOptions.h
@@ -41,7 +41,7 @@ class SambaOptions : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
- SambaOptions(TQWidget *tqparent = 0);
+ SambaOptions(TQWidget *parent = 0);
~SambaOptions();
bool isValid();
diff --git a/ksystemlog/src/samba/sambaReader.cpp b/ksystemlog/src/samba/sambaReader.cpp
index 92447c2..f1fcb67 100644
--- a/ksystemlog/src/samba/sambaReader.cpp
+++ b/ksystemlog/src/samba/sambaReader.cpp
@@ -24,8 +24,8 @@
#include "parsingHelper.h"
#include "sambaReader.h"
-SambaReader::SambaReader(TQObject *tqparent, const char *name) :
- DefaultReader(tqparent, name)
+SambaReader::SambaReader(TQObject *parent, const char *name) :
+ DefaultReader(parent, name)
{
}
diff --git a/ksystemlog/src/samba/sambaReader.h b/ksystemlog/src/samba/sambaReader.h
index bf5830d..f6dd4b4 100644
--- a/ksystemlog/src/samba/sambaReader.h
+++ b/ksystemlog/src/samba/sambaReader.h
@@ -40,7 +40,7 @@ class SambaReader : public DefaultReader {
TQ_OBJECT
public:
- SambaReader(TQObject *tqparent = 0, const char *name = 0);
+ SambaReader(TQObject *parent = 0, const char *name = 0);
virtual ~SambaReader();
diff --git a/ksystemlog/src/slotLogAction.cpp b/ksystemlog/src/slotLogAction.cpp
index 5bd3d9f..1f727da 100644
--- a/ksystemlog/src/slotLogAction.cpp
+++ b/ksystemlog/src/slotLogAction.cpp
@@ -32,7 +32,7 @@
#endif
SlotLogAction::SlotLogAction(KSystemLog* p) :
- tqparent(p) {
+ parent(p) {
}
@@ -41,14 +41,14 @@ void SlotLogAction::slotLogAction(KAction::ActivationReason reason, TQt::ButtonS
const TQObject* sender=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(TQObject::sender()));
//We can call the correct method from KSystemLog, which manage the two parameters
- tqparent->logActionClicked(sender, reason, state);
+ parent->logActionClicked(sender, reason, state);
}
#else
void SlotLogAction::slotLogAction() {
const TQObject* sender=TQObject::sender();
//In the other case, We can only call the method from KSystemLog, which keeps compatibility
- tqparent->logActionClicked(sender);
+ parent->logActionClicked(sender);
}
#endif
diff --git a/ksystemlog/src/slotLogAction.h b/ksystemlog/src/slotLogAction.h
index 54912d6..3ae8d8a 100644
--- a/ksystemlog/src/slotLogAction.h
+++ b/ksystemlog/src/slotLogAction.h
@@ -33,7 +33,7 @@ class SlotLogAction : public TQObject {
TQ_OBJECT
public:
- SlotLogAction(KSystemLog* tqparent);
+ SlotLogAction(KSystemLog* parent);
public slots:
@@ -43,7 +43,7 @@ class SlotLogAction : public TQObject {
void slotLogAction(KAction::ActivationReason reason, TQt::ButtonState state);
private:
- KSystemLog* tqparent;
+ KSystemLog* parent;
};
#endif
diff --git a/ksystemlog/src/slotLogActionCompatibility.h b/ksystemlog/src/slotLogActionCompatibility.h
index f17bc71..303f4b6 100644
--- a/ksystemlog/src/slotLogActionCompatibility.h
+++ b/ksystemlog/src/slotLogActionCompatibility.h
@@ -32,7 +32,7 @@ class SlotLogAction : public TQObject {
TQ_OBJECT
public:
- SlotLogAction(KSystemLog* tqparent);
+ SlotLogAction(KSystemLog* parent);
public slots:
@@ -43,7 +43,7 @@ class SlotLogAction : public TQObject {
void slotLogAction();
private:
- KSystemLog* tqparent;
+ KSystemLog* parent;
};
#endif
diff --git a/ksystemlog/src/specificFileList.cpp b/ksystemlog/src/specificFileList.cpp
index b92a623..9774ea4 100644
--- a/ksystemlog/src/specificFileList.cpp
+++ b/ksystemlog/src/specificFileList.cpp
@@ -40,8 +40,8 @@
#include "specificFileList.h"
-SpecificFileList::SpecificFileList(TQWidget* tqparent, TQString description) :
- FileList(tqparent, description)
+SpecificFileList::SpecificFileList(TQWidget* parent, TQString description) :
+ FileList(parent, description)
{
diff --git a/ksystemlog/src/specificFileList.h b/ksystemlog/src/specificFileList.h
index 4e6c42c..994490c 100644
--- a/ksystemlog/src/specificFileList.h
+++ b/ksystemlog/src/specificFileList.h
@@ -35,7 +35,7 @@ class SpecificFileList : public FileList {
TQ_OBJECT
public:
- SpecificFileList(TQWidget *tqparent, TQString description);
+ SpecificFileList(TQWidget *parent, TQString description);
~SpecificFileList();
virtual void insertItem(TQString& item);
diff --git a/ksystemlog/src/system/systemOptions.cpp b/ksystemlog/src/system/systemOptions.cpp
index d4bac60..c7ab22f 100644
--- a/ksystemlog/src/system/systemOptions.cpp
+++ b/ksystemlog/src/system/systemOptions.cpp
@@ -42,8 +42,8 @@
#include "systemOptions.h"
#include "ksystemlogConfig.h"
-SystemOptions::SystemOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+SystemOptions::SystemOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQVBoxLayout* tqlayout = new TQVBoxLayout(this);
diff --git a/ksystemlog/src/system/systemOptions.h b/ksystemlog/src/system/systemOptions.h
index 46d6d95..15cb622 100644
--- a/ksystemlog/src/system/systemOptions.h
+++ b/ksystemlog/src/system/systemOptions.h
@@ -42,7 +42,7 @@ class SystemOptions : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
- SystemOptions(TQWidget *tqparent = 0);
+ SystemOptions(TQWidget *parent = 0);
~SystemOptions();
bool isValid();
diff --git a/ksystemlog/src/system/systemReader.cpp b/ksystemlog/src/system/systemReader.cpp
index 7d08903..dfe923f 100644
--- a/ksystemlog/src/system/systemReader.cpp
+++ b/ksystemlog/src/system/systemReader.cpp
@@ -23,8 +23,8 @@
#include <klocale.h>
#include <kmessagebox.h>
-SystemReader::SystemReader(TQObject *tqparent, const char *name) :
- DefaultReader(tqparent, name)
+SystemReader::SystemReader(TQObject *parent, const char *name) :
+ DefaultReader(parent, name)
{
}
diff --git a/ksystemlog/src/system/systemReader.h b/ksystemlog/src/system/systemReader.h
index 14c5656..9539538 100644
--- a/ksystemlog/src/system/systemReader.h
+++ b/ksystemlog/src/system/systemReader.h
@@ -39,7 +39,7 @@ class SystemReader : public DefaultReader {
TQ_OBJECT
public:
- SystemReader(TQObject *tqparent = 0, const char *name = 0);
+ SystemReader(TQObject *parent = 0, const char *name = 0);
virtual ~SystemReader();
diff --git a/ksystemlog/src/view.cpp b/ksystemlog/src/view.cpp
index da3bb71..c4fb95c 100644
--- a/ksystemlog/src/view.cpp
+++ b/ksystemlog/src/view.cpp
@@ -55,9 +55,9 @@
#include "ksystemlog.h"
-View::View(TQWidget *tqparent) :
+View::View(TQWidget *parent) :
DCOPObject("KSystemLogInterface"),
- TQWidget(tqparent),
+ TQWidget(parent),
logManager(NULL),
table(NULL),
columns(NULL),
diff --git a/ksystemlog/src/view.h b/ksystemlog/src/view.h
index d97a019..03182a9 100644
--- a/ksystemlog/src/view.h
+++ b/ksystemlog/src/view.h
@@ -71,7 +71,7 @@ class View : public TQWidget, public KSystemLogInterface {
/**
* Default constructor
*/
- View(TQWidget *tqparent);
+ View(TQWidget *parent);
/**
* Destructor
diff --git a/ksystemlog/src/viewToolTip.cpp b/ksystemlog/src/viewToolTip.cpp
index e1c4a9b..f1b2eaa 100644
--- a/ksystemlog/src/viewToolTip.cpp
+++ b/ksystemlog/src/viewToolTip.cpp
@@ -30,8 +30,8 @@
#include "view.h"
-ViewToolTip::ViewToolTip(TQWidget *tqparent, View *view) :
- TQToolTip(tqparent),
+ViewToolTip::ViewToolTip(TQWidget *parent, View *view) :
+ TQToolTip(parent),
view(view) {
}
diff --git a/ksystemlog/src/viewToolTip.h b/ksystemlog/src/viewToolTip.h
index 11db863..1206990 100644
--- a/ksystemlog/src/viewToolTip.h
+++ b/ksystemlog/src/viewToolTip.h
@@ -30,7 +30,7 @@ class View;
class ViewToolTip : public TQToolTip {
public:
- ViewToolTip(TQWidget *tqparent, View* view);
+ ViewToolTip(TQWidget *parent, View* view);
virtual ~ViewToolTip();
diff --git a/ksystemlog/src/xorg/xorgOptions.cpp b/ksystemlog/src/xorg/xorgOptions.cpp
index 44ac53b..3a5e0ce 100644
--- a/ksystemlog/src/xorg/xorgOptions.cpp
+++ b/ksystemlog/src/xorg/xorgOptions.cpp
@@ -42,8 +42,8 @@
#include "xorgOptions.h"
#include "ksystemlogConfig.h"
-XorgOptions::XorgOptions(TQWidget *tqparent) :
- TQWidget(tqparent)
+XorgOptions::XorgOptions(TQWidget *parent) :
+ TQWidget(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
diff --git a/ksystemlog/src/xorg/xorgOptions.h b/ksystemlog/src/xorg/xorgOptions.h
index 74c0dd5..12ee3be 100644
--- a/ksystemlog/src/xorg/xorgOptions.h
+++ b/ksystemlog/src/xorg/xorgOptions.h
@@ -41,7 +41,7 @@ class XorgOptions : public TQWidget {
TQ_OBJECT
public:
- XorgOptions(TQWidget *tqparent = 0);
+ XorgOptions(TQWidget *parent = 0);
~XorgOptions();
bool isValid();
diff --git a/ksystemlog/src/xorg/xorgReader.cpp b/ksystemlog/src/xorg/xorgReader.cpp
index e247c13..921858a 100644
--- a/ksystemlog/src/xorg/xorgReader.cpp
+++ b/ksystemlog/src/xorg/xorgReader.cpp
@@ -32,8 +32,8 @@
#define PROBED_LOG_LEVEL_ICON "wizard"
#define NOT_IMPLEMENTED_LOG_LEVEL_ICON "filenew"
-XorgReader::XorgReader(TQObject *tqparent, const char *name) :
- DefaultReader(tqparent, name),
+XorgReader::XorgReader(TQObject *parent, const char *name) :
+ DefaultReader(parent, name),
newLineTime(),
newLineDate(TQDate::tqcurrentDate()),
lineCount(1)
diff --git a/ksystemlog/src/xorg/xorgReader.h b/ksystemlog/src/xorg/xorgReader.h
index 14e8fe2..4e747a7 100644
--- a/ksystemlog/src/xorg/xorgReader.h
+++ b/ksystemlog/src/xorg/xorgReader.h
@@ -43,7 +43,7 @@ class XorgReader : public DefaultReader {
TQ_OBJECT
public:
- XorgReader(TQObject *tqparent = 0, const char *name = 0);
+ XorgReader(TQObject *parent = 0, const char *name = 0);
virtual ~XorgReader();