File indexing completed on 2024-04-14 03:46:42

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2014 Abhinav Gangwar <abhgang@gmail.com>
0004 //
0005 
0006 #ifndef MARBLE_COUNTRY_BY_FLAG
0007 #define MARBLE_COUNTRY_BY_FLAG
0008 
0009 // Qt
0010 #include <QObject>
0011 
0012 namespace Marble
0013 {
0014 class CountryByFlagPrivate;
0015 class MarbleWidget;
0016 
0017 class CountryByFlag : public QObject
0018 {
0019     Q_OBJECT;
0020 public:
0021     explicit CountryByFlag( MarbleWidget *marbleWidget );
0022     ~CountryByFlag() override;
0023 
0024 public Q_SLOTS:
0025     void initiateGame();
0026     void postQuestion( QObject* );
0027 
0028 Q_SIGNALS:
0029     void gameInitialized();
0030     
0031 private Q_SLOTS:
0032     //void displayResult( bool );
0033 
0034 private:
0035     CountryByFlagPrivate * const d;
0036 };
0037 
0038 }   // namespace Marble
0039 
0040 #endif   // MARBLE_COUNTRY_BY_FLAG