Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent b6d3b22ce8
commit b59a8a75a5

@ -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);

@ -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);

@ -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();
}

@ -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);

@ -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);

@ -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);

@ -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">

@ -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);

@ -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();
}

@ -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);

@ -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));
}

@ -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">

@ -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);

@ -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);

@ -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();

@ -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

@ -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);

Loading…
Cancel
Save