blob: 35ed2d40ec40cef0fe6dd964844c0a43d23a2805 (
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
25
26
27
28
|
#ifndef _NEWTYPEDLG_H
#define _NEWTYPEDLG_H
#include <tqstring.h>
#include <tqstringlist.h>
#include <kdialogbase.h>
class KLineEdit;
class TQComboBox;
/**
* A dialog for creating a new file type, with
* a combobox for choosing the group and a line-edit
* for entering the name of the file type
*/
class NewTypeDialog : public KDialogBase
{
public:
NewTypeDialog(TQStringList groups, TQWidget *parent = 0,
const char *name = 0);
TQString group() const;
TQString text() const;
private:
KLineEdit *typeEd;
TQComboBox *groupCombo;
};
#endif
|