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

#include <tdeconfigskeleton.h>
#include <kdebug.h>

#include <tdeapplication.h>
class KonqListViewSettings : public TDEConfigSkeleton
{
  public:

    KonqListViewSettings( const TQString & Protocol );
    ~KonqListViewSettings();

    /**
      Set List is sorted by this item
    */
    void setSortBy( const TQString & v )
    {
      if (!isImmutable( TQString::fromLatin1( "SortBy" ) ))
        mSortBy = v;
    }

    /**
      Get List is sorted by this item
    */
    TQString sortBy() const
    {
      return mSortBy;
    }

    /**
      Set Sort Order
    */
    void setSortOrder( bool v )
    {
      if (!isImmutable( TQString::fromLatin1( "SortOrder" ) ))
        mSortOrder = v;
    }

    /**
      Get Sort Order
    */
    bool sortOrder() const
    {
      return mSortOrder;
    }

    /**
      Set Primary sort column name
    */
    void setPrimarySortCol( const TQString & v )
    {
      if (!isImmutable( TQString::fromLatin1( "PrimarySortCol" ) ))
        mPrimarySortCol = v;
    }

    /**
      Get Primary sort column name
    */
    TQString primarySortCol() const
    {
      return mPrimarySortCol;
    }

    /**
      Set Primary sort column offset
    */
    void setPrimarySortIndex( int v )
    {
      if (!isImmutable( TQString::fromLatin1( "PrimarySortIndex" ) ))
        mPrimarySortIndex = v;
    }

    /**
      Get Primary sort column offset
    */
    int primarySortIndex() const
    {
      return mPrimarySortIndex;
    }

    /**
      Set Primary sort column sorting order
    */
    void setPrimarySortOrder( bool v )
    {
      if (!isImmutable( TQString::fromLatin1( "PrimarySortOrder" ) ))
        mPrimarySortOrder = v;
    }

    /**
      Get Primary sort column sorting order
    */
    bool primarySortOrder() const
    {
      return mPrimarySortOrder;
    }

    /**
      Set Alternate sort column name
    */
    void setAlternateSortCol( const TQString & v )
    {
      if (!isImmutable( TQString::fromLatin1( "AlternateSortCol" ) ))
        mAlternateSortCol = v;
    }

    /**
      Get Alternate sort column name
    */
    TQString alternateSortCol() const
    {
      return mAlternateSortCol;
    }

    /**
      Set Alternate sort column offset
    */
    void setAlternateSortIndex( int v )
    {
      if (!isImmutable( TQString::fromLatin1( "AlternateSortIndex" ) ))
        mAlternateSortIndex = v;
    }

    /**
      Get Alternate sort column offset
    */
    int alternateSortIndex() const
    {
      return mAlternateSortIndex;
    }

    /**
      Set Alternate sort column sorting order
    */
    void setAlternateSortOrder( bool v )
    {
      if (!isImmutable( TQString::fromLatin1( "AlternateSortOrder" ) ))
        mAlternateSortOrder = v;
    }

    /**
      Get Alternate sort column sorting order
    */
    bool alternateSortOrder() const
    {
      return mAlternateSortOrder;
    }

    /**
      Set Width of the FileName Column
    */
    void setFileNameColumnWidth( int v )
    {
      if (!isImmutable( TQString::fromLatin1( "FileNameColumnWidth" ) ))
        mFileNameColumnWidth = v;
    }

    /**
      Get Width of the FileName Column
    */
    int fileNameColumnWidth() const
    {
      return mFileNameColumnWidth;
    }

    /**
      Set Columns
    */
    void setColumns( const TQStringList & v )
    {
      if (!isImmutable( TQString::fromLatin1( "Columns" ) ))
        mColumns = v;
    }

    /**
      Get Columns
    */
    TQStringList columns() const
    {
      return mColumns;
    }

    /**
      Set Widths of the Columns
    */
    void setColumnWidths( const TQValueList<int> & v )
    {
      if (!isImmutable( TQString::fromLatin1( "ColumnWidths" ) ))
        mColumnWidths = v;
    }

    /**
      Get Widths of the Columns
    */
    TQValueList<int> columnWidths() const
    {
      return mColumnWidths;
    }

  protected:
    TQString mParamProtocol;

    // ListView_$(Protocol)
    TQString mSortBy;
    bool mSortOrder;
    TQString mPrimarySortCol;
    int mPrimarySortIndex;
    bool mPrimarySortOrder;
    TQString mAlternateSortCol;
    int mAlternateSortIndex;
    bool mAlternateSortOrder;
    int mFileNameColumnWidth;
    TQStringList mColumns;
    TQValueList<int> mColumnWidths;

  private:
};

#endif

