// This file is generated by kconfig_compiler_kf5 from importerconfig.kcfg.
// All changes you do to this file will be lost.
#ifndef GWENVIEW_IMPORTERCONFIG_H
#define GWENVIEW_IMPORTERCONFIG_H

#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>

namespace Gwenview {

class ImporterConfig : public KConfigSkeleton
{
  public:

    static ImporterConfig *self();
    ~ImporterConfig();

    /**
      Set DestinationUrl
    */
    static
    void setDestinationUrl( const QUrl & v )
    {
      if (!self()->isImmutable( QStringLiteral( "DestinationUrl" ) ))
        self()->mDestinationUrl = v;
    }

    /**
      Get DestinationUrl
    */
    static
    QUrl destinationUrl()
    {
      return self()->mDestinationUrl;
    }

    /**
      Set AutoRename
    */
    static
    void setAutoRename( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "AutoRename" ) ))
        self()->mAutoRename = v;
    }

    /**
      Get AutoRename
    */
    static
    bool autoRename()
    {
      return self()->mAutoRename;
    }

    /**
      Set AutoRenameFormat
    */
    static
    void setAutoRenameFormat( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "AutoRenameFormat" ) ))
        self()->mAutoRenameFormat = v;
    }

    /**
      Get AutoRenameFormat
    */
    static
    QString autoRenameFormat()
    {
      return self()->mAutoRenameFormat;
    }

  protected:
    ImporterConfig();
    friend class ImporterConfigHelper;


    // General
    QUrl mDestinationUrl;
    bool mAutoRename;
    QString mAutoRenameFormat;

  private:
};

}

#endif

