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

#include <kdialogbase.h>

#include "bug.h"

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

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

  private:
    TQButtonGroup *mButtonGroup;
};

#endif