summaryrefslogtreecommitdiffstats
path: root/src/tools/gui/toolchain_config_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/gui/toolchain_config_widget.cpp')
-rw-r--r--src/tools/gui/toolchain_config_widget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tools/gui/toolchain_config_widget.cpp b/src/tools/gui/toolchain_config_widget.cpp
index 291952f..27302fd 100644
--- a/src/tools/gui/toolchain_config_widget.cpp
+++ b/src/tools/gui/toolchain_config_widget.cpp
@@ -44,7 +44,7 @@ void ToolchainConfigWidget::init()
TQLabel *label = new TQLabel(Compile::DirectoryType(Compile::DirectoryType::Executable).label() + ":", container);
container->addWidget(label, row,row, 0,0);
_dirs[Compile::DirectoryType::Executable] = new PURL::DirectoryWidget(container);
- connect(_dirs[Compile::DirectoryType::Executable], TQT_SIGNAL(changed()), TQT_SLOT(forceDetect()));
+ connect(_dirs[Compile::DirectoryType::Executable], TQ_SIGNAL(changed()), TQ_SLOT(forceDetect()));
container->addWidget(_dirs[Compile::DirectoryType::Executable], row,row, 1,3);
row++;
@@ -52,7 +52,7 @@ void ToolchainConfigWidget::init()
container->addWidget(label, row,row, 0,0);
_execType = new TQComboBox(container);
FOR_EACH(Tool::ExecutableType, type) _execType->insertItem(type.label());
- connect(_execType, TQT_SIGNAL(activated(int)), TQT_SLOT(forceDetect()));
+ connect(_execType, TQ_SIGNAL(activated(int)), TQ_SLOT(forceDetect()));
container->addWidget(_execType, row,row, 1,2);
row++;
@@ -65,7 +65,7 @@ void ToolchainConfigWidget::init()
_outputType = new KeyComboBox<Tool::OutputExecutableType>(container);
FOR_EACH(Tool::OutputExecutableType, type)
if ( _group.hasOutputExecutableType(type) ) _outputType->appendItem(type, type.label());
- connect(_outputType->widget(), TQT_SIGNAL(activated(int)), TQT_SLOT(forceDetect()));
+ connect(_outputType->widget(), TQ_SIGNAL(activated(int)), TQ_SLOT(forceDetect()));
container->addWidget(_outputType->widget(), row,row, 1,1);
row++;
}
@@ -80,7 +80,7 @@ void ToolchainConfigWidget::init()
_data[k].label = new TQLabel(container);
container->addWidget(_data[k].label, row,row, 1,1);
_data[k].button = new KPushButton(KGuiItem(TQString(), "viewmag"), container);
- connect(_data[k].button, TQT_SIGNAL(clicked()), TQT_SLOT(showDetails()));
+ connect(_data[k].button, TQ_SIGNAL(clicked()), TQ_SLOT(showDetails()));
container->addWidget(_data[k].button, row,row, 2,2);
row++;
}
@@ -90,7 +90,7 @@ void ToolchainConfigWidget::init()
_devicesLabel = new TQLabel(container);
container->addWidget(_devicesLabel, row,row, 1,1);
KPushButton *button = new KPushButton(KGuiItem(TQString(), "viewmag"), container);
- connect(button, TQT_SIGNAL(clicked()), TQT_SLOT(showDeviceDetails()));
+ connect(button, TQ_SIGNAL(clicked()), TQ_SLOT(showDeviceDetails()));
container->addWidget(button, row,row, 2,2);
row++;
@@ -226,8 +226,8 @@ void ToolchainConfigWidget::detect()
_data[k].checkLines.clear();
_data[k].process = checkExecutableProcess(k);
_data[k].command = _data[k].process->prettyCommand();
- connect(_data[k].process, TQT_SIGNAL(done(int)), TQT_SLOT(checkExecutableDone()));
- connect(_data[k].process, TQT_SIGNAL(timeout()), TQT_SLOT(checkExecutableDone()));
+ connect(_data[k].process, TQ_SIGNAL(done(int)), TQ_SLOT(checkExecutableDone()));
+ connect(_data[k].process, TQ_SIGNAL(timeout()), TQ_SLOT(checkExecutableDone()));
TQString exec = baseExecutable(k);
if ( !_data[k].process->start(10000) ) _data[k].label->setText(i18n("\"%1\" not found").arg(exec));
else _data[k].label->setText(i18n("Detecting \"%1\"...").arg(exec));
@@ -241,8 +241,8 @@ void ToolchainConfigWidget::detect()
delete _devicesData[i].process;
_devicesData[i].process = checkDevicesProcess(i);
_devicesData[i].command = _devicesData[i].process->prettyCommand();
- connect(_devicesData[i].process, TQT_SIGNAL(done(int)), TQT_SLOT(checkDevicesDone()));
- connect(_devicesData[i].process, TQT_SIGNAL(timeout()), TQT_SLOT(checkDevicesDone()));
+ connect(_devicesData[i].process, TQ_SIGNAL(done(int)), TQ_SLOT(checkDevicesDone()));
+ connect(_devicesData[i].process, TQ_SIGNAL(timeout()), TQ_SLOT(checkDevicesDone()));
_devicesData[i].done = false;
_devicesData[i].checkLines.clear();
if ( !_devicesData[i].process->start(10000) ) _devicesLabel->setText(i18n("Failed"));