| 1 | /* irregs.h |
| 2 | * |
| 3 | * This file is part of COLLATINUS. |
| 4 | * |
| 5 | * COLLATINUS is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * COLLATINVS is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with COLLATINUS; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | * |
| 19 | * © Yves Ouvrard, 2009 - 2016 |
| 20 | */ |
| 21 | |
| 22 | #ifndef IRREGS_H |
| 23 | #define IRREGS_H |
| 24 | |
| 25 | #include <QList> |
| 26 | #include <QString> |
| 27 | #include "lemmatiseur.h" |
| 28 | |
| 29 | class Lemmat; |
| 30 | class Lemme; |
| 31 | |
| 32 | class Irreg : public QObject |
| 33 | { |
| 34 | Q_OBJECT |
| 35 | |
| 36 | private: |
| 37 | bool _exclusif; |
| 38 | QString _gr; |
| 39 | QString _grq; |
| 40 | Lemmat* _lemmat; |
| 41 | Lemme* _lemme; |
| 42 | QList<int> _morphos; |
| 43 | |
| 44 | public: |
| 45 | Irreg(QString l, QObject* parent = 0); |
| 46 | bool exclusif(); |
| 47 | QString gr(); |
| 48 | QString grq(); |
| 49 | Lemme* lemme(); |
| 50 | QList<int> morphos(); |
| 51 | }; |
| 52 | |
| 53 | #endif |