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.
pytde/sip/tdespell/ksconfig.sip

215 lines
4.3 KiB

//
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
// may also apply
// Generated by preSip
// module tdespell version KDE 3.5.3
// 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.
class KSpellConfig : TQWidget
{
%TypeHeaderCode
#include <ksconfig.h>
%End
public:
KSpellConfig (TQWidget* /TransferThis/ = 0, const char* = 0, KSpellConfig* = 0, bool = 1);
KSpellConfig (const KSpellConfig&);
%If ( KDE_3_2_0 - )
void fillDicts (TQComboBox*, TQStringList* = 0);
%End
void setIgnoreList (TQStringList);
%If ( KDE_3_1_0 - )
void setReplaceAllList (TQStringList);
%End
void setNoRootAffix (bool);
void setRunTogether (bool);
void setDictionary (const TQString);
void setDictFromList (bool);
void setEncoding (int);
void setClient (int);
bool noRootAffix () const;
bool runTogether () const;
const TQString dictionary () const;
bool dictFromList () const;
int encoding () const;
TQStringList ignoreList () const;
%If ( KDE_3_1_0 - )
TQStringList replaceAllList () const;
%End
int client () const;
bool writeGlobalSettings ();
%If ( KDE_3_2_0 - )
bool readGlobalSettings ();
%End
protected:
void fillInDialog ();
bool interpret (TQString&, TQString&, TQString&);
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