diff options
Diffstat (limited to 'src/progs/gpsim/gui/gpsim_group_ui.cpp')
-rw-r--r-- | src/progs/gpsim/gui/gpsim_group_ui.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/progs/gpsim/gui/gpsim_group_ui.cpp b/src/progs/gpsim/gui/gpsim_group_ui.cpp index 3949b8e..f3375cc 100644 --- a/src/progs/gpsim/gui/gpsim_group_ui.cpp +++ b/src/progs/gpsim/gui/gpsim_group_ui.cpp @@ -8,35 +8,35 @@ ***************************************************************************/ #include "gpsim_group_ui.h" -#include <qtimer.h> +#include <tqtimer.h> #include "progs/base/prog_group.h" #include "progs/gpsim/base/gpsim.h" //---------------------------------------------------------------------------- -GPSim::ConfigWidget::ConfigWidget(const ::Programmer::Group &group, QWidget *parent) - : ::Programmer::ConfigWidget(group, parent) +GPSim::ConfigWidget::ConfigWidget(const ::Programmer::Group &group, TQWidget *tqparent) + : ::Programmer::ConfigWidget(group, tqparent) { uint row = numRows(); - QLabel *label = new QLabel(i18n("Status:"), this); + TQLabel *label = new TQLabel(i18n("tqStatus:"), this); addWidget(label, row,row, 0,0); - _status = new QLabel(this); + _status = new TQLabel(this); addWidget(_status, row,row, 1,1); - QTimer::singleShot(0, this, SLOT(updateStatus())); + TQTimer::singleShot(0, this, TQT_SLOT(updatetqStatus())); } -void GPSim::ConfigWidget::updateStatus() +void GPSim::ConfigWidget::updatetqStatus() { VersionData version; ProcessManager manager(0); if ( !manager.start() ) _status->setText(i18n("Could not start \"gpsim\"")); else if ( !manager.getVersion(version) || !version.isValid() ) _status->setText(i18n("Could not detect \"gpsim\" version")); - else _status->setText(i18n("Found version \"%1\"").arg(version.pretty())); + else _status->setText(i18n("Found version \"%1\"").tqarg(version.pretty())); } //---------------------------------------------------------------------------- -::Programmer::ConfigWidget *GPSim::GroupUI::createConfigWidget(QWidget *parent) const +::Programmer::ConfigWidget *GPSim::GroupUI::createConfigWidget(TQWidget *tqparent) const { - return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); + return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), tqparent); } |