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

#include "konq_listviewsettings.h"

KonqListViewSettings::KonqListViewSettings(  const TQString & Protocol )
  : TDEConfigSkeleton( TQString::fromLatin1( "konquerorrc" ) )
  , mParamProtocol(Protocol)
{
  setCurrentGroup( TQString::fromLatin1( "ListView_%1" ).arg( mParamProtocol ) );

  TDEConfigSkeleton::ItemString  *itemSortBy;
  itemSortBy = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "SortBy" ), mSortBy, TQString::fromLatin1( "FileName" ) );
  addItem( itemSortBy, TQString::fromLatin1( "SortBy" ) );
  TDEConfigSkeleton::ItemBool  *itemSortOrder;
  itemSortOrder = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortOrder" ), mSortOrder, true );
  addItem( itemSortOrder, TQString::fromLatin1( "SortOrder" ) );
  TDEConfigSkeleton::ItemString  *itemPrimarySortCol;
  itemPrimarySortCol = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "PrimarySortCol" ), mPrimarySortCol, TQString::fromLatin1( "TBD" ) );
  addItem( itemPrimarySortCol, TQString::fromLatin1( "PrimarySortCol" ) );
  TDEConfigSkeleton::ItemInt  *itemPrimarySortIndex;
  itemPrimarySortIndex = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "PrimarySortIndex" ), mPrimarySortIndex, -1 );
  addItem( itemPrimarySortIndex, TQString::fromLatin1( "PrimarySortIndex" ) );
  TDEConfigSkeleton::ItemBool  *itemPrimarySortOrder;
  itemPrimarySortOrder = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PrimarySortOrder" ), mPrimarySortOrder, true );
  addItem( itemPrimarySortOrder, TQString::fromLatin1( "PrimarySortOrder" ) );
  TDEConfigSkeleton::ItemString  *itemAlternateSortCol;
  itemAlternateSortCol = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "AlternateSortCol" ), mAlternateSortCol, TQString::fromLatin1( "TBD" ) );
  addItem( itemAlternateSortCol, TQString::fromLatin1( "AlternateSortCol" ) );
  TDEConfigSkeleton::ItemInt  *itemAlternateSortIndex;
  itemAlternateSortIndex = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "AlternateSortIndex" ), mAlternateSortIndex, -1 );
  addItem( itemAlternateSortIndex, TQString::fromLatin1( "AlternateSortIndex" ) );
  TDEConfigSkeleton::ItemBool  *itemAlternateSortOrder;
  itemAlternateSortOrder = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AlternateSortOrder" ), mAlternateSortOrder, true );
  addItem( itemAlternateSortOrder, TQString::fromLatin1( "AlternateSortOrder" ) );
  TDEConfigSkeleton::ItemInt  *itemFileNameColumnWidth;
  itemFileNameColumnWidth = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "FileNameColumnWidth" ), mFileNameColumnWidth, 25 * TDEApplication::kApplication()->fontMetrics().width( "m" ) );
  addItem( itemFileNameColumnWidth, TQString::fromLatin1( "FileNameColumnWidth" ) );
  TDEConfigSkeleton::ItemStringList  *itemColumns;
  itemColumns = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "Columns" ), mColumns );
  addItem( itemColumns, TQString::fromLatin1( "Columns" ) );
  TQValueList<int> defaultColumnWidths;

  TDEConfigSkeleton::ItemIntList  *itemColumnWidths;
  itemColumnWidths = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "ColumnWidths" ), mColumnWidths, defaultColumnWidths );
  addItem( itemColumnWidths, TQString::fromLatin1( "ColumnWidths" ) );
}

KonqListViewSettings::~KonqListViewSettings()
{
}

