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

#include "fullscreenconfig.h"

#include <kstaticdeleter.h>

using namespace Gwenview;

FullScreenConfig *FullScreenConfig::mSelf = 0;
static KStaticDeleter<FullScreenConfig> staticFullScreenConfigDeleter;

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

  return mSelf;
}

FullScreenConfig::FullScreenConfig(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "gwenviewrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "main window" ) );

  TDEConfigSkeleton::ItemBool  *itemShowBusyPtr;
  itemShowBusyPtr = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "busy ptr in full screen" ), mShowBusyPtr, true );
  addItem( itemShowBusyPtr, TQString::fromLatin1( "showBusyPtr" ) );

  setCurrentGroup( TQString::fromLatin1( "pixmap widget" ) );

  TDEConfigSkeleton::ItemString  *itemOsdFormat;
  itemOsdFormat = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "osdFormat" ), mOsdFormat, TQString::fromLatin1( "%f - %n/%N\n"
"%c" ) );
  addItem( itemOsdFormat, TQString::fromLatin1( "osdFormat" ) );
}

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

