Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

collection_properties_dialog.h

00001 /*
00002  *   EasySok --- A(nother) sokoban game for KDE.
00003  *
00004  *   Copyright (C) 2001 by Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
00005  *
00006  *   This program is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License version 2 as
00008  *   published by the Free Software Foundation.
00009  *
00010  *   This program is distributed in the hope that it will be useful,
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *   GNU General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU General Public License
00016  *   along with this program; if not, write to the Free Software
00017  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018  */
00019 
00020 
00021 #ifndef EASYSOK_COLLECTION_PROPERTIES_DIALOG_INC_GUARD_H
00022 #define EASYSOK_COLLECTION_PROPERTIES_DIALOG_INC_GUARD_H
00023 
00024 
00025 #include <kdialogbase.h>
00026 
00027 #include <qstring.h>
00028 
00029 
00030 class KLineEdit;
00031 class Collection;
00032 class QComboBox;
00033 class QMultiLineEdit;
00034 
00035 
00036 
00037 
00045 class CollectionPropertiesDialog : public KDialogBase
00046 {
00047     Q_OBJECT
00048 
00049 public:
00050 
00059     CollectionPropertiesDialog(Collection const & collection, 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 
00130     KLineEdit * m_name;
00131 
00132 
00137     QMultiLineEdit * m_info;
00138 
00139 
00144     QComboBox * m_difficulty;
00145 };
00146 
00147 
00148 #endif

Generated at Sun Jan 6 18:49:09 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001