keduca
kcontrolheader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef KCONTROLHEADER_H
00019 #define KCONTROLHEADER_H
00020
00021 #include "../libkeduca/fileread.h"
00022 #include "klangcombo.h"
00023
00024 #include <kdialogbase.h>
00025 #include <kurlrequester.h>
00026
00027
00034 class KControlHeader : public KDialogBase {
00035 Q_OBJECT
00036
00037 public:
00038 KControlHeader(FileRead *keducaFile, QWidget *parent=0, const char *name=0);
00039 ~KControlHeader();
00040
00041 private:
00042
00043
00044
00046 FileRead *_keducaFile;
00048 QLineEdit *_headerTitle;
00050 KComboBox *_headerType;
00052 KComboBox *_headerCategory;
00054 KComboBox *_headerLevel;
00056 KLanguageCombo *_headerLang;
00058 KURLRequester *_headerPicture;
00060 QLineEdit *_headerName;
00062 QLineEdit *_headerEmail;
00064 QLineEdit *_headerWWW;
00066 QStringList _defaultCategories;
00067
00068
00069
00071 void init();
00073 void insertHeader();
00075 void loadCountryList(KLanguageCombo *combo);
00077 void configWrite();
00079 void configRead();
00080
00081 private slots:
00083 void slotOk();
00084 };
00085
00086 #endif