1/*******************************************************************
2 *
3 * Copyright 2006-2009 Dmitry Suzdalev <dimsuz@gmail.com>
4 *
5 * This file is part of the KDE project "KAtomic"
6 *
7 * KAtomic is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
11 *
12 * KAtomic is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with KAtomic; see the file COPYING. If not, write to
19 * the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 *
22 ********************************************************************/
23
24#ifndef CHOOSE_LEVEL_SET_DIALOG_H
25#define CHOOSE_LEVEL_SET_DIALOG_H
26
27#include <KDialog>
28
29#include "ui_levelsetwidget.h"
30
31class ChooseLevelSetDialog : public KDialog
32{
33 Q_OBJECT
34
35public:
36 ChooseLevelSetDialog(QWidget* parent=0);
37
38 void setCurrentLevelSet(const QString& levelSetName);
39 void loadData();
40
41signals:
42 void levelSetChanged(QString);
43
44protected Q_SLOTS:
45 void slotButtonClicked(int);
46 void newStuffDone(const KNS3::Entry::List& entries);
47
48private Q_SLOTS:
49 void updateApplyButton();
50
51private:
52 Ui::LevelSetWidget m_ui;
53 QString m_gameCurrentLevelSetName;
54};
55
56#endif
57