File indexing completed on 2022-09-27 13:20:30

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