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

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

namespace KMobileTools {

class KDE_EXPORT MainConfig : public KConfigSkeleton
{
  public:

    static MainConfig *self();
    ~MainConfig();

    /**
      Set devicelist
    */
    static
    void setDevicelist( const QStringList & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "devicelist" ) ))
        self()->mDevicelist = v;
    }

    /**
      Get devicelist
    */
    static
    QStringList devicelist()
    {
      return self()->mDevicelist;
    }

    /**
      Set configversion
    */
    static
    void setConfigversion( uint v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "configversion" ) ))
        self()->mConfigversion = v;
    }

    /**
      Get configversion
    */
    static
    uint configversion()
    {
      return self()->mConfigversion;
    }

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


    // kmobiletools
    QStringList mDevicelist;
    uint mConfigversion;

  private:
};

}

#endif

