diff options
Diffstat (limited to 'src/tools/c18/gui')
-rw-r--r-- | src/tools/c18/gui/c18_ui.cpp | 8 | ||||
-rw-r--r-- | src/tools/c18/gui/c18_ui.h | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/tools/c18/gui/c18_ui.cpp b/src/tools/c18/gui/c18_ui.cpp index c10f328..5d0c167 100644 --- a/src/tools/c18/gui/c18_ui.cpp +++ b/src/tools/c18/gui/c18_ui.cpp @@ -8,7 +8,7 @@ ***************************************************************************/ #include "c18_ui.h" -#include <qlabel.h> +#include <tqlabel.h> #include "tools/c18/c18_config.h" //---------------------------------------------------------------------------- @@ -20,10 +20,10 @@ void C18::ConfigWidget::initEntries() { if ( _category==Tool::Category::Compiler ) { uint row = container()->numRows(); - QLabel *label = new QLabel(i18n("Warning level:"), container()); + TQLabel *label = new TQLabel(i18n("Warning level:"), container()); container()->addWidget(label, row,row, 0,0); - _warningLevel = new QComboBox(container()); - connect(_warningLevel, SIGNAL(activated(int)), SIGNAL(changed())); + _warningLevel = new TQComboBox(container()); + connect(_warningLevel, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed())); for (uint i=0; i<Config::Nb_WarningLevels; i++) _warningLevel->insertItem(i18n(Config::WARNING_LEVEL_LABELS[i])); container()->addWidget(_warningLevel, row,row, 1,1); diff --git a/src/tools/c18/gui/c18_ui.h b/src/tools/c18/gui/c18_ui.h index d7d45c4..8ccb638 100644 --- a/src/tools/c18/gui/c18_ui.h +++ b/src/tools/c18/gui/c18_ui.h @@ -18,11 +18,12 @@ namespace C18 class ConfigWidget : public ToolConfigWidget { Q_OBJECT + TQ_OBJECT public: ConfigWidget(Project *project); private: - QComboBox *_warningLevel; + TQComboBox *_warningLevel; virtual void initEntries(); virtual void loadConfig(const Compile::Config &config); virtual void saveConfig(Compile::Config &config) const; |