4
* Copyright (C) 2006 Remko Troncon
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
11
* You can also redistribute and/or modify this program under the
12
* terms of the Psi License, specified in the accompanied COPYING
13
* file, as published by the Psi Project; either dated January 1st,
14
* 2005, or (at your option) any later version.
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* You should have received a copy of the GNU General Public License
22
* along with this library; if not, write to the Free Software
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27
#ifndef ASPELLCHECKER_H
28
#define ASPELLCHECKER_H
33
#include "spellchecker.h"
38
class ASpellChecker : public SpellChecker
43
virtual QList<QString> suggestions(const QString&);
44
virtual bool isCorrect(const QString&);
45
virtual bool add(const QString&);
46
virtual bool available() const;
47
virtual bool writable() const;
50
AspellConfig* config_;
51
AspellSpeller* speller_;