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

#include "encoder_prefs.h"

EncoderPrefs::EncoderPrefs(  const TQString & encoder )
  : TDEConfigSkeleton( TQString::fromLatin1( "kaudiocreatorrc" ) )
  , mParamencoder(encoder)
{
  setCurrentGroup( TQString::fromLatin1( "%1" ).arg( mParamencoder ) );

  TDEConfigSkeleton::ItemString  *itemEncoderName;
  itemEncoderName = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "encoderName" ), mEncoderName, TQString::fromLatin1( "Unknown Encoder" ) );
  addItem( itemEncoderName, TQString::fromLatin1( "encoderName" ) );
  TDEConfigSkeleton::ItemPath  *itemCommandLine;
  itemCommandLine = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "commandLine" ), mCommandLine, TQString::fromLatin1( "app.exe %f %o" ) );
  addItem( itemCommandLine, TQString::fromLatin1( "commandLine" ) );
  TDEConfigSkeleton::ItemString  *itemExtension;
  itemExtension = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "extension" ), mExtension, TQString::fromLatin1( "wav" ) );
  addItem( itemExtension, TQString::fromLatin1( "extension" ) );
  TDEConfigSkeleton::ItemInt  *itemPercentLength;
  itemPercentLength = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "percentLength" ), mPercentLength, 2 );
  addItem( itemPercentLength, TQString::fromLatin1( "percentLength" ) );
}

EncoderPrefs::~EncoderPrefs()
{
}

