// This file is generated by kconfig_compiler from automationconfig.kcfg.
// All changes you do to this file will be lost.

#include "automationconfig.h"

AutomationConfig::AutomationConfig(  KSharedConfig::Ptr config  )
  : KConfigSkeleton( config )
{
  setCurrentGroup( QLatin1String( "Scheduling" ) );

  KConfigSkeleton::ItemString  *itemName;
  itemName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Name" ), mName );
  addItem( itemName, QLatin1String( "Name" ) );
  KConfigSkeleton::ItemInt  *itemPeriodicity;
  itemPeriodicity = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Periodicity" ), mPeriodicity, 1 );
  addItem( itemPeriodicity, QLatin1String( "Periodicity" ) );
  KConfigSkeleton::ItemString  *itemHour;
  itemHour = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Hour" ), mHour, QLatin1String( "00:00" ) );
  addItem( itemHour, QLatin1String( "Hour" ) );

  setCurrentGroup( QLatin1String( "SearchOptions" ) );

  KConfigSkeleton::ItemUrl  *itemUrlToCheck;
  itemUrlToCheck = new KConfigSkeleton::ItemUrl( currentGroup(), QLatin1String( "UrlToCheck" ), mUrlToCheck );
  addItem( itemUrlToCheck, QLatin1String( "UrlToCheck" ) );
  KConfigSkeleton::ItemUrl  *itemDocumentRoot;
  itemDocumentRoot = new KConfigSkeleton::ItemUrl( currentGroup(), QLatin1String( "DocumentRoot" ), mDocumentRoot );
  addItem( itemDocumentRoot, QLatin1String( "DocumentRoot" ) );
  KConfigSkeleton::ItemInt  *itemDepth;
  itemDepth = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Depth" ), mDepth, -1 );
  addItem( itemDepth, QLatin1String( "Depth" ) );
  KConfigSkeleton::ItemBool  *itemCheckParentFolders;
  itemCheckParentFolders = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "CheckParentFolders" ), mCheckParentFolders, true );
  addItem( itemCheckParentFolders, QLatin1String( "CheckParentFolders" ) );
  KConfigSkeleton::ItemBool  *itemCheckExternalLinks;
  itemCheckExternalLinks = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "CheckExternalLinks" ), mCheckExternalLinks, true );
  addItem( itemCheckExternalLinks, QLatin1String( "CheckExternalLinks" ) );
  KConfigSkeleton::ItemString  *itemRegularExpression;
  itemRegularExpression = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "RegularExpression" ), mRegularExpression );
  addItem( itemRegularExpression, QLatin1String( "RegularExpression" ) );

  setCurrentGroup( QLatin1String( "Results" ) );

  KConfigSkeleton::ItemBool  *itemBrokenLinksOnly;
  itemBrokenLinksOnly = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "BrokenLinksOnly" ), mBrokenLinksOnly, true );
  addItem( itemBrokenLinksOnly, QLatin1String( "BrokenLinksOnly" ) );
  KConfigSkeleton::ItemUrl  *itemResultsFilePath;
  itemResultsFilePath = new KConfigSkeleton::ItemUrl( currentGroup(), QLatin1String( "ResultsFilePath" ), mResultsFilePath );
  addItem( itemResultsFilePath, QLatin1String( "ResultsFilePath" ) );
  KConfigSkeleton::ItemString  *itemMailRecipient;
  itemMailRecipient = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "MailRecipient" ), mMailRecipient );
  addItem( itemMailRecipient, QLatin1String( "MailRecipient" ) );
}

AutomationConfig::~AutomationConfig()
{
}

