File indexing completed on 2024-04-21 03:41:52
0001 /*************************************************************************** 0002 * Copyright (C) 2004-2007 by Albert Astals Cid * 0003 * aacid@kde.org * 0004 * * 0005 * This program is free software; you can redistribute it and/or modify * 0006 * it under the terms of the GNU General Public License as published by * 0007 * the Free Software Foundation; either version 2 of the License, or * 0008 * (at your option) any later version. * 0009 ***************************************************************************/ 0010 0011 #ifndef DIVISIONFLAGASKER_H 0012 #define DIVISIONFLAGASKER_H 0013 0014 #include "boxasker.h" 0015 0016 class divisionFlagAsker : public boxAsker 0017 { 0018 public: 0019 divisionFlagAsker(QWidget *parent, KGmap *m, QWidget *w, uint count); 0020 0021 protected: 0022 bool nextBoxAskerQuestionHook(const division *div, int i, bool isAnswer) override; 0023 void setAnswerHook(int userSays) override; 0024 QString getQuestionHook() const override; 0025 division::askMode askMode() const override { return division::eFlag; } 0026 }; 0027 0028 #endif