summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/severityselectdialog.h
blob: 12f36fe51985b0180b1ff3813544d4cc47ece936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SEVERITYSELECTDIALOG_H
#define SEVERITYSELECTDIALOG_H

#include <kdialogbase.h>

#include "bug.h"

class SeveritySelectDialog : public KDialogBase
{
    Q_OBJECT
  public:
    SeveritySelectDialog(QWidget *parent=0,const char *name=0);

    void setSeverity( Bug::Severity );
        
    Bug::Severity selectedSeverity();
    QString selectedSeverityAsString();

  private:
    QButtonGroup *mButtonGroup;
};

#endif