You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kcontrol/filetypes/newtypedlg.h

29 lines
551 B

#ifndef _NEWTYPEDLG_H
#define _NEWTYPEDLG_H
#include <qstring.h>
#include <qstringlist.h>
#include <kdialogbase.h>
class KLineEdit;
class QComboBox;
/**
* 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(QStringList groups, QWidget *parent = 0,
const char *name = 0);
QString group() const;
QString text() const;
private:
KLineEdit *typeEd;
QComboBox *groupCombo;
};
#endif