diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbugbuster/gui/severityselectdialog.cpp | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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() ); } |