summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:02 -0600
commitb59a8a75a5383a2bcd3d59a23900878698bf0ff7 (patch)
tree2e627ae5ac7386875c2cb4f2ff69a75b8e8403c1
parentb6d3b22ce8f0b50f77a9f9f2cbf91bef3da6c717 (diff)
downloadksystemlog-b59a8a75a5383a2bcd3d59a23900878698bf0ff7.tar.gz
ksystemlog-b59a8a75a5383a2bcd3d59a23900878698bf0ff7.zip
Rename obsolete tq methods to standard names
-rw-r--r--ksystemlog/src/acpid/acpidOptions.cpp4
-rw-r--r--ksystemlog/src/apache/apacheOptions.cpp4
-rw-r--r--ksystemlog/src/bootauth/bootAuthenticationOptions.cpp10
-rw-r--r--ksystemlog/src/cron/cronOptions.cpp4
-rw-r--r--ksystemlog/src/cups/cupsOptions.cpp4
-rw-r--r--ksystemlog/src/daemon/daemonOptions.cpp4
-rw-r--r--ksystemlog/src/detailDialogBase.ui2
-rw-r--r--ksystemlog/src/fileList.cpp4
-rw-r--r--ksystemlog/src/generalOptions.cpp12
-rw-r--r--ksystemlog/src/kernel/kernelOptions.cpp4
-rw-r--r--ksystemlog/src/logManager.cpp4
-rw-r--r--ksystemlog/src/loggerDialogBase.ui8
-rw-r--r--ksystemlog/src/postfix/postfixOptions.cpp4
-rw-r--r--ksystemlog/src/samba/sambaOptions.cpp4
-rw-r--r--ksystemlog/src/system/systemOptions.cpp6
-rw-r--r--ksystemlog/src/view.cpp4
-rw-r--r--ksystemlog/src/xorg/xorgOptions.cpp4
17 files changed, 43 insertions, 43 deletions
diff --git a/ksystemlog/src/acpid/acpidOptions.cpp b/ksystemlog/src/acpid/acpidOptions.cpp
index d695613..cf97bfb 100644
--- a/ksystemlog/src/acpid/acpidOptions.cpp
+++ b/ksystemlog/src/acpid/acpidOptions.cpp
@@ -46,8 +46,8 @@ AcpidOptions::AcpidOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
TQString description=i18n("<qt><p>These files will be analyzed to display <b>ACPId log</b>. This list also determines the order in which the files are read.</p></qt>");
fileList=new FileList(this, description);
diff --git a/ksystemlog/src/apache/apacheOptions.cpp b/ksystemlog/src/apache/apacheOptions.cpp
index ddda011..9705b19 100644
--- a/ksystemlog/src/apache/apacheOptions.cpp
+++ b/ksystemlog/src/apache/apacheOptions.cpp
@@ -49,8 +49,8 @@ ApacheOptions::ApacheOptions(TQWidget *parent) :
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>"))
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
tabs.addTab(&apacheFileList, Globals::apacheMode->pixmap, Globals::apacheMode->name);
tabs.addTab(&apacheAccessFileList, Globals::apacheAccessMode->pixmap, Globals::apacheAccessMode->name);
diff --git a/ksystemlog/src/bootauth/bootAuthenticationOptions.cpp b/ksystemlog/src/bootauth/bootAuthenticationOptions.cpp
index 78c231c..6be3dfb 100644
--- a/ksystemlog/src/bootauth/bootAuthenticationOptions.cpp
+++ b/ksystemlog/src/bootauth/bootAuthenticationOptions.cpp
@@ -46,8 +46,8 @@ BootAuthenticationOptions::BootAuthenticationOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
- tqlayout->setSpacing(10);
+ TQVBoxLayout *layout = new TQVBoxLayout(this);
+ layout->setSpacing(10);
//Boot log file
TQVGroupBox* bootBox=new TQVGroupBox(i18n("Boot Log File"), this);
@@ -75,9 +75,9 @@ BootAuthenticationOptions::BootAuthenticationOptions(TQWidget *parent) :
TQSpacerItem* spacer=new TQSpacerItem(0, 0, TQSizePolicy::Preferred, TQSizePolicy::Expanding);
- tqlayout->addWidget(bootBox);
- tqlayout->addWidget(authenticationBox);
- tqlayout->addItem(spacer);
+ layout->addWidget(bootBox);
+ layout->addWidget(authenticationBox);
+ layout->addItem(spacer);
readConfig();
}
diff --git a/ksystemlog/src/cron/cronOptions.cpp b/ksystemlog/src/cron/cronOptions.cpp
index 170b8af..de63023 100644
--- a/ksystemlog/src/cron/cronOptions.cpp
+++ b/ksystemlog/src/cron/cronOptions.cpp
@@ -46,8 +46,8 @@ CronOptions::CronOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
TQString description= i18n("<qt><p>These files will be analyzed to display <b>Cron Logs</b> (i.e. planned tasks logs). This list also determines the order in which the files are read.</p></qt>");
fileList=new SpecificFileList(this, description);
diff --git a/ksystemlog/src/cups/cupsOptions.cpp b/ksystemlog/src/cups/cupsOptions.cpp
index 855e2e3..786011c 100644
--- a/ksystemlog/src/cups/cupsOptions.cpp
+++ b/ksystemlog/src/cups/cupsOptions.cpp
@@ -49,8 +49,8 @@ CupsOptions::CupsOptions(TQWidget *parent) :
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>"))
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
tabs.addTab(&cupsFileList, Globals::cupsMode->pixmap, Globals::cupsMode->name);
tabs.addTab(&cupsAccessFileList, Globals::cupsAccessMode->pixmap, Globals::cupsAccessMode->name);
diff --git a/ksystemlog/src/daemon/daemonOptions.cpp b/ksystemlog/src/daemon/daemonOptions.cpp
index e86c6c9..098c1d0 100644
--- a/ksystemlog/src/daemon/daemonOptions.cpp
+++ b/ksystemlog/src/daemon/daemonOptions.cpp
@@ -46,8 +46,8 @@ DaemonOptions::DaemonOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
TQString description= i18n("<qt><p>These files will be analyzed to display <b>daemons Logs</b>. This list also determine the order in which the files are read.</p></qt>");
fileList=new SpecificFileList(this, description);
diff --git a/ksystemlog/src/detailDialogBase.ui b/ksystemlog/src/detailDialogBase.ui
index 5c169dc..2545d2c 100644
--- a/ksystemlog/src/detailDialogBase.ui
+++ b/ksystemlog/src/detailDialogBase.ui
@@ -75,7 +75,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
diff --git a/ksystemlog/src/fileList.cpp b/ksystemlog/src/fileList.cpp
index 78223f4..6caa8d8 100644
--- a/ksystemlog/src/fileList.cpp
+++ b/ksystemlog/src/fileList.cpp
@@ -44,8 +44,8 @@ FileList::FileList(TQWidget *parent, TQString description) :
TQWidget(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
TQVGroupBox* dirBox = new TQVGroupBox(i18n( "Files" ), this);
diff --git a/ksystemlog/src/generalOptions.cpp b/ksystemlog/src/generalOptions.cpp
index 8a8114c..0b5457b 100644
--- a/ksystemlog/src/generalOptions.cpp
+++ b/ksystemlog/src/generalOptions.cpp
@@ -42,8 +42,8 @@ GeneralOptions::GeneralOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
- tqlayout->setSpacing(10);
+ TQVBoxLayout *layout = new TQVBoxLayout(this);
+ layout->setSpacing(10);
//Maximum Lines
TQVGroupBox* logLinesBox=new TQVGroupBox(i18n("Log Lines List"), this);
@@ -88,11 +88,11 @@ GeneralOptions::GeneralOptions(TQWidget *parent) :
TQSpacerItem* spacer=new TQSpacerItem(0, 0, TQSizePolicy::Preferred, TQSizePolicy::Expanding);
- tqlayout->addWidget(logLinesBox);
- tqlayout->addWidget(maxCharBox);
- tqlayout->addWidget(options);
+ layout->addWidget(logLinesBox);
+ layout->addWidget(maxCharBox);
+ layout->addWidget(options);
- tqlayout->addItem(spacer);
+ layout->addItem(spacer);
readConfig();
}
diff --git a/ksystemlog/src/kernel/kernelOptions.cpp b/ksystemlog/src/kernel/kernelOptions.cpp
index 8868cf7..e42b2a9 100644
--- a/ksystemlog/src/kernel/kernelOptions.cpp
+++ b/ksystemlog/src/kernel/kernelOptions.cpp
@@ -47,8 +47,8 @@ KernelOptions::KernelOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
TQString description= i18n("<qt><p>These files will be analyzed to display <b>Kernel logs</b>. This list also determines the order in which the files are read.</p></qt>");
fileList=new SpecificFileList(this, description);
diff --git a/ksystemlog/src/logManager.cpp b/ksystemlog/src/logManager.cpp
index 9025f6d..c0de9e9 100644
--- a/ksystemlog/src/logManager.cpp
+++ b/ksystemlog/src/logManager.cpp
@@ -521,8 +521,8 @@ void LogManager::slotCopyToClipboard() {
}
else {
//Copy both to clipboard and X11-selection
- TQApplication::tqclipboard()->setText(text, TQClipboard::Clipboard);
- TQApplication::tqclipboard()->setText(text, TQClipboard::Selection);
+ TQApplication::clipboard()->setText(text, TQClipboard::Clipboard);
+ TQApplication::clipboard()->setText(text, TQClipboard::Selection);
emit changeStatusbar(i18n("1 log line copied to clipboard.", "%n log lines copied to clipboard.", nbCopied));
}
diff --git a/ksystemlog/src/loggerDialogBase.ui b/ksystemlog/src/loggerDialogBase.ui
index b99fd01..7a777b1 100644
--- a/ksystemlog/src/loggerDialogBase.ui
+++ b/ksystemlog/src/loggerDialogBase.ui
@@ -116,7 +116,7 @@
</property>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>tqlayout9_2</cstring>
+ <cstring>layout9_2</cstring>
</property>
<hbox>
<property name="name">
@@ -175,7 +175,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@@ -255,7 +255,7 @@
</property>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
- <cstring>tqlayout11</cstring>
+ <cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@@ -342,7 +342,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
diff --git a/ksystemlog/src/postfix/postfixOptions.cpp b/ksystemlog/src/postfix/postfixOptions.cpp
index 5976b7a..57628ea 100644
--- a/ksystemlog/src/postfix/postfixOptions.cpp
+++ b/ksystemlog/src/postfix/postfixOptions.cpp
@@ -47,8 +47,8 @@ PostfixOptions::PostfixOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
TQString description= i18n("<qt><p>These files will be analyzed to display <b>Postfix Logs</b>. This list also determine the order in which the files are read.</p></qt>");
fileList=new SpecificFileList(this, description);
diff --git a/ksystemlog/src/samba/sambaOptions.cpp b/ksystemlog/src/samba/sambaOptions.cpp
index 709d6a0..aa78c59 100644
--- a/ksystemlog/src/samba/sambaOptions.cpp
+++ b/ksystemlog/src/samba/sambaOptions.cpp
@@ -46,8 +46,8 @@ SambaOptions::SambaOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
TQString description= i18n("<qt><p>These files will be analyzed to display <b>Samba log</b>. This list also determines the order in which the files are read.</p></qt>");
fileList=new FileList(this, description);
diff --git a/ksystemlog/src/system/systemOptions.cpp b/ksystemlog/src/system/systemOptions.cpp
index c7ab22f..bed499e 100644
--- a/ksystemlog/src/system/systemOptions.cpp
+++ b/ksystemlog/src/system/systemOptions.cpp
@@ -46,15 +46,15 @@ SystemOptions::SystemOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQVBoxLayout* tqlayout = new TQVBoxLayout(this);
- //tqlayout->setAutoAdd(true);
+ TQVBoxLayout* layout = new TQVBoxLayout(this);
+ //layout->setAutoAdd(true);
TQString description= i18n("<qt><p>These files will be analyzed to display <b>System logs</b>. This list also determines the order in which the files are read.</p></qt>");
fileList=new SpecificFileList(this, description);
connect(fileList, TQT_SIGNAL(fileListChanged(int)), this, TQT_SLOT(slotFileListChanged(int)));
- tqlayout->addWidget(fileList);
+ layout->addWidget(fileList);
readConfig();
diff --git a/ksystemlog/src/view.cpp b/ksystemlog/src/view.cpp
index 9c97dd3..e852849 100644
--- a/ksystemlog/src/view.cpp
+++ b/ksystemlog/src/view.cpp
@@ -64,7 +64,7 @@ View::View(TQWidget *parent) :
firstLoad(true)
{
- // setup our tqlayout manager to automatically add our widgets
+ // setup our layout manager to automatically add our widgets
TQVBoxLayout* topLayout = new TQVBoxLayout(this);
topLayout->setAutoAdd(true);
@@ -210,7 +210,7 @@ void View::setColumns(LogViewColumns* list) {
TQString group="List";
group.append(logManager->getIndex());
- //We first restore the tqlayout from the config
+ //We first restore the layout from the config
table->restoreLayout(configXT->config(), group);
//Then we delete it from config, to avoid reloading problem
diff --git a/ksystemlog/src/xorg/xorgOptions.cpp b/ksystemlog/src/xorg/xorgOptions.cpp
index 3a5e0ce..182997d 100644
--- a/ksystemlog/src/xorg/xorgOptions.cpp
+++ b/ksystemlog/src/xorg/xorgOptions.cpp
@@ -46,8 +46,8 @@ XorgOptions::XorgOptions(TQWidget *parent) :
TQWidget(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
TQString description= i18n("<qt><p>These files will be analyzed to display <b>X.org log</b>. This list also determines the order in which the files are read.</p></qt>");
fileList=new FileList(this, description);