// This file is generated by tdeconfig_compiler from kiten.kcfg.
// All changes you do to this file will be lost.
#ifndef CONFIG_H
#define CONFIG_H

#include <tdeconfigskeleton.h>
#include <kdebug.h>

class Config : public TDEConfigSkeleton
{
  public:

    static Config *self();
    ~Config();

    /**
      Set Edict dictionary files
    */
    static
    void setEdict__NAMES( const TQStringList & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "edict__NAMES" ) ))
        self()->mEdict__NAMES = v;
    }

    /**
      Get Edict dictionary files
    */
    static
    TQStringList edict__NAMES()
    {
      return self()->mEdict__NAMES;
    }

    /**
      Set Use preinstalled edict
    */
    static
    void setEdict__useGlobal( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "edict__useGlobal" ) ))
        self()->mEdict__useGlobal = v;
    }

    /**
      Get Use preinstalled edict
    */
    static
    bool edict__useGlobal()
    {
      return self()->mEdict__useGlobal;
    }

    /**
      Set Kanjidic dictionary files
    */
    static
    void setKanjidic__NAMES( const TQStringList & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "kanjidic__NAMES" ) ))
        self()->mKanjidic__NAMES = v;
    }

    /**
      Get Kanjidic dictionary files
    */
    static
    TQStringList kanjidic__NAMES()
    {
      return self()->mKanjidic__NAMES;
    }

    /**
      Set Use preinstalled kanjidic
    */
    static
    void setKanjidic__useGlobal( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "kanjidic__useGlobal" ) ))
        self()->mKanjidic__useGlobal = v;
    }

    /**
      Get Use preinstalled kanjidic
    */
    static
    bool kanjidic__useGlobal()
    {
      return self()->mKanjidic__useGlobal;
    }

    /**
      Set Match only whole English word
    */
    static
    void setWholeWord( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "wholeWord" ) ))
        self()->mWholeWord = v;
    }

    /**
      Get Match only whole English word
    */
    static
    bool wholeWord()
    {
      return self()->mWholeWord;
    }

    /**
      Set Case sensitive searches
    */
    static
    void setCaseSensitive( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "caseSensitive" ) ))
        self()->mCaseSensitive = v;
    }

    /**
      Get Case sensitive searches
    */
    static
    bool caseSensitive()
    {
      return self()->mCaseSensitive;
    }

    /**
      Set Recent used radicals
    */
    static
    void setHotlist( const TQStringList & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Hotlist" ) ))
        self()->mHotlist = v;
    }

    /**
      Get Recent used radicals
    */
    static
    TQStringList hotlist()
    {
      return self()->mHotlist;
    }

    /**
      Set Search by total strokes
    */
    static
    void setSearchByTotal( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SearchByTotal" ) ))
        self()->mSearchByTotal = v;
    }

    /**
      Get Search by total strokes
    */
    static
    bool searchByTotal()
    {
      return self()->mSearchByTotal;
    }

    /**
      Set Strokes
    */
    static
    void setStrokes( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Strokes" ) ))
        self()->mStrokes = v;
    }

    /**
      Get Strokes
    */
    static
    int strokes()
    {
      return self()->mStrokes;
    }

    /**
      Set Total Strokes
    */
    static
    void setTotalStrokes( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "TotalStrokes" ) ))
        self()->mTotalStrokes = v;
    }

    /**
      Get Total Strokes
    */
    static
    int totalStrokes()
    {
      return self()->mTotalStrokes;
    }

    /**
      Set Total Strokes Error Margin
    */
    static
    void setTotalStrokesErrorMargin( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "TotalStrokesErrorMargin" ) ))
        self()->mTotalStrokesErrorMargin = v;
    }

    /**
      Get Total Strokes Error Margin
    */
    static
    int totalStrokesErrorMargin()
    {
      return self()->mTotalStrokesErrorMargin;
    }

    /**
      Set font
    */
    static
    void setFont( const TQFont & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "font" ) ))
        self()->mFont = v;
    }

    /**
      Get font
    */
    static
    TQFont font()
    {
      return self()->mFont;
    }

    /**
      Set Guess On
    */
    static
    void setGuessOn( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "GuessOn" ) ))
        self()->mGuessOn = v;
    }

    /**
      Get Guess On
    */
    static
    int guessOn()
    {
      return self()->mGuessOn;
    }

    /**
      Set Quiz On
    */
    static
    void setQuizOn( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "QuizOn" ) ))
        self()->mQuizOn = v;
    }

    /**
      Get Quiz On
    */
    static
    int quizOn()
    {
      return self()->mQuizOn;
    }

    /**
      Set grade
    */
    static
    void setGrade( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "grade" ) ))
        self()->mGrade = v;
    }

    /**
      Get grade
    */
    static
    int grade()
    {
      return self()->mGrade;
    }

    /**
      Set lastFile
    */
    static
    void setLastFile( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "lastFile" ) ))
        self()->mLastFile = v;
    }

    /**
      Get lastFile
    */
    static
    TQString lastFile()
    {
      return self()->mLastFile;
    }

    /**
      Set Start "learn" on Kiten startup
    */
    static
    void setStartLearn( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "startLearn" ) ))
        self()->mStartLearn = v;
    }

    /**
      Get Start "learn" on Kiten startup
    */
    static
    bool startLearn()
    {
      return self()->mStartLearn;
    }

    /**
      Set com
    */
    static
    void setCom( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "com" ) ))
        self()->mCom = v;
    }

    /**
      Get com
    */
    static
    bool com()
    {
      return self()->mCom;
    }

    /**
      Set kanji
    */
    static
    void setKanji( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "kanji" ) ))
        self()->mKanji = v;
    }

    /**
      Get kanji
    */
    static
    bool kanji()
    {
      return self()->mKanji;
    }

    /**
      Set autosearch
    */
    static
    void setAutosearch( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "autosearch" ) ))
        self()->mAutosearch = v;
    }

    /**
      Get autosearch
    */
    static
    bool autosearch()
    {
      return self()->mAutosearch;
    }

    /**
      Set deinf
    */
    static
    void setDeinf( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "deinf" ) ))
        self()->mDeinf = v;
    }

    /**
      Get deinf
    */
    static
    bool deinf()
    {
      return self()->mDeinf;
    }

    static
    void writeConfig()
    {
      static_cast<TDEConfigSkeleton*>(self())->writeConfig();
    }
  protected:
    Config();
    static Config *mSelf;


    // edict
    TQStringList mEdict__NAMES;
    bool mEdict__useGlobal;

    // kanjidic
    TQStringList mKanjidic__NAMES;
    bool mKanjidic__useGlobal;

    // Searching Options
    bool mWholeWord;
    bool mCaseSensitive;

    // Radical Searching
    TQStringList mHotlist;
    bool mSearchByTotal;
    int mStrokes;
    int mTotalStrokes;
    int mTotalStrokesErrorMargin;

    // Font
    TQFont mFont;

    // Learn
    int mGuessOn;
    int mQuizOn;
    int mGrade;
    TQString mLastFile;
    bool mStartLearn;

    // app
    bool mCom;
    bool mKanji;
    bool mAutosearch;
    bool mDeinf;

  private:
};

#endif

