diff options
Diffstat (limited to 'kbugbuster/gui/severityselectdialog.cpp')
-rw-r--r-- | kbugbuster/gui/severityselectdialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kbugbuster/gui/severityselectdialog.cpp b/kbugbuster/gui/severityselectdialog.cpp index 714e6f3a..0ef4e2f7 100644 --- a/kbugbuster/gui/severityselectdialog.cpp +++ b/kbugbuster/gui/severityselectdialog.cpp @@ -1,6 +1,6 @@ -#include <qlayout.h> -#include <qbuttongroup.h> -#include <qradiobutton.h> +#include <tqlayout.h> +#include <tqbuttongroup.h> +#include <tqradiobutton.h> #include <kdebug.h> @@ -10,17 +10,17 @@ #include "severityselectdialog.h" #include "severityselectdialog.moc" -SeveritySelectDialog::SeveritySelectDialog(QWidget *parent,const char *name) : +SeveritySelectDialog::SeveritySelectDialog(TQWidget *parent,const char *name) : KDialogBase( parent, name, true, i18n("Select Severity"), Ok|Cancel ) { - mButtonGroup = new QButtonGroup( 1, Horizontal, i18n("Severity"), this ); + mButtonGroup = new TQButtonGroup( 1, Horizontal, i18n("Severity"), this ); setMainWidget( mButtonGroup ); - QValueList<Bug::Severity> severities = Bug::severities(); - QValueList<Bug::Severity>::ConstIterator it; + TQValueList<Bug::Severity> severities = Bug::severities(); + TQValueList<Bug::Severity>::ConstIterator it; for( it = severities.begin(); it != severities.end(); ++it ) { mButtonGroup->insert( - new QRadioButton( Bug::severityToString( *it ), mButtonGroup ), int(*it) ); + new TQRadioButton( Bug::severityToString( *it ), mButtonGroup ), int(*it) ); } } @@ -34,7 +34,7 @@ Bug::Severity SeveritySelectDialog::selectedSeverity() return (Bug::Severity)mButtonGroup->id( mButtonGroup->selected() ); } -QString SeveritySelectDialog::selectedSeverityAsString() +TQString SeveritySelectDialog::selectedSeverityAsString() { return Bug::severityToString( selectedSeverity() ); } |