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

#include "prefs.h"

#include <kstaticdeleter.h>

Prefs *Prefs::mSelf = 0;
static KStaticDeleter<Prefs> staticPrefsDeleter;

Prefs *Prefs::self()
{
  if ( !mSelf ) {
    staticPrefsDeleter.setObject( mSelf, new Prefs() );
    mSelf->readConfig();
  }

  return mSelf;
}

const char* const Prefs::EnumType::enumToString[] = { "Date", "Lesson", "Query", "Bad", "WordType", "Grade" };

Prefs::Prefs(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "kvoctrainrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "General" ) );

  TDEConfigSkeleton::ItemInt  *itemNumPreSetting;
  itemNumPreSetting = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "NumPreSetting" ), mNumPreSetting, 0 );
  addItem( itemNumPreSetting, TQString::fromLatin1( "NumPreSetting" ) );
  TDEConfigSkeleton::ItemInt  *itemNumLangSet;
  itemNumLangSet = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "NumLangSet" ), mNumLangSet, 0 );
  addItem( itemNumLangSet, TQString::fromLatin1( "NumLangSet" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoEntryApply;
  itemAutoEntryApply = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoEntryApply" ), mAutoEntryApply, false );
  addItem( itemAutoEntryApply, TQString::fromLatin1( "AutoEntryApply" ) );
  TDEConfigSkeleton::ItemBool  *itemSmartAppend;
  itemSmartAppend = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SmartAppend" ), mSmartAppend, false );
  addItem( itemSmartAppend, TQString::fromLatin1( "SmartAppend" ) );
  TDEConfigSkeleton::ItemBool  *itemUseCurrent;
  itemUseCurrent = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseCurrent" ), mUseCurrent, true );
  addItem( itemUseCurrent, TQString::fromLatin1( "UseCurrent" ) );
  TDEConfigSkeleton::ItemString  *itemSeparator;
  itemSeparator = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Separator" ), mSeparator, TQChar('\t') );
  addItem( itemSeparator, TQString::fromLatin1( "Separator" ) );
  TDEConfigSkeleton::ItemStringList  *itemPasteOrder;
  itemPasteOrder = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "PasteOrder" ), mPasteOrder );
  addItem( itemPasteOrder, TQString::fromLatin1( "PasteOrder" ) );
  TDEConfigSkeleton::ItemInt  *itemEntriesPerLesson;
  itemEntriesPerLesson = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "EntriesPerLesson" ), mEntriesPerLesson, 50 );
  addItem( itemEntriesPerLesson, TQString::fromLatin1( "EntriesPerLesson" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoSave;
  itemAutoSave = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoSave" ), mAutoSave, false );
  addItem( itemAutoSave, TQString::fromLatin1( "AutoSave" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoBackup;
  itemAutoBackup = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoBackup" ), mAutoBackup, false );
  addItem( itemAutoBackup, TQString::fromLatin1( "AutoBackup" ) );
  TDEConfigSkeleton::ItemInt  *itemBackupTime;
  itemBackupTime = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BackupTime" ), mBackupTime, 15 );
  addItem( itemBackupTime, TQString::fromLatin1( "BackupTime" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesHeaderResizeMode;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Automatic" );
    valuesHeaderResizeMode.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Fixed" );
    valuesHeaderResizeMode.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Percent" );
    valuesHeaderResizeMode.append( choice );
  }
  TDEConfigSkeleton::ItemEnum  *itemHeaderResizeMode;
  itemHeaderResizeMode = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "HeaderResizeMode" ), mHeaderResizeMode, valuesHeaderResizeMode, EnumHeaderResizeMode::Automatic );
  addItem( itemHeaderResizeMode, TQString::fromLatin1( "HeaderResizeMode" ) );

  setCurrentGroup( TQString::fromLatin1( "QueryProperties" ) );

  TDEConfigSkeleton::ItemBool  *itemBlock;
  itemBlock = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Block" ), mBlock, true );
  addItem( itemBlock, TQString::fromLatin1( "Block" ) );
  TDEConfigSkeleton::ItemBool  *itemExpire;
  itemExpire = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Expire" ), mExpire, true );
  addItem( itemExpire, TQString::fromLatin1( "Expire" ) );
  TDEConfigSkeleton::ItemBool  *itemAltLearn;
  itemAltLearn = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AltLearn" ), mAltLearn, false );
  addItem( itemAltLearn, TQString::fromLatin1( "AltLearn" ) );
  TDEConfigSkeleton::ItemBool  *itemSwapDirection;
  itemSwapDirection = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SwapDirection" ), mSwapDirection, false );
  addItem( itemSwapDirection, TQString::fromLatin1( "SwapDirection" ) );
  TDEConfigSkeleton::ItemBool  *itemShowCounter;
  itemShowCounter = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowCounter" ), mShowCounter, false );
  addItem( itemShowCounter, TQString::fromLatin1( "ShowCounter" ) );
  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesQueryTimeout;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "NoTimeout" );
    valuesQueryTimeout.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Show" );
    valuesQueryTimeout.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Continue" );
    valuesQueryTimeout.append( choice );
  }
  TDEConfigSkeleton::ItemEnum  *itemQueryTimeout;
  itemQueryTimeout = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "QueryTimeout" ), mQueryTimeout, valuesQueryTimeout, EnumQueryTimeout::NoTimeout );
  addItem( itemQueryTimeout, TQString::fromLatin1( "QueryTimeout" ) );
  TDEConfigSkeleton::ItemInt  *itemMaxTimePer;
  itemMaxTimePer = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxTimePer" ), mMaxTimePer, 20 );
  addItem( itemMaxTimePer, TQString::fromLatin1( "MaxTimePer" ) );
  TDEConfigSkeleton::ItemBool  *itemSuggestions;
  itemSuggestions = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Suggestions" ), mSuggestions, false );
  addItem( itemSuggestions, TQString::fromLatin1( "Suggestions" ) );
  TDEConfigSkeleton::ItemBool  *itemSplit;
  itemSplit = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Split" ), mSplit, false );
  addItem( itemSplit, TQString::fromLatin1( "Split" ) );
  TDEConfigSkeleton::ItemBool  *itemPeriods;
  itemPeriods = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Periods" ), mPeriods, true );
  addItem( itemPeriods, TQString::fromLatin1( "Periods" ) );
  TDEConfigSkeleton::ItemBool  *itemColons;
  itemColons = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Colons" ), mColons, false );
  addItem( itemColons, TQString::fromLatin1( "Colons" ) );
  TDEConfigSkeleton::ItemBool  *itemSemicolons;
  itemSemicolons = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Semicolons" ), mSemicolons, true );
  addItem( itemSemicolons, TQString::fromLatin1( "Semicolons" ) );
  TDEConfigSkeleton::ItemBool  *itemCommas;
  itemCommas = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Commas" ), mCommas, false );
  addItem( itemCommas, TQString::fromLatin1( "Commas" ) );
  TDEConfigSkeleton::ItemInt  *itemFields;
  itemFields = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Fields" ), mFields, 5 );
  addItem( itemFields, TQString::fromLatin1( "Fields" ) );
  TDEConfigSkeleton::ItemBool  *itemShowMore;
  itemShowMore = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowMore" ), mShowMore, true );
  addItem( itemShowMore, TQString::fromLatin1( "ShowMore" ) );
  TDEConfigSkeleton::ItemBool  *itemIKnow;
  itemIKnow = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "IKnow" ), mIKnow, true );
  addItem( itemIKnow, TQString::fromLatin1( "IKnow" ) );

  setCurrentGroup( TQString::fromLatin1( "Appearance" ) );

  TDEConfigSkeleton::ItemFont  *itemTableFont;
  itemTableFont = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "TableFont" ), mTableFont, TDEGlobalSettings::generalFont() );
  addItem( itemTableFont, TQString::fromLatin1( "TableFont" ) );
  TDEConfigSkeleton::ItemFont  *itemIPAFont;
  itemIPAFont = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "IPAFont" ), mIPAFont, TDEGlobalSettings::generalFont() );
  addItem( itemIPAFont, TQString::fromLatin1( "IPAFont" ) );
  TDEConfigSkeleton::ItemInt  *itemCurrentCol;
  itemCurrentCol = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CurrentCol" ), mCurrentCol, KV_COL_ORG );
  addItem( itemCurrentCol, TQString::fromLatin1( "CurrentCol" ) );
  TDEConfigSkeleton::ItemInt  *itemCurrentRow;
  itemCurrentRow = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CurrentRow" ), mCurrentRow, 0 );
  addItem( itemCurrentRow, TQString::fromLatin1( "CurrentRow" ) );
  TDEConfigSkeleton::ItemBool  *itemUseGradeCol;
  itemUseGradeCol = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseGradeCol" ), mUseGradeCol, true );
  addItem( itemUseGradeCol, TQString::fromLatin1( "UseGradeCol" ) );
  TDEConfigSkeleton::ItemColor  *itemGradeCol[8];
  itemGradeCol[0] = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "GradeCol0" ), mGradeCol[0], TQColor( 0, 0, 0 ) );
  addItem( itemGradeCol[0], TQString::fromLatin1( "GradeCol0" ) );
  itemGradeCol[1] = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "GradeCol1" ), mGradeCol[1], TQColor( 255, 0, 0 ) );
  addItem( itemGradeCol[1], TQString::fromLatin1( "GradeCol1" ) );
  itemGradeCol[2] = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "GradeCol2" ), mGradeCol[2], TQColor( 255, 0, 0 ) );
  addItem( itemGradeCol[2], TQString::fromLatin1( "GradeCol2" ) );
  itemGradeCol[3] = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "GradeCol3" ), mGradeCol[3], TQColor( 255, 0, 0 ) );
  addItem( itemGradeCol[3], TQString::fromLatin1( "GradeCol3" ) );
  itemGradeCol[4] = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "GradeCol4" ), mGradeCol[4], TQColor( 0, 255, 0 ) );
  addItem( itemGradeCol[4], TQString::fromLatin1( "GradeCol4" ) );
  itemGradeCol[5] = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "GradeCol5" ), mGradeCol[5], TQColor( 0, 255, 0 ) );
  addItem( itemGradeCol[5], TQString::fromLatin1( "GradeCol5" ) );
  itemGradeCol[6] = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "GradeCol6" ), mGradeCol[6], TQColor( 0, 255, 0 ) );
  addItem( itemGradeCol[6], TQString::fromLatin1( "GradeCol6" ) );
  itemGradeCol[7] = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "GradeCol7" ), mGradeCol[7], TQColor( 0, 255, 0 ) );
  addItem( itemGradeCol[7], TQString::fromLatin1( "GradeCol7" ) );

  setCurrentGroup( TQString::fromLatin1( "QueryManager" ) );

  TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesCompType;
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "DontCare" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "MoreEqThan" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "MoreThan" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Before" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Within" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "WorseThan" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "WorseEqThan" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "EqualTo" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "NotEqual" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "LessEqThan" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "LessThan" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "BetterThan" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "BetterEqThan" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Current" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "NotAssigned" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "NotQueried" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Auto_Time" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "Auto_Count" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "OneOf" );
    valuesCompType.append( choice );
  }
  {
    TDEConfigSkeleton::ItemEnum::Choice choice;
    choice.name = TQString::fromLatin1( "NotOneOf" );
    valuesCompType.append( choice );
  }
  TDEConfigSkeleton::ItemEnum  *itemCompType[6];
  itemCompType[0] = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "CompTypeDate" ), mCompType[0], valuesCompType, EnumCompType::DontCare );
  addItem( itemCompType[0], TQString::fromLatin1( "CompTypeDate" ) );
  itemCompType[1] = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "CompTypeLesson" ), mCompType[1], valuesCompType, EnumCompType::Current );
  addItem( itemCompType[1], TQString::fromLatin1( "CompTypeLesson" ) );
  itemCompType[2] = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "CompTypeQuery" ), mCompType[2], valuesCompType, EnumCompType::DontCare );
  addItem( itemCompType[2], TQString::fromLatin1( "CompTypeQuery" ) );
  itemCompType[3] = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "CompTypeBad" ), mCompType[3], valuesCompType, EnumCompType::DontCare );
  addItem( itemCompType[3], TQString::fromLatin1( "CompTypeBad" ) );
  itemCompType[4] = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "CompTypeWordType" ), mCompType[4], valuesCompType, EnumCompType::DontCare );
  addItem( itemCompType[4], TQString::fromLatin1( "CompTypeWordType" ) );
  itemCompType[5] = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "CompTypeGrade" ), mCompType[5], valuesCompType, EnumCompType::DontCare );
  addItem( itemCompType[5], TQString::fromLatin1( "CompTypeGrade" ) );
  TDEConfigSkeleton::ItemInt  *itemDateItem;
  itemDateItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DateItem" ), mDateItem, 0 );
  addItem( itemDateItem, TQString::fromLatin1( "DateItem" ) );
  TDEConfigSkeleton::ItemInt  *itemBadItem;
  itemBadItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BadItem" ), mBadItem, 0 );
  addItem( itemBadItem, TQString::fromLatin1( "BadItem" ) );
  TDEConfigSkeleton::ItemInt  *itemQueryItem;
  itemQueryItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "QueryItem" ), mQueryItem, 0 );
  addItem( itemQueryItem, TQString::fromLatin1( "QueryItem" ) );
  TDEConfigSkeleton::ItemInt  *itemGradeItem;
  itemGradeItem = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "GradeItem" ), mGradeItem, 0 );
  addItem( itemGradeItem, TQString::fromLatin1( "GradeItem" ) );
  TDEConfigSkeleton::ItemString  *itemTypeItem;
  itemTypeItem = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "TypeItem" ), mTypeItem, TQString::null );
  addItem( itemTypeItem, TQString::fromLatin1( "TypeItem" ) );
  TDEConfigSkeleton::ItemInt  *itemBlockItem[8];
  itemBlockItem[0] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockItem0" ), mBlockItem[0], 0 );
  addItem( itemBlockItem[0], TQString::fromLatin1( "BlockItem0" ) );
  itemBlockItem[1] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockItem1" ), mBlockItem[1], 86400 );
  addItem( itemBlockItem[1], TQString::fromLatin1( "BlockItem1" ) );
  itemBlockItem[2] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockItem2" ), mBlockItem[2], 172800 );
  addItem( itemBlockItem[2], TQString::fromLatin1( "BlockItem2" ) );
  itemBlockItem[3] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockItem3" ), mBlockItem[3], 345600 );
  addItem( itemBlockItem[3], TQString::fromLatin1( "BlockItem3" ) );
  itemBlockItem[4] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockItem4" ), mBlockItem[4], 604800 );
  addItem( itemBlockItem[4], TQString::fromLatin1( "BlockItem4" ) );
  itemBlockItem[5] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockItem5" ), mBlockItem[5], 1209600 );
  addItem( itemBlockItem[5], TQString::fromLatin1( "BlockItem5" ) );
  itemBlockItem[6] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockItem6" ), mBlockItem[6], 2592000 );
  addItem( itemBlockItem[6], TQString::fromLatin1( "BlockItem6" ) );
  itemBlockItem[7] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BlockItem7" ), mBlockItem[7], 5184000 );
  addItem( itemBlockItem[7], TQString::fromLatin1( "BlockItem7" ) );
  TDEConfigSkeleton::ItemInt  *itemExpireItem[8];
  itemExpireItem[0] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ExpireItem0" ), mExpireItem[0], 0 );
  addItem( itemExpireItem[0], TQString::fromLatin1( "ExpireItem0" ) );
  itemExpireItem[1] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ExpireItem1" ), mExpireItem[1], 172800 );
  addItem( itemExpireItem[1], TQString::fromLatin1( "ExpireItem1" ) );
  itemExpireItem[2] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ExpireItem2" ), mExpireItem[2], 345600 );
  addItem( itemExpireItem[2], TQString::fromLatin1( "ExpireItem2" ) );
  itemExpireItem[3] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ExpireItem3" ), mExpireItem[3], 604800 );
  addItem( itemExpireItem[3], TQString::fromLatin1( "ExpireItem3" ) );
  itemExpireItem[4] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ExpireItem4" ), mExpireItem[4], 1209600 );
  addItem( itemExpireItem[4], TQString::fromLatin1( "ExpireItem4" ) );
  itemExpireItem[5] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ExpireItem5" ), mExpireItem[5], 2592000 );
  addItem( itemExpireItem[5], TQString::fromLatin1( "ExpireItem5" ) );
  itemExpireItem[6] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ExpireItem6" ), mExpireItem[6], 5184000 );
  addItem( itemExpireItem[6], TQString::fromLatin1( "ExpireItem6" ) );
  itemExpireItem[7] = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ExpireItem7" ), mExpireItem[7], 10368000 );
  addItem( itemExpireItem[7], TQString::fromLatin1( "ExpireItem7" ) );

  setCurrentGroup( TQString::fromLatin1( "TDENewStuff" ) );

  TDEConfigSkeleton::ItemPath  *itemProvidersUrl;
  itemProvidersUrl = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "ProvidersUrl" ), mProvidersUrl, TQString::fromLatin1( "\"https://www.trinitydesktop.org/ocs/providers.xml\"" ) );
  addItem( itemProvidersUrl, TQString::fromLatin1( "ProvidersUrl" ) );
  TDEConfigSkeleton::ItemString  *itemInstallationCommand;
  itemInstallationCommand = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "InstallationCommand" ), mInstallationCommand, TQString::fromLatin1( "kvoctrain %f" ) );
  addItem( itemInstallationCommand, TQString::fromLatin1( "InstallationCommand" ) );
  TDEConfigSkeleton::ItemPath  *itemInstallPath;
  itemInstallPath = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "InstallPath" ), mInstallPath, TQString::fromLatin1( "Vocabularies" ) );
  addItem( itemInstallPath, TQString::fromLatin1( "InstallPath" ) );
}

Prefs::~Prefs()
{
  if ( mSelf == this )
    staticPrefsDeleter.setObject( mSelf, 0, false );
}

