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

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

class KpdfSettings : public TDEConfigSkeleton
{
  public:
    class EnumRenderMode
    {
      public:
      enum type { Inverted, Paper, pad_paper_color, Recolor, pad_fg_color, pad_bg_color, BlackWhite, COUNT };
    };
    class EnumMemoryLevel
    {
      public:
      enum type { Low, Normal, Aggressive, pad_description, COUNT };
    };
    class EnumSlidesTransition
    {
      public:
      enum type { BlindsHorizontal, BlindsVertical, BoxIn, BoxOut, Dissolve, GlitterDown, GlitterRight, GlitterRightDown, Random, Replace, SplitHorizontalIn, SplitHorizontalOut, SplitVerticalIn, SplitVerticalOut, WipeDown, WipeRight, WipeLeft, WipeUp, COUNT };
    };
    class EnumSlidesCursor
    {
      public:
      enum type { HiddenDelay, Visible, Hidden, COUNT };
    };

    static KpdfSettings *self();
    ~KpdfSettings();

    /**
      Set PaperColor
    */
    static
    void setPaperColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "PaperColor" ) ))
        self()->mPaperColor = v;
    }

    /**
      Get PaperColor
    */
    static
    TQColor paperColor()
    {
      return self()->mPaperColor;
    }

    /**
      Set HighlightImages
    */
    static
    void setHighlightImages( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "HighlightImages" ) ))
        self()->mHighlightImages = v;
    }

    /**
      Get HighlightImages
    */
    static
    bool highlightImages()
    {
      return self()->mHighlightImages;
    }

    /**
      Set HighlightLinks
    */
    static
    void setHighlightLinks( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "HighlightLinks" ) ))
        self()->mHighlightLinks = v;
    }

    /**
      Get HighlightLinks
    */
    static
    bool highlightLinks()
    {
      return self()->mHighlightLinks;
    }

    /**
      Set ChangeColors
    */
    static
    void setChangeColors( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ChangeColors" ) ))
        self()->mChangeColors = v;
    }

    /**
      Get ChangeColors
    */
    static
    bool changeColors()
    {
      return self()->mChangeColors;
    }

    /**
      Set RenderMode
    */
    static
    void setRenderMode( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RenderMode" ) ))
        self()->mRenderMode = v;
    }

    /**
      Get RenderMode
    */
    static
    int renderMode()
    {
      return self()->mRenderMode;
    }

    /**
      Set RecolorForeground
    */
    static
    void setRecolorForeground( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RecolorForeground" ) ))
        self()->mRecolorForeground = v;
    }

    /**
      Get RecolorForeground
    */
    static
    TQColor recolorForeground()
    {
      return self()->mRecolorForeground;
    }

    /**
      Set RecolorBackground
    */
    static
    void setRecolorBackground( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RecolorBackground" ) ))
        self()->mRecolorBackground = v;
    }

    /**
      Get RecolorBackground
    */
    static
    TQColor recolorBackground()
    {
      return self()->mRecolorBackground;
    }

    /**
      Set BWThreshold
    */
    static
    void setBWThreshold( uint v )
    {
      if (v < 2)
      {
        kdDebug() << "setBWThreshold: value " << v << " is less than the minimum value of 2" << endl;
        v = 2;
      }

      if (v > 253)
      {
        kdDebug() << "setBWThreshold: value " << v << " is greater than the maximum value of 253" << endl;
        v = 253;
      }

      if (!self()->isImmutable( TQString::fromLatin1( "BWThreshold" ) ))
        self()->mBWThreshold = v;
    }

    /**
      Get BWThreshold
    */
    static
    uint bWThreshold()
    {
      return self()->mBWThreshold;
    }

    /**
      Set BWContrast
    */
    static
    void setBWContrast( uint v )
    {
      if (v < 2)
      {
        kdDebug() << "setBWContrast: value " << v << " is less than the minimum value of 2" << endl;
        v = 2;
      }

      if (v > 6)
      {
        kdDebug() << "setBWContrast: value " << v << " is greater than the maximum value of 6" << endl;
        v = 6;
      }

      if (!self()->isImmutable( TQString::fromLatin1( "BWContrast" ) ))
        self()->mBWContrast = v;
    }

    /**
      Get BWContrast
    */
    static
    uint bWContrast()
    {
      return self()->mBWContrast;
    }

    /**
      Set ShowOSD
    */
    static
    void setShowOSD( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowOSD" ) ))
        self()->mShowOSD = v;
    }

    /**
      Get ShowOSD
    */
    static
    bool showOSD()
    {
      return self()->mShowOSD;
    }

    /**
      Set WatchFile
    */
    static
    void setWatchFile( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "WatchFile" ) ))
        self()->mWatchFile = v;
    }

    /**
      Get WatchFile
    */
    static
    bool watchFile()
    {
      return self()->mWatchFile;
    }

    /**
      Set OpenInExistingKPDF
    */
    static
    void setOpenInExistingKPDF( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "OpenInExistingKPDF" ) ))
        self()->mOpenInExistingKPDF = v;
    }

    /**
      Get OpenInExistingKPDF
    */
    static
    bool openInExistingKPDF()
    {
      return self()->mOpenInExistingKPDF;
    }

    /**
      Set TabsHoverCloseButton
    */
    static
    void setTabsHoverCloseButton( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "TabsHoverCloseButton" ) ))
        self()->mTabsHoverCloseButton = v;
    }

    /**
      Get TabsHoverCloseButton
    */
    static
    bool tabsHoverCloseButton()
    {
      return self()->mTabsHoverCloseButton;
    }

    /**
      Set ObeyDRM
    */
    static
    void setObeyDRM( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ObeyDRM" ) ))
        self()->mObeyDRM = v;
    }

    /**
      Get ObeyDRM
    */
    static
    bool obeyDRM()
    {
      return self()->mObeyDRM;
    }

    /**
      Set RetainDocumentData
    */
    static
    void setRetainDocumentData( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RetainDocumentData" ) ))
        self()->mRetainDocumentData = v;
    }

    /**
      Get RetainDocumentData
    */
    static
    bool retainDocumentData()
    {
      return self()->mRetainDocumentData;
    }

    /**
      Set ShowLeftPanel
    */
    static
    void setShowLeftPanel( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowLeftPanel" ) ))
        self()->mShowLeftPanel = v;
    }

    /**
      Get ShowLeftPanel
    */
    static
    bool showLeftPanel()
    {
      return self()->mShowLeftPanel;
    }

    /**
      Set ShowSearchBar
    */
    static
    void setShowSearchBar( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowSearchBar" ) ))
        self()->mShowSearchBar = v;
    }

    /**
      Get ShowSearchBar
    */
    static
    bool showSearchBar()
    {
      return self()->mShowSearchBar;
    }

    /**
      Set SplitterSizes
    */
    static
    void setSplitterSizes( const TQValueList<int> & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SplitterSizes" ) ))
        self()->mSplitterSizes = v;
    }

    /**
      Get SplitterSizes
    */
    static
    TQValueList<int> splitterSizes()
    {
      return self()->mSplitterSizes;
    }

    /**
      Set ShowScrollBars
    */
    static
    void setShowScrollBars( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowScrollBars" ) ))
        self()->mShowScrollBars = v;
    }

    /**
      Get ShowScrollBars
    */
    static
    bool showScrollBars()
    {
      return self()->mShowScrollBars;
    }

    /**
      Set ViewContinuous
    */
    static
    void setViewContinuous( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ViewContinuous" ) ))
        self()->mViewContinuous = v;
    }

    /**
      Get ViewContinuous
    */
    static
    bool viewContinuous()
    {
      return self()->mViewContinuous;
    }

    /**
      Set ViewCoverPage
    */
    static
    void setViewCoverPage( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ViewCoverPage" ) ))
        self()->mViewCoverPage = v;
    }

    /**
      Get ViewCoverPage
    */
    static
    bool viewCoverPage()
    {
      return self()->mViewCoverPage;
    }

    /**
      Set ViewColumns
    */
    static
    void setViewColumns( uint v )
    {
      if (v < 1)
      {
        kdDebug() << "setViewColumns: value " << v << " is less than the minimum value of 1" << endl;
        v = 1;
      }

      if (v > 8)
      {
        kdDebug() << "setViewColumns: value " << v << " is greater than the maximum value of 8" << endl;
        v = 8;
      }

      if (!self()->isImmutable( TQString::fromLatin1( "ViewColumns" ) ))
        self()->mViewColumns = v;
    }

    /**
      Get ViewColumns
    */
    static
    uint viewColumns()
    {
      return self()->mViewColumns;
    }

    /**
      Set ZoomMode
    */
    static
    void setZoomMode( uint v )
    {

      if (v > 2)
      {
        kdDebug() << "setZoomMode: value " << v << " is greater than the maximum value of 2" << endl;
        v = 2;
      }

      if (!self()->isImmutable( TQString::fromLatin1( "ZoomMode" ) ))
        self()->mZoomMode = v;
    }

    /**
      Get ZoomMode
    */
    static
    uint zoomMode()
    {
      return self()->mZoomMode;
    }

    /**
      Set ZoomFactor
    */
    static
    void setZoomFactor( double v )
    {
      if (v < 0.1)
      {
        kdDebug() << "setZoomFactor: value " << v << " is less than the minimum value of 0.1" << endl;
        v = 0.1;
      }

      if (v > 4.0)
      {
        kdDebug() << "setZoomFactor: value " << v << " is greater than the maximum value of 4.0" << endl;
        v = 4.0;
      }

      if (!self()->isImmutable( TQString::fromLatin1( "ZoomFactor" ) ))
        self()->mZoomFactor = v;
    }

    /**
      Get ZoomFactor
    */
    static
    double zoomFactor()
    {
      return self()->mZoomFactor;
    }

    /**
      Set SyncThumbnailsViewport
    */
    static
    void setSyncThumbnailsViewport( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SyncThumbnailsViewport" ) ))
        self()->mSyncThumbnailsViewport = v;
    }

    /**
      Get SyncThumbnailsViewport
    */
    static
    bool syncThumbnailsViewport()
    {
      return self()->mSyncThumbnailsViewport;
    }

    /**
      Set MemoryLevel
    */
    static
    void setMemoryLevel( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "MemoryLevel" ) ))
        self()->mMemoryLevel = v;
    }

    /**
      Get MemoryLevel
    */
    static
    int memoryLevel()
    {
      return self()->mMemoryLevel;
    }

    /**
      Set EnableCompositing
    */
    static
    void setEnableCompositing( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "EnableCompositing" ) ))
        self()->mEnableCompositing = v;
    }

    /**
      Get EnableCompositing
    */
    static
    bool enableCompositing()
    {
      return self()->mEnableCompositing;
    }

    /**
      Set EnableThreading
    */
    static
    void setEnableThreading( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "EnableThreading" ) ))
        self()->mEnableThreading = v;
    }

    /**
      Get EnableThreading
    */
    static
    bool enableThreading()
    {
      return self()->mEnableThreading;
    }

    /**
      Set SlidesAdvance
    */
    static
    void setSlidesAdvance( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SlidesAdvance" ) ))
        self()->mSlidesAdvance = v;
    }

    /**
      Get SlidesAdvance
    */
    static
    bool slidesAdvance()
    {
      return self()->mSlidesAdvance;
    }

    /**
      Set SlidesAdvanceTime
    */
    static
    void setSlidesAdvanceTime( uint v )
    {
      if (v < 1)
      {
        kdDebug() << "setSlidesAdvanceTime: value " << v << " is less than the minimum value of 1" << endl;
        v = 1;
      }

      if (v > 3600)
      {
        kdDebug() << "setSlidesAdvanceTime: value " << v << " is greater than the maximum value of 3600" << endl;
        v = 3600;
      }

      if (!self()->isImmutable( TQString::fromLatin1( "SlidesAdvanceTime" ) ))
        self()->mSlidesAdvanceTime = v;
    }

    /**
      Get SlidesAdvanceTime
    */
    static
    uint slidesAdvanceTime()
    {
      return self()->mSlidesAdvanceTime;
    }

    /**
      Set SlidesLoop
    */
    static
    void setSlidesLoop( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SlidesLoop" ) ))
        self()->mSlidesLoop = v;
    }

    /**
      Get SlidesLoop
    */
    static
    bool slidesLoop()
    {
      return self()->mSlidesLoop;
    }

    /**
      Set SlidesBackgroundColor
    */
    static
    void setSlidesBackgroundColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SlidesBackgroundColor" ) ))
        self()->mSlidesBackgroundColor = v;
    }

    /**
      Get SlidesBackgroundColor
    */
    static
    TQColor slidesBackgroundColor()
    {
      return self()->mSlidesBackgroundColor;
    }

    /**
      Set SlidesTransition
    */
    static
    void setSlidesTransition( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SlidesTransition" ) ))
        self()->mSlidesTransition = v;
    }

    /**
      Get SlidesTransition
    */
    static
    int slidesTransition()
    {
      return self()->mSlidesTransition;
    }

    /**
      Set SlidesCursor
    */
    static
    void setSlidesCursor( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SlidesCursor" ) ))
        self()->mSlidesCursor = v;
    }

    /**
      Get SlidesCursor
    */
    static
    int slidesCursor()
    {
      return self()->mSlidesCursor;
    }

    /**
      Set SlidesShowProgress
    */
    static
    void setSlidesShowProgress( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SlidesShowProgress" ) ))
        self()->mSlidesShowProgress = v;
    }

    /**
      Get SlidesShowProgress
    */
    static
    bool slidesShowProgress()
    {
      return self()->mSlidesShowProgress;
    }

    /**
      Set SlidesShowSummary
    */
    static
    void setSlidesShowSummary( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "SlidesShowSummary" ) ))
        self()->mSlidesShowSummary = v;
    }

    /**
      Get SlidesShowSummary
    */
    static
    bool slidesShowSummary()
    {
      return self()->mSlidesShowSummary;
    }

    /**
      Set FilterBookmarks
    */
    static
    void setFilterBookmarks( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "FilterBookmarks" ) ))
        self()->mFilterBookmarks = v;
    }

    /**
      Get FilterBookmarks
    */
    static
    bool filterBookmarks()
    {
      return self()->mFilterBookmarks;
    }

    /**
      Set UseKTTSD
    */
    static
    void setUseKTTSD( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "UseKTTSD" ) ))
        self()->mUseKTTSD = v;
    }

    /**
      Get UseKTTSD
    */
    static
    bool useKTTSD()
    {
      return self()->mUseKTTSD;
    }

    /**
      Set DebugDrawBoundaries
    */
    static
    void setDebugDrawBoundaries( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DebugDrawBoundaries" ) ))
        self()->mDebugDrawBoundaries = v;
    }

    /**
      Get DebugDrawBoundaries
    */
    static
    bool debugDrawBoundaries()
    {
      return self()->mDebugDrawBoundaries;
    }

    static
    void writeConfig()
    {
      static_cast<TDEConfigSkeleton*>(self())->writeConfig();
    }
  protected:
    KpdfSettings();
    static KpdfSettings *mSelf;


    // Accessibility
    TQColor mPaperColor;
    bool mHighlightImages;
    bool mHighlightLinks;
    bool mChangeColors;
    int mRenderMode;
    TQColor mRecolorForeground;
    TQColor mRecolorBackground;
    uint mBWThreshold;
    uint mBWContrast;

    // General
    bool mShowOSD;
    bool mWatchFile;
    bool mOpenInExistingKPDF;
    bool mTabsHoverCloseButton;
    bool mObeyDRM;
    bool mRetainDocumentData;

    // MainView
    bool mShowLeftPanel;
    bool mShowSearchBar;
    TQValueList<int> mSplitterSizes;

    // PageView
    bool mShowScrollBars;
    bool mViewContinuous;
    bool mViewCoverPage;
    uint mViewColumns;
    uint mZoomMode;
    double mZoomFactor;

    // ThumbnailsList
    bool mSyncThumbnailsViewport;

    // Performance
    int mMemoryLevel;
    bool mEnableCompositing;
    bool mEnableThreading;

    // Presentation
    bool mSlidesAdvance;
    uint mSlidesAdvanceTime;
    bool mSlidesLoop;
    TQColor mSlidesBackgroundColor;
    int mSlidesTransition;
    int mSlidesCursor;
    bool mSlidesShowProgress;
    bool mSlidesShowSummary;

    // Internal Status
    bool mFilterBookmarks;
    bool mUseKTTSD;

    // Debugging Options
    bool mDebugDrawBoundaries;

  private:
};

#endif

