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

#include "contactconfig.h"

ContactConfig::ContactConfig( QObject *parent )
  : KConfigSkeleton( QStringLiteral( "kalendarcontactrc" ) )
{
  setParent(parent);
  KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast<KConfigCompilerSignallingItem::NotifyFunction>(&ContactConfig::itemChanged);

  setCurrentGroup( QStringLiteral( "Editor" ) );

  KConfigCompilerSignallingItem  *itemLastUsedAddressBookCollection;
  KConfigSkeleton::ItemInt  *innerItemLastUsedAddressBookCollection;
  innerItemLastUsedAddressBookCollection = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "lastUsedAddressBookCollection" ), mLastUsedAddressBookCollection, -1 );
  itemLastUsedAddressBookCollection = new KConfigCompilerSignallingItem(innerItemLastUsedAddressBookCollection, this, notifyFunction, signalLastUsedAddressBookCollectionChanged);
  addItem( itemLastUsedAddressBookCollection, QStringLiteral( "lastUsedAddressBookCollection" ) );
}

int ContactConfig::defaultLastUsedAddressBookCollectionValue_helper() const
{

  return -1;
}

ContactConfig::~ContactConfig()
{
}


void ContactConfig::itemChanged(quint64 flags) {

  if ( flags & signalLastUsedAddressBookCollectionChanged ) {
    Q_EMIT lastUsedAddressBookCollectionChanged();
  }
}

#include "contactconfig.moc"

