Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / apps / konqueror / settings / filetypes / newtypedlg.h
blob2e6c2c63d380dc3d34ce1da5d470baa766202a00
1 #ifndef _NEWTYPEDLG_H
2 #define _NEWTYPEDLG_H
5 #include <QtCore/QStringList>
7 #include <kdialog.h>
9 class KLineEdit;
10 class QComboBox;
12 /**
13 * A dialog for creating a new file type, with
14 * a combobox for choosing the group and a line-edit
15 * for entering the name of the file type
17 class NewTypeDialog : public KDialog
19 public:
20 explicit NewTypeDialog(const QStringList &groups, QWidget *parent = 0,
21 const char *name = 0);
22 QString group() const;
23 QString text() const;
24 private:
25 KLineEdit *typeEd;
26 QComboBox *groupCombo;
29 #endif