// This file is generated by kconfig_compiler from kbanking.kcfg.
// All changes you do to this file will be lost.
#ifndef KBANKINGSETTINGS_H
#define KBANKINGSETTINGS_H

#include <kconfigskeleton.h>
#include <kdebug.h>

class KBankingSettings : public KConfigSkeleton
{
  public:

    static KBankingSettings *self();
    ~KBankingSettings();

    /**
      Set Width of the flicker field for optical tan generation (chipTan/sm@rtTan).
    */
    static
    void setWidth( int v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "width" ) ))
        self()->mWidth = v;
    }

    /**
      Get Width of the flicker field for optical tan generation (chipTan/sm@rtTan).
    */
    static
    int width()
    {
      return self()->mWidth;
    }

    /**
      Set Clock length of optical tan flickering in ms.
    */
    static
    void setClocksetting( int v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "clocksetting" ) ))
        self()->mClocksetting = v;
    }

    /**
      Get Clock length of optical tan flickering in ms.
    */
    static
    int clocksetting()
    {
      return self()->mClocksetting;
    }

  protected:
    KBankingSettings();
    friend class KBankingSettingsHelper;


    // opticalTan
    int mWidth;
    int mClocksetting;

  private:
};

#endif

