summaryrefslogtreecommitdiffstats
path: root/src/tools/list
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-29 16:42:37 +0900
committerMichele Calgaro <[email protected]>2023-12-29 16:48:53 +0900
commitc679361a50aee162491e7195f2bcfdbbf341dde5 (patch)
treec8ff90ba1810054b7e53a79649b0e33a0937e74f /src/tools/list
parenta8207be921513da0ccccf41e36e056736c2b8457 (diff)
downloadpiklab-c679361a50aee162491e7195f2bcfdbbf341dde5.tar.gz
piklab-c679361a50aee162491e7195f2bcfdbbf341dde5.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tools/list')
-rw-r--r--src/tools/list/compile_manager.cpp8
-rw-r--r--src/tools/list/compile_process.cpp10
-rw-r--r--src/tools/list/tools_config_widget.cpp4
3 files changed, 11 insertions, 11 deletions
diff --git a/src/tools/list/compile_manager.cpp b/src/tools/list/compile_manager.cpp
index 28f7aa6..edf999c 100644
--- a/src/tools/list/compile_manager.cpp
+++ b/src/tools/list/compile_manager.cpp
@@ -39,7 +39,7 @@ bool Compile::Manager::setupFile(Operations op, const TodoItem &item)
_todo.append(item);
_action = Compiling;
_wholeProject = false;
- TQTimer::singleShot(0, this, TQT_SLOT(start()));
+ TQTimer::singleShot(0, this, TQ_SLOT(start()));
return true;
}
@@ -74,7 +74,7 @@ bool Compile::Manager::setupProject(Operations op, LinkType type)
}
_action = Compiling;
_wholeProject = true;
- TQTimer::singleShot(0, this, TQT_SLOT(start()));
+ TQTimer::singleShot(0, this, TQ_SLOT(start()));
return true;
}
@@ -216,7 +216,7 @@ void Compile::Manager::start()
}
if ( _operations & Clean ) {
_base->files(0).onlyExistingFiles().cleanGenerated();
- TQTimer::singleShot(0, this, TQT_SLOT(start()));
+ TQTimer::singleShot(0, this, TQ_SLOT(start()));
return;
}
if ( !_base->start() ) {
@@ -249,7 +249,7 @@ void Compile::Manager::processDone()
FileData::List list = _base->files(0).onlyExistingFiles();
FileData::List::iterator it;
for (it=list.begin(); it!=list.end(); ++it) emit updateFile(*it);
- TQTimer::singleShot(0, this, TQT_SLOT(start()));
+ TQTimer::singleShot(0, this, TQ_SLOT(start()));
}
}
diff --git a/src/tools/list/compile_process.cpp b/src/tools/list/compile_process.cpp
index b19bc54..aff7c7c 100644
--- a/src/tools/list/compile_process.cpp
+++ b/src/tools/list/compile_process.cpp
@@ -70,7 +70,7 @@ void Compile::FileData::List::cleanGenerated() const
Compile::LogWidget::LogWidget(TQWidget *parent)
: Log::Widget(parent, "compile_log")
{
- connect(this, TQT_SIGNAL(clicked(int, int)), TQT_SLOT(lineClicked(int)));
+ connect(this, TQ_SIGNAL(clicked(int, int)), TQ_SLOT(lineClicked(int)));
}
void Compile::LogWidget::clear()
@@ -124,10 +124,10 @@ bool Compile::BaseProcess::start()
_stderr = TQString();
delete _process;
_process = new ::Process::LineSignal;
- connect(_process, TQT_SIGNAL(done(int)), TQT_SLOT(done(int)));
- connect(_process, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()));
- connect(_process, TQT_SIGNAL(logStdoutLine(const TQString &)), TQT_SLOT(logStdoutLine(const TQString &)));
- connect(_process, TQT_SIGNAL(logStderrLine(const TQString &)), TQT_SLOT(logStderrLine(const TQString &)));
+ connect(_process, TQ_SIGNAL(done(int)), TQ_SLOT(done(int)));
+ connect(_process, TQ_SIGNAL(timeout()), TQ_SLOT(timeout()));
+ connect(_process, TQ_SIGNAL(logStdoutLine(const TQString &)), TQ_SLOT(logStdoutLine(const TQString &)));
+ connect(_process, TQ_SIGNAL(logStderrLine(const TQString &)), TQ_SLOT(logStderrLine(const TQString &)));
_process->setWorkingDirectory(directory().path());
setupProcess();
_manager->log(Log::LineType::Command, _process->arguments().join(" "));
diff --git a/src/tools/list/tools_config_widget.cpp b/src/tools/list/tools_config_widget.cpp
index 1ced475..a6b853a 100644
--- a/src/tools/list/tools_config_widget.cpp
+++ b/src/tools/list/tools_config_widget.cpp
@@ -47,7 +47,7 @@ ToolsConfigWidget::ToolsConfigWidget(Project *project, TQWidget *parent)
Tool::Lister::ConstIterator it;
for (it=Tool::lister().begin(); it!=Tool::lister().end(); ++it)
_tool->appendItem(it.key(), it.data()->label());
- connect(_tool->widget(), TQT_SIGNAL(activated(int)), TQT_SLOT(toolChanged()));
+ connect(_tool->widget(), TQ_SIGNAL(activated(int)), TQ_SLOT(toolChanged()));
addWidget(_tool->widget(), row,row, 1,1);
label = new TQLabel(i18n("Output type:"), this);
addWidget(label, row,row, 2,2);
@@ -71,7 +71,7 @@ ToolsConfigWidget::ToolsConfigWidget(Project *project, TQWidget *parent)
ToolConfigWidget *cw = static_cast<const Tool::GroupUI *>(it.data()->gui())->createConfigWidget(category, project);
Q_ASSERT(cw);
_stacks[category]->appendItem(it.key(), cw);
- connect(cw, TQT_SIGNAL(displayHelp()), TQT_SLOT(displayHelp()));
+ connect(cw, TQ_SIGNAL(displayHelp()), TQ_SLOT(displayHelp()));
}
}
_customWidget = new TQWidget(_mainStack);