summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/severityselectdialog.h
blob: 778f2900d74a0a5a1a80a0891d0e707e0348dbf3 (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 *tqparent=0,const char *name=0);

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

  private:
    TQButtonGroup *mButtonGroup;
};

#endif