00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef EASYSOK_LEVEL_PROPERTIES_DIALOG_INC_GUARD_H
00022 #define EASYSOK_LEVEL_PROPERTIES_DIALOG_INC_GUARD_H
00023
00024
00025 #include <kdialogbase.h>
00026
00027 #include <qstring.h>
00028
00029
00030 class KLineEdit;
00031 class Level;
00032 class QComboBox;
00033 class QMultiLineEdit;
00034
00035
00036
00037
00045 class LevelPropertiesDialog : public KDialogBase
00046 {
00047 Q_OBJECT
00048
00049 public:
00050
00059 LevelPropertiesDialog(Level const & level, QWidget * parent = 0, const char * name = 0);
00060
00061
00066 QString author() const;
00067
00068
00073 QString homepage() const;
00074
00075
00080 QString copyright() const;
00081
00082
00087 QString name() const;
00088
00089
00094 QString info() const;
00095
00096
00101 int difficulty() const;
00102
00103
00104 private:
00105
00110 KLineEdit * m_author;
00111
00112
00117 KLineEdit * m_hompage;
00118
00119
00124 KLineEdit * m_copyright;
00125
00126
00131 KLineEdit * m_name;
00132
00133
00138 QMultiLineEdit * m_info;
00139
00140
00145 QComboBox * m_difficulty;
00146 };
00147
00148
00149 #endif