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

info_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_INFO_DIALOG_INC_GUARD_H
00022 #define EASYSOK_INFO_DIALOG_INC_GUARD_H
00023 
00024 
00025 #include <vector>
00026 
00027 #include <kdialogbase.h>
00028 
00029 
00030 class Collection;
00031 class KURLLabel;
00032 class Level;
00033 class QLabel;
00034 
00035 
00036 
00037 
00045 class InfoDialog : public KDialogBase
00046 {
00047     Q_OBJECT
00048 
00049 public:
00050 
00060     InfoDialog(Level const & level, bool temporary, QWidget * parent = 0, char const * name = 0);
00061 
00062 
00072     InfoDialog(Collection const & collection, bool temporary, QWidget * parent = 0, char const * name = 0);
00073 
00074 
00075 private slots:
00076 
00083     void emailClicked(const QString & url);
00084 
00085 
00092     void homepageClicked(const QString & url);
00093 
00094 
00095 private:
00096 
00110     void setupDialog(QStringList const & authors, QStringList const & emails, QString const & homepage,
00111                      QString const & copyright, QString const & name, QString const & info,
00112                      int difficulty, QString const & temporary);
00113 };
00114 
00115 
00116 #endif

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