You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
215 lines
4.3 KiB
215 lines
4.3 KiB
14 years ago
|
//
|
||
|
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
|
||
|
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
|
||
|
// may also apply
|
||
|
|
||
|
|
||
|
// Generated by preSip
|
||
12 years ago
|
// module tdespell version KDE 3.5.3
|
||
14 years ago
|
|
||
|
|
||
|
// This software is free software; you can redistribute it and/or
|
||
|
// modify it under the terms of the GNU General Public License as
|
||
|
// published by the Free Software Foundation; either version 2 of
|
||
|
// the License, or (at your option) any later version.
|
||
|
//
|
||
|
// This software is distributed in the hope that it will be useful,
|
||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
// GNU General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU General Public
|
||
|
// License along with this library; see the file COPYING.
|
||
|
// If not, write to the Free Software Foundation, Inc.,
|
||
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
|
||
|
|
||
13 years ago
|
class KSpellConfig : TQWidget
|
||
14 years ago
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <ksconfig.h>
|
||
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
13 years ago
|
KSpellConfig (TQWidget* /TransferThis/ = 0, const char* = 0, KSpellConfig* = 0, bool = 1);
|
||
14 years ago
|
KSpellConfig (const KSpellConfig&);
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
void fillDicts (TQComboBox*, TQStringList* = 0);
|
||
14 years ago
|
%End
|
||
|
|
||
13 years ago
|
void setIgnoreList (TQStringList);
|
||
14 years ago
|
|
||
|
%If ( KDE_3_1_0 - )
|
||
13 years ago
|
void setReplaceAllList (TQStringList);
|
||
14 years ago
|
%End
|
||
|
|
||
|
void setNoRootAffix (bool);
|
||
|
void setRunTogether (bool);
|
||
13 years ago
|
void setDictionary (const TQString);
|
||
14 years ago
|
void setDictFromList (bool);
|
||
|
void setEncoding (int);
|
||
|
void setClient (int);
|
||
|
bool noRootAffix () const;
|
||
|
bool runTogether () const;
|
||
13 years ago
|
const TQString dictionary () const;
|
||
14 years ago
|
bool dictFromList () const;
|
||
|
int encoding () const;
|
||
13 years ago
|
TQStringList ignoreList () const;
|
||
14 years ago
|
|
||
|
%If ( KDE_3_1_0 - )
|
||
13 years ago
|
TQStringList replaceAllList () const;
|
||
14 years ago
|
%End
|
||
|
|
||
|
int client () const;
|
||
|
bool writeGlobalSettings ();
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
|
bool readGlobalSettings ();
|
||
|
%End
|
||
|
|
||
|
|
||
|
protected:
|
||
|
void fillInDialog ();
|
||
13 years ago
|
bool interpret (TQString&, TQString&, TQString&);
|
||
14 years ago
|
|
||
|
public slots:
|
||
|
void activateHelp ();
|
||
|
|
||
|
protected slots:
|
||
|
void sHelp ();
|
||
|
void sNoAff (bool);
|
||
|
void sRunTogether (bool);
|
||
|
void sDictionary (bool);
|
||
|
void sPathDictionary (bool);
|
||
|
void sSetDictionary (int);
|
||
|
void sChangeEncoding (int);
|
||
|
void sChangeClient (int);
|
||
|
|
||
|
protected:
|
||
|
|
||
|
signals:
|
||
|
void configChanged ();
|
||
|
|
||
|
protected:
|
||
|
|
||
|
%If ( - KDE_3_2_0 )
|
||
|
bool readGlobalSettings ();
|
||
|
%End
|
||
|
|
||
|
|
||
|
}; // class KSpellConfig
|
||
|
|
||
|
|
||
|
%ModuleCode
|
||
|
#include <ksconfig.h>
|
||
|
%End
|
||
|
|
||
|
%If ( KDE_3_1_4 - )
|
||
|
|
||
|
enum Encoding
|
||
|
{
|
||
|
KS_E_ASCII,
|
||
|
KS_E_LATIN1,
|
||
|
KS_E_LATIN2,
|
||
|
KS_E_LATIN3,
|
||
|
KS_E_LATIN4,
|
||
|
KS_E_LATIN5,
|
||
|
KS_E_LATIN7,
|
||
|
KS_E_LATIN8,
|
||
|
KS_E_LATIN9,
|
||
|
KS_E_LATIN13,
|
||
|
KS_E_LATIN15,
|
||
|
KS_E_UTF8,
|
||
|
KS_E_KOI8R,
|
||
|
KS_E_KOI8U,
|
||
|
KS_E_CP1251,
|
||
|
KS_E_CP1255
|
||
|
};
|
||
|
|
||
|
|
||
|
%If ( KDE_3_5_0 - )
|
||
|
|
||
|
enum KSpellClients
|
||
|
{
|
||
|
KS_CLIENT_ISPELL,
|
||
|
KS_CLIENT_ASPELL,
|
||
|
KS_CLIENT_HSPELL,
|
||
|
KS_CLIENT_ZEMBEREK
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
|
||
|
%End
|
||
|
|
||
|
|
||
|
%If ( KDE_3_1_2 - KDE_3_5_0 )
|
||
|
|
||
|
enum KSpellClients
|
||
|
{
|
||
|
KS_CLIENT_ISPELL,
|
||
|
KS_CLIENT_ASPELL,
|
||
|
KS_CLIENT_HSPELL
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
|
||
|
|
||
|
%If ( KDE_3_0_3 - KDE_3_1_4 )
|
||
|
|
||
|
enum Encoding
|
||
|
{
|
||
|
KS_E_ASCII,
|
||
|
KS_E_LATIN1,
|
||
|
KS_E_LATIN2,
|
||
|
KS_E_LATIN3,
|
||
|
KS_E_LATIN4,
|
||
|
KS_E_LATIN5,
|
||
|
KS_E_LATIN7,
|
||
|
KS_E_LATIN8,
|
||
|
KS_E_LATIN9,
|
||
|
KS_E_LATIN13,
|
||
|
KS_E_LATIN15,
|
||
|
KS_E_UTF8,
|
||
|
KS_E_KOI8R,
|
||
|
KS_E_KOI8U,
|
||
|
KS_E_CP1251
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
|
||
|
|
||
|
%If ( - KDE_3_1_2 )
|
||
|
|
||
|
enum KSpellClients
|
||
|
{
|
||
|
KS_CLIENT_ISPELL,
|
||
|
KS_CLIENT_ASPELL
|
||
|
};
|
||
|
|
||
|
|
||
|
%If ( - KDE_3_0_3 )
|
||
|
|
||
|
enum Encoding
|
||
|
{
|
||
|
KS_E_ASCII,
|
||
|
KS_E_LATIN1,
|
||
|
KS_E_LATIN2,
|
||
|
KS_E_LATIN3,
|
||
|
KS_E_LATIN4,
|
||
|
KS_E_LATIN5,
|
||
|
KS_E_LATIN7,
|
||
|
KS_E_LATIN8,
|
||
|
KS_E_LATIN9,
|
||
|
KS_E_LATIN15,
|
||
|
KS_E_UTF8,
|
||
|
KS_E_KOI8R,
|
||
|
KS_E_KOI8U,
|
||
|
KS_E_CP1251,
|
||
|
KS_E_LATIN13
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
%End
|