summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/severityselectdialog.h
blob: 46f52bb0686d5fffdc8a54c43da4b4bcd5441cd4 (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
  TQ_OBJECT
  public:
    SeveritySelectDialog(TQWidget *parent=0,const char *name=0);

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

  private:
    TQButtonGroup *mButtonGroup;
};

#endif