File indexing completed on 2023-10-03 03:30:44

0001 /*
0002     SPDX-FileCopyrightText: 2006 Mauricio Piacentini <mauricio@tabuleiro.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef KMAHJONGGTILESETSELECTOR_H
0008 #define KMAHJONGGTILESETSELECTOR_H
0009 
0010 // Qt
0011 #include <QMap>
0012 
0013 // KF
0014 #include <KConfigSkeleton>
0015 
0016 // LibKMahjongg
0017 #include "ui_kmahjonggtilesetselector.h"
0018 
0019 class KMahjonggTileset;
0020 
0021 class KMahjonggTilesetSelector : public QWidget, public Ui::KMahjonggTilesetSelector
0022 {
0023 Q_OBJECT
0024   public:
0025     explicit KMahjonggTilesetSelector( QWidget* parent, KConfigSkeleton * aconfig );
0026     ~KMahjonggTilesetSelector() override;
0027     void setupData(KConfigSkeleton * aconfig);
0028 
0029     QMap<QString, KMahjonggTileset *> tilesetMap;
0030   public Q_SLOTS:
0031     void tilesetChanged();
0032 };
0033 
0034 #endif // KMAHJONGGTILESETSELECTOR_H