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

#include "torkconfig.h"

#include <kstaticdeleter.h>

TorkConfig *TorkConfig::mSelf = 0;
static KStaticDeleter<TorkConfig> staticTorkConfigDeleter;

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

  return mSelf;
}

TorkConfig::TorkConfig(  )
  : TDEConfigSkeleton()
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "FirewallEvasion" ) );

  TDEConfigSkeleton::ItemBool  *itemFascistFirewall;
  itemFascistFirewall = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "FascistFirewall" ), mFascistFirewall, false );
  addItem( itemFascistFirewall, TQString::fromLatin1( "FascistFirewall" ) );
  TDEConfigSkeleton::ItemStringList  *itemReachableAddresses;
  itemReachableAddresses = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "ReachableAddresses" ), mReachableAddresses );
  addItem( itemReachableAddresses, TQString::fromLatin1( "ReachableAddresses" ) );
  TDEConfigSkeleton::ItemInt  *itemKeepalivePeriod;
  itemKeepalivePeriod = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "KeepalivePeriod" ), mKeepalivePeriod, 5 );
  addItem( itemKeepalivePeriod, TQString::fromLatin1( "KeepalivePeriod" ) );

  setCurrentGroup( TQString::fromLatin1( "Censorship" ) );

  TDEConfigSkeleton::ItemStringList  *itemBridge;
  itemBridge = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "Bridge" ), mBridge );
  addItem( itemBridge, TQString::fromLatin1( "Bridge" ) );
  TDEConfigSkeleton::ItemBool  *itemTunnelDirConns;
  itemTunnelDirConns = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TunnelDirConns" ), mTunnelDirConns, false );
  addItem( itemTunnelDirConns, TQString::fromLatin1( "TunnelDirConns" ) );
  TDEConfigSkeleton::ItemBool  *itemUseBridges;
  itemUseBridges = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseBridges" ), mUseBridges, false );
  addItem( itemUseBridges, TQString::fromLatin1( "UseBridges" ) );

  setCurrentGroup( TQString::fromLatin1( "Proxies" ) );

  TDEConfigSkeleton::ItemBool  *itemUseProxy;
  itemUseProxy = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseProxy" ), mUseProxy, false );
  addItem( itemUseProxy, TQString::fromLatin1( "UseProxy" ) );
  TDEConfigSkeleton::ItemString  *itemHttpProxyHost;
  itemHttpProxyHost = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "HttpProxyHost" ), mHttpProxyHost );
  addItem( itemHttpProxyHost, TQString::fromLatin1( "HttpProxyHost" ) );
  TDEConfigSkeleton::ItemInt  *itemHttpProxyPort;
  itemHttpProxyPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "HttpProxyPort" ), mHttpProxyPort );
  addItem( itemHttpProxyPort, TQString::fromLatin1( "HttpProxyPort" ) );
  TDEConfigSkeleton::ItemString  *itemHttpProxyAuthenticatorUserName;
  itemHttpProxyAuthenticatorUserName = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "HttpProxyAuthenticatorUserName" ), mHttpProxyAuthenticatorUserName );
  addItem( itemHttpProxyAuthenticatorUserName, TQString::fromLatin1( "HttpProxyAuthenticatorUserName" ) );
  TDEConfigSkeleton::ItemString  *itemHttpProxyAuthenticatorPassword;
  itemHttpProxyAuthenticatorPassword = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "HttpProxyAuthenticatorPassword" ), mHttpProxyAuthenticatorPassword );
  addItem( itemHttpProxyAuthenticatorPassword, TQString::fromLatin1( "HttpProxyAuthenticatorPassword" ) );
  TDEConfigSkeleton::ItemString  *itemHttpsProxyHost;
  itemHttpsProxyHost = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "HttpsProxyHost" ), mHttpsProxyHost );
  addItem( itemHttpsProxyHost, TQString::fromLatin1( "HttpsProxyHost" ) );
  TDEConfigSkeleton::ItemInt  *itemHttpsProxyPort;
  itemHttpsProxyPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "HttpsProxyPort" ), mHttpsProxyPort );
  addItem( itemHttpsProxyPort, TQString::fromLatin1( "HttpsProxyPort" ) );
  TDEConfigSkeleton::ItemString  *itemHttpsProxyAuthenticatorUserName;
  itemHttpsProxyAuthenticatorUserName = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "HttpsProxyAuthenticatorUserName" ), mHttpsProxyAuthenticatorUserName );
  addItem( itemHttpsProxyAuthenticatorUserName, TQString::fromLatin1( "HttpsProxyAuthenticatorUserName" ) );
  TDEConfigSkeleton::ItemString  *itemHttpsProxyAuthenticatorPassword;
  itemHttpsProxyAuthenticatorPassword = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "HttpsProxyAuthenticatorPassword" ), mHttpsProxyAuthenticatorPassword );
  addItem( itemHttpsProxyAuthenticatorPassword, TQString::fromLatin1( "HttpsProxyAuthenticatorPassword" ) );

  setCurrentGroup( TQString::fromLatin1( "MaxMin" ) );

  TDEConfigSkeleton::ItemInt  *itemBandwidthRate;
  itemBandwidthRate = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BandwidthRate" ), mBandwidthRate, 3145 );
  addItem( itemBandwidthRate, TQString::fromLatin1( "BandwidthRate" ) );
  TDEConfigSkeleton::ItemInt  *itemBandwidthBurst;
  itemBandwidthBurst = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BandwidthBurst" ), mBandwidthBurst, 6291 );
  addItem( itemBandwidthBurst, TQString::fromLatin1( "BandwidthBurst" ) );
  TDEConfigSkeleton::ItemInt  *itemMaxAdvertisedBandwidth;
  itemMaxAdvertisedBandwidth = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxAdvertisedBandwidth" ), mMaxAdvertisedBandwidth, 3145 );
  addItem( itemMaxAdvertisedBandwidth, TQString::fromLatin1( "MaxAdvertisedBandwidth" ) );

  setCurrentGroup( TQString::fromLatin1( "RunningNormal" ) );

  TDEConfigSkeleton::ItemString  *itemUser;
  itemUser = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "User" ), mUser );
  addItem( itemUser, TQString::fromLatin1( "User" ) );
  TDEConfigSkeleton::ItemString  *itemGroup;
  itemGroup = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Group" ), mGroup );
  addItem( itemGroup, TQString::fromLatin1( "Group" ) );
  TDEConfigSkeleton::ItemString  *itemDataDirectory;
  itemDataDirectory = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DataDirectory" ), mDataDirectory );
  addItem( itemDataDirectory, TQString::fromLatin1( "DataDirectory" ) );

  setCurrentGroup( TQString::fromLatin1( "RunningSpecial" ) );

  TDEConfigSkeleton::ItemString  *itemDirServer;
  itemDirServer = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DirServer" ), mDirServer );
  addItem( itemDirServer, TQString::fromLatin1( "DirServer" ) );
  TDEConfigSkeleton::ItemBool  *itemClientOnly;
  itemClientOnly = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ClientOnly" ), mClientOnly, true );
  addItem( itemClientOnly, TQString::fromLatin1( "ClientOnly" ) );

  setCurrentGroup( TQString::fromLatin1( "UsingTor" ) );

  TDEConfigSkeleton::ItemStringList  *itemSOCKSPolicy;
  itemSOCKSPolicy = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "SOCKSPolicy" ), mSOCKSPolicy );
  addItem( itemSOCKSPolicy, TQString::fromLatin1( "SOCKSPolicy" ) );
  TDEConfigSkeleton::ItemStringList  *itemSOCKSBindAddressMany;
  itemSOCKSBindAddressMany = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "SOCKSBindAddressMany" ), mSOCKSBindAddressMany );
  addItem( itemSOCKSBindAddressMany, TQString::fromLatin1( "SOCKSBindAddressMany" ) );

  setCurrentGroup( TQString::fromLatin1( "UsingTorSpecial" ) );

  TDEConfigSkeleton::ItemString  *itemSOCKSBindAddressHost;
  itemSOCKSBindAddressHost = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "SOCKSBindAddressHost" ), mSOCKSBindAddressHost, TQString::fromLatin1( "127.0.0.1" ) );
  addItem( itemSOCKSBindAddressHost, TQString::fromLatin1( "SOCKSBindAddressHost" ) );
  TDEConfigSkeleton::ItemInt  *itemSOCKSBindAddressPort;
  itemSOCKSBindAddressPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SOCKSBindAddressPort" ), mSOCKSBindAddressPort, 9050 );
  addItem( itemSOCKSBindAddressPort, TQString::fromLatin1( "SOCKSBindAddressPort" ) );

  setCurrentGroup( TQString::fromLatin1( "Servers" ) );

  TDEConfigSkeleton::ItemInt  *itemNewCircuitPeriod;
  itemNewCircuitPeriod = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "NewCircuitPeriod" ), mNewCircuitPeriod, 30 );
  addItem( itemNewCircuitPeriod, TQString::fromLatin1( "NewCircuitPeriod" ) );
  TDEConfigSkeleton::ItemStringList  *itemAllowUnverifiedNodes;
  itemAllowUnverifiedNodes = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "AllowUnverifiedNodes" ), mAllowUnverifiedNodes );
  addItem( itemAllowUnverifiedNodes, TQString::fromLatin1( "AllowUnverifiedNodes" ) );
  TDEConfigSkeleton::ItemStringList  *itemMapAddress;
  itemMapAddress = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "MapAddress" ), mMapAddress );
  addItem( itemMapAddress, TQString::fromLatin1( "MapAddress" ) );
  TDEConfigSkeleton::ItemStringList  *itemExcludeNodes;
  itemExcludeNodes = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "ExcludeNodes" ), mExcludeNodes );
  addItem( itemExcludeNodes, TQString::fromLatin1( "ExcludeNodes" ) );
  TDEConfigSkeleton::ItemStringList  *itemEntryNodes;
  itemEntryNodes = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "EntryNodes" ), mEntryNodes );
  addItem( itemEntryNodes, TQString::fromLatin1( "EntryNodes" ) );
  TDEConfigSkeleton::ItemStringList  *itemExitNodes;
  itemExitNodes = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "ExitNodes" ), mExitNodes );
  addItem( itemExitNodes, TQString::fromLatin1( "ExitNodes" ) );
  TDEConfigSkeleton::ItemStringList  *itemRendNodes;
  itemRendNodes = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "RendNodes" ), mRendNodes );
  addItem( itemRendNodes, TQString::fromLatin1( "RendNodes" ) );
  TDEConfigSkeleton::ItemBool  *itemStrictExitNodes;
  itemStrictExitNodes = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "StrictExitNodes" ), mStrictExitNodes, false );
  addItem( itemStrictExitNodes, TQString::fromLatin1( "StrictExitNodes" ) );
  TDEConfigSkeleton::ItemBool  *itemStrictEntryNodes;
  itemStrictEntryNodes = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "StrictEntryNodes" ), mStrictEntryNodes, false );
  addItem( itemStrictEntryNodes, TQString::fromLatin1( "StrictEntryNodes" ) );
  TDEConfigSkeleton::ItemInt  *itemNumEntryGuards;
  itemNumEntryGuards = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "NumEntryGuards" ), mNumEntryGuards, 3 );
  addItem( itemNumEntryGuards, TQString::fromLatin1( "NumEntryGuards" ) );

  setCurrentGroup( TQString::fromLatin1( "Usability" ) );

  TDEConfigSkeleton::ItemStringList  *itemTrackHostExits;
  itemTrackHostExits = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "TrackHostExits" ), mTrackHostExits );
  addItem( itemTrackHostExits, TQString::fromLatin1( "TrackHostExits" ) );
  TQStringList defaultLongLivedPorts;
  defaultLongLivedPorts.append( TQString::fromUtf8( "21" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "22" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "23" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "706" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "1863" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "5050" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "5190" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "5222" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "5223" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "6667" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "8300" ) );
  defaultLongLivedPorts.append( TQString::fromUtf8( "8888" ) );

  TDEConfigSkeleton::ItemStringList  *itemLongLivedPorts;
  itemLongLivedPorts = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "LongLivedPorts" ), mLongLivedPorts, defaultLongLivedPorts );
  addItem( itemLongLivedPorts, TQString::fromLatin1( "LongLivedPorts" ) );
  TDEConfigSkeleton::ItemInt  *itemMaxCircuitDirtiness;
  itemMaxCircuitDirtiness = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxCircuitDirtiness" ), mMaxCircuitDirtiness, 600 );
  addItem( itemMaxCircuitDirtiness, TQString::fromLatin1( "MaxCircuitDirtiness" ) );
  TDEConfigSkeleton::ItemBool  *itemCookieAuthentication;
  itemCookieAuthentication = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CookieAuthentication" ), mCookieAuthentication, false );
  addItem( itemCookieAuthentication, TQString::fromLatin1( "CookieAuthentication" ) );
  TDEConfigSkeleton::ItemString  *itemHashedControlPassword;
  itemHashedControlPassword = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "HashedControlPassword" ), mHashedControlPassword );
  addItem( itemHashedControlPassword, TQString::fromLatin1( "HashedControlPassword" ) );

  setCurrentGroup( TQString::fromLatin1( "MyServer" ) );

  TDEConfigSkeleton::ItemString  *itemContactInfo;
  itemContactInfo = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "ContactInfo" ), mContactInfo );
  addItem( itemContactInfo, TQString::fromLatin1( "ContactInfo" ) );
  TDEConfigSkeleton::ItemBool  *itemPublishServerDescriptor;
  itemPublishServerDescriptor = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PublishServerDescriptor" ), mPublishServerDescriptor );
  addItem( itemPublishServerDescriptor, TQString::fromLatin1( "PublishServerDescriptor" ) );
  TQStringList defaultExitPolicy;
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:25" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:119" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:135-139" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:445" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:465" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:563" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:587" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:1214" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:4661-4666" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:6346-6429" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:6699" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "reject *:6881-6999" ) );
  defaultExitPolicy.append( TQString::fromUtf8( "accept *:*" ) );

  TDEConfigSkeleton::ItemStringList  *itemExitPolicy;
  itemExitPolicy = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "ExitPolicy" ), mExitPolicy, defaultExitPolicy );
  addItem( itemExitPolicy, TQString::fromLatin1( "ExitPolicy" ) );
  TDEConfigSkeleton::ItemStringList  *itemMyFamily;
  itemMyFamily = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "MyFamily" ), mMyFamily );
  addItem( itemMyFamily, TQString::fromLatin1( "MyFamily" ) );
  TDEConfigSkeleton::ItemString  *itemNickName;
  itemNickName = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NickName" ), mNickName );
  addItem( itemNickName, TQString::fromLatin1( "NickName" ) );
  TDEConfigSkeleton::ItemInt  *itemDirListenAddress;
  itemDirListenAddress = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DirListenAddress" ), mDirListenAddress, 9030 );
  addItem( itemDirListenAddress, TQString::fromLatin1( "DirListenAddress" ) );
  TDEConfigSkeleton::ItemInt  *itemDirPort;
  itemDirPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DirPort" ), mDirPort, 9030 );
  addItem( itemDirPort, TQString::fromLatin1( "DirPort" ) );
  TDEConfigSkeleton::ItemInt  *itemORListenAddress;
  itemORListenAddress = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ORListenAddress" ), mORListenAddress, 9001 );
  addItem( itemORListenAddress, TQString::fromLatin1( "ORListenAddress" ) );
  TDEConfigSkeleton::ItemInt  *itemORPort;
  itemORPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ORPort" ), mORPort, 9001 );
  addItem( itemORPort, TQString::fromLatin1( "ORPort" ) );
  TDEConfigSkeleton::ItemString  *itemOutboundBindAddress;
  itemOutboundBindAddress = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "OutboundBindAddress" ), mOutboundBindAddress );
  addItem( itemOutboundBindAddress, TQString::fromLatin1( "OutboundBindAddress" ) );

  setCurrentGroup( TQString::fromLatin1( "DefaultServerAddress" ) );

  TDEConfigSkeleton::ItemString  *itemAddress;
  itemAddress = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Address" ), mAddress );
  addItem( itemAddress, TQString::fromLatin1( "Address" ) );

  setCurrentGroup( TQString::fromLatin1( "ServerPerformance" ) );

  TDEConfigSkeleton::ItemInt  *itemNumCPUs;
  itemNumCPUs = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "NumCPUs" ), mNumCPUs, 1 );
  addItem( itemNumCPUs, TQString::fromLatin1( "NumCPUs" ) );
  TDEConfigSkeleton::ItemInt  *itemMaxOnionsPending;
  itemMaxOnionsPending = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxOnionsPending" ), mMaxOnionsPending, 100 );
  addItem( itemMaxOnionsPending, TQString::fromLatin1( "MaxOnionsPending" ) );
  TDEConfigSkeleton::ItemInt  *itemAccountingMax;
  itemAccountingMax = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "AccountingMax" ), mAccountingMax, 0 );
  addItem( itemAccountingMax, TQString::fromLatin1( "AccountingMax" ) );
  TDEConfigSkeleton::ItemString  *itemAccountingStart;
  itemAccountingStart = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "AccountingStart" ), mAccountingStart, TQString::fromLatin1( "month" ) );
  addItem( itemAccountingStart, TQString::fromLatin1( "AccountingStart" ) );
  TDEConfigSkeleton::ItemInt  *itemShutDownWaitLength;
  itemShutDownWaitLength = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ShutDownWaitLength" ), mShutDownWaitLength, 30 );
  addItem( itemShutDownWaitLength, TQString::fromLatin1( "ShutDownWaitLength" ) );
  TDEConfigSkeleton::ItemInt  *itemConnLimit;
  itemConnLimit = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ConnLimit" ), mConnLimit, 1000 );
  addItem( itemConnLimit, TQString::fromLatin1( "ConnLimit" ) );

  setCurrentGroup( TQString::fromLatin1( "DynDnsServer" ) );

  TDEConfigSkeleton::ItemBool  *itemDynDnsServerIP;
  itemDynDnsServerIP = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DynDnsServerIP" ), mDynDnsServerIP, false );
  addItem( itemDynDnsServerIP, TQString::fromLatin1( "DynDnsServerIP" ) );

  setCurrentGroup( TQString::fromLatin1( "MyHiddenServices" ) );

  TDEConfigSkeleton::ItemStringList  *itemHiddenServices;
  itemHiddenServices = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "HiddenServices" ), mHiddenServices );
  addItem( itemHiddenServices, TQString::fromLatin1( "HiddenServices" ) );

  setCurrentGroup( TQString::fromLatin1( "UsedDirectly" ) );

  TDEConfigSkeleton::ItemBool  *itemUseScheduledBandwidth;
  itemUseScheduledBandwidth = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "UseScheduledBandwidth" ), mUseScheduledBandwidth, false );
  addItem( itemUseScheduledBandwidth, TQString::fromLatin1( "UseScheduledBandwidth" ) );
  TDEConfigSkeleton::ItemBool  *itemGenerateRandomPassword;
  itemGenerateRandomPassword = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "GenerateRandomPassword" ), mGenerateRandomPassword, true );
  addItem( itemGenerateRandomPassword, TQString::fromLatin1( "GenerateRandomPassword" ) );
  TDEConfigSkeleton::ItemBool  *itemShowTorBar;
  itemShowTorBar = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowTorBar" ), mShowTorBar, true );
  addItem( itemShowTorBar, TQString::fromLatin1( "ShowTorBar" ) );
  TDEConfigSkeleton::ItemInt  *itemQuickConfigure;
  itemQuickConfigure = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "QuickConfigure" ), mQuickConfigure );
  addItem( itemQuickConfigure, TQString::fromLatin1( "QuickConfigure" ) );
  TDEConfigSkeleton::ItemBool  *itemDefaultRunningNormalOptions;
  itemDefaultRunningNormalOptions = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DefaultRunningNormalOptions" ), mDefaultRunningNormalOptions, true );
  addItem( itemDefaultRunningNormalOptions, TQString::fromLatin1( "DefaultRunningNormalOptions" ) );
  TDEConfigSkeleton::ItemBool  *itemDefaultServerIP;
  itemDefaultServerIP = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DefaultServerIP" ), mDefaultServerIP, false );
  addItem( itemDefaultServerIP, TQString::fromLatin1( "DefaultServerIP" ) );
  TDEConfigSkeleton::ItemBool  *itemDefaultServerPerformance;
  itemDefaultServerPerformance = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DefaultServerPerformance" ), mDefaultServerPerformance, true );
  addItem( itemDefaultServerPerformance, TQString::fromLatin1( "DefaultServerPerformance" ) );
  TDEConfigSkeleton::ItemBool  *itemDefaultMaxMinOptions;
  itemDefaultMaxMinOptions = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DefaultMaxMinOptions" ), mDefaultMaxMinOptions, true );
  addItem( itemDefaultMaxMinOptions, TQString::fromLatin1( "DefaultMaxMinOptions" ) );
  TDEConfigSkeleton::ItemBool  *itemTDEUsesTor;
  itemTDEUsesTor = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TDEUsesTor" ), mTDEUsesTor, false );
  addItem( itemTDEUsesTor, TQString::fromLatin1( "TDEUsesTor" ) );
  TDEConfigSkeleton::ItemBool  *itemAlwaysAnonymizeTDE;
  itemAlwaysAnonymizeTDE = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AlwaysAnonymizeTDE" ), mAlwaysAnonymizeTDE, false );
  addItem( itemAlwaysAnonymizeTDE, TQString::fromLatin1( "AlwaysAnonymizeTDE" ) );
  TDEConfigSkeleton::ItemBool  *itemStartPrivoxyAutomatically;
  itemStartPrivoxyAutomatically = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "StartPrivoxyAutomatically" ), mStartPrivoxyAutomatically, true );
  addItem( itemStartPrivoxyAutomatically, TQString::fromLatin1( "StartPrivoxyAutomatically" ) );
  TDEConfigSkeleton::ItemStringList  *itemServersHistory;
  itemServersHistory = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "serversHistory" ), mServersHistory );
  addItem( itemServersHistory, TQString::fromLatin1( "serversHistory" ) );
  TDEConfigSkeleton::ItemStringList  *itemExcludeServersHistory;
  itemExcludeServersHistory = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "excludeServersHistory" ), mExcludeServersHistory );
  addItem( itemExcludeServersHistory, TQString::fromLatin1( "excludeServersHistory" ) );
  TDEConfigSkeleton::ItemStringList  *itemIncludeServersHistory;
  itemIncludeServersHistory = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "includeServersHistory" ), mIncludeServersHistory );
  addItem( itemIncludeServersHistory, TQString::fromLatin1( "includeServersHistory" ) );
  TDEConfigSkeleton::ItemStringList  *itemActiveServers;
  itemActiveServers = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "ActiveServers" ), mActiveServers );
  addItem( itemActiveServers, TQString::fromLatin1( "ActiveServers" ) );
  TDEConfigSkeleton::ItemInt  *itemControlPort;
  itemControlPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ControlPort" ), mControlPort, 9051 );
  addItem( itemControlPort, TQString::fromLatin1( "ControlPort" ) );
  TDEConfigSkeleton::ItemInt  *itemTrackHostExitsExpire;
  itemTrackHostExitsExpire = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "TrackHostExitsExpire" ), mTrackHostExitsExpire, 30 );
  addItem( itemTrackHostExitsExpire, TQString::fromLatin1( "TrackHostExitsExpire" ) );
  TDEConfigSkeleton::ItemBool  *itemMiddleMan;
  itemMiddleMan = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "MiddleMan" ), mMiddleMan );
  addItem( itemMiddleMan, TQString::fromLatin1( "MiddleMan" ) );
  TDEConfigSkeleton::ItemBool  *itemBridgeRelay;
  itemBridgeRelay = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "BridgeRelay" ), mBridgeRelay, false );
  addItem( itemBridgeRelay, TQString::fromLatin1( "BridgeRelay" ) );
  TDEConfigSkeleton::ItemBool  *itemRemoteTor;
  itemRemoteTor = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RemoteTor" ), mRemoteTor, false );
  addItem( itemRemoteTor, TQString::fromLatin1( "RemoteTor" ) );
  TDEConfigSkeleton::ItemString  *itemRemoteTorAddress;
  itemRemoteTorAddress = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "RemoteTorAddress" ), mRemoteTorAddress, TQString::fromLatin1( "127.0.0.1" ) );
  addItem( itemRemoteTorAddress, TQString::fromLatin1( "RemoteTorAddress" ) );
  TDEConfigSkeleton::ItemInt  *itemRemoteTorPort;
  itemRemoteTorPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "RemoteTorPort" ), mRemoteTorPort, 9051 );
  addItem( itemRemoteTorPort, TQString::fromLatin1( "RemoteTorPort" ) );
  TDEConfigSkeleton::ItemBool  *itemShowTorMon;
  itemShowTorMon = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowTorMon" ), mShowTorMon, true );
  addItem( itemShowTorMon, TQString::fromLatin1( "ShowTorMon" ) );
  TDEConfigSkeleton::ItemString  *itemNetstatLocation;
  itemNetstatLocation = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "NetstatLocation" ), mNetstatLocation, TQString::fromLatin1( "netstat" ) );
  addItem( itemNetstatLocation, TQString::fromLatin1( "NetstatLocation" ) );
  TDEConfigSkeleton::ItemString  *itemTorLocation;
  itemTorLocation = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "TorLocation" ), mTorLocation );
  addItem( itemTorLocation, TQString::fromLatin1( "TorLocation" ) );
  TDEConfigSkeleton::ItemString  *itemPrivoxyLocation;
  itemPrivoxyLocation = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "PrivoxyLocation" ), mPrivoxyLocation );
  addItem( itemPrivoxyLocation, TQString::fromLatin1( "PrivoxyLocation" ) );
  TDEConfigSkeleton::ItemBool  *itemApplyTorkSettings;
  itemApplyTorkSettings = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ApplyTorkSettings" ), mApplyTorkSettings, false );
  addItem( itemApplyTorkSettings, TQString::fromLatin1( "ApplyTorkSettings" ) );
  TDEConfigSkeleton::ItemBool  *itemShowDNSLeaks;
  itemShowDNSLeaks = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowDNSLeaks" ), mShowDNSLeaks, true );
  addItem( itemShowDNSLeaks, TQString::fromLatin1( "ShowDNSLeaks" ) );
  TDEConfigSkeleton::ItemBool  *itemShowUsageWarnings;
  itemShowUsageWarnings = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowUsageWarnings" ), mShowUsageWarnings, true );
  addItem( itemShowUsageWarnings, TQString::fromLatin1( "ShowUsageWarnings" ) );
  TDEConfigSkeleton::ItemBool  *itemShowSecurityWarnings;
  itemShowSecurityWarnings = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowSecurityWarnings" ), mShowSecurityWarnings, true );
  addItem( itemShowSecurityWarnings, TQString::fromLatin1( "ShowSecurityWarnings" ) );
  TDEConfigSkeleton::ItemBool  *itemShowGuideQuestions;
  itemShowGuideQuestions = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowGuideQuestions" ), mShowGuideQuestions, true );
  addItem( itemShowGuideQuestions, TQString::fromLatin1( "ShowGuideQuestions" ) );
  TDEConfigSkeleton::ItemBool  *itemShowApplySettingsQuestions;
  itemShowApplySettingsQuestions = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowApplySettingsQuestions" ), mShowApplySettingsQuestions, true );
  addItem( itemShowApplySettingsQuestions, TQString::fromLatin1( "ShowApplySettingsQuestions" ) );
  TDEConfigSkeleton::ItemStringList  *itemExcludeCountries;
  itemExcludeCountries = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "ExcludeCountries" ), mExcludeCountries );
  addItem( itemExcludeCountries, TQString::fromLatin1( "ExcludeCountries" ) );
  TDEConfigSkeleton::ItemStringList  *itemPreferredCountries;
  itemPreferredCountries = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "PreferredCountries" ), mPreferredCountries );
  addItem( itemPreferredCountries, TQString::fromLatin1( "PreferredCountries" ) );
  TDEConfigSkeleton::ItemString  *itemOriginalHttpProxy;
  itemOriginalHttpProxy = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "OriginalHttpProxy" ), mOriginalHttpProxy );
  addItem( itemOriginalHttpProxy, TQString::fromLatin1( "OriginalHttpProxy" ) );
  TDEConfigSkeleton::ItemString  *itemOriginalHttpsProxy;
  itemOriginalHttpsProxy = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "OriginalHttpsProxy" ), mOriginalHttpsProxy );
  addItem( itemOriginalHttpsProxy, TQString::fromLatin1( "OriginalHttpsProxy" ) );
  TDEConfigSkeleton::ItemString  *itemOriginalFtpProxy;
  itemOriginalFtpProxy = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "OriginalFtpProxy" ), mOriginalFtpProxy );
  addItem( itemOriginalFtpProxy, TQString::fromLatin1( "OriginalFtpProxy" ) );
  TDEConfigSkeleton::ItemString  *itemOriginalProxyType;
  itemOriginalProxyType = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "OriginalProxyType" ), mOriginalProxyType );
  addItem( itemOriginalProxyType, TQString::fromLatin1( "OriginalProxyType" ) );
  TDEConfigSkeleton::ItemInt  *itemNonTorTrafficMaxEntries;
  itemNonTorTrafficMaxEntries = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "NonTorTrafficMaxEntries" ), mNonTorTrafficMaxEntries, 200 );
  addItem( itemNonTorTrafficMaxEntries, TQString::fromLatin1( "NonTorTrafficMaxEntries" ) );
  TDEConfigSkeleton::ItemBool  *itemSystemProxy;
  itemSystemProxy = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SystemProxy" ), mSystemProxy, false );
  addItem( itemSystemProxy, TQString::fromLatin1( "SystemProxy" ) );
  TDEConfigSkeleton::ItemBool  *itemTorkProxy;
  itemTorkProxy = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TorkProxy" ), mTorkProxy, true );
  addItem( itemTorkProxy, TQString::fromLatin1( "TorkProxy" ) );
  TDEConfigSkeleton::ItemString  *itemKonqHttpProxy;
  itemKonqHttpProxy = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "KonqHttpProxy" ), mKonqHttpProxy, TQString::fromLatin1( "http://localhost" ) );
  addItem( itemKonqHttpProxy, TQString::fromLatin1( "KonqHttpProxy" ) );
  TDEConfigSkeleton::ItemString  *itemKonqHttpsProxy;
  itemKonqHttpsProxy = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "KonqHttpsProxy" ), mKonqHttpsProxy, TQString::fromLatin1( "http://localhost" ) );
  addItem( itemKonqHttpsProxy, TQString::fromLatin1( "KonqHttpsProxy" ) );
  TDEConfigSkeleton::ItemString  *itemKonqFtpProxy;
  itemKonqFtpProxy = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "KonqFtpProxy" ), mKonqFtpProxy );
  addItem( itemKonqFtpProxy, TQString::fromLatin1( "KonqFtpProxy" ) );
  TDEConfigSkeleton::ItemInt  *itemKonqHttpProxyPort;
  itemKonqHttpProxyPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "KonqHttpProxyPort" ), mKonqHttpProxyPort, 8118 );
  addItem( itemKonqHttpProxyPort, TQString::fromLatin1( "KonqHttpProxyPort" ) );
  TDEConfigSkeleton::ItemInt  *itemKonqHttpsProxyPort;
  itemKonqHttpsProxyPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "KonqHttpsProxyPort" ), mKonqHttpsProxyPort, 8118 );
  addItem( itemKonqHttpsProxyPort, TQString::fromLatin1( "KonqHttpsProxyPort" ) );
  TDEConfigSkeleton::ItemInt  *itemKonqFtpProxyPort;
  itemKonqFtpProxyPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "KonqFtpProxyPort" ), mKonqFtpProxyPort );
  addItem( itemKonqFtpProxyPort, TQString::fromLatin1( "KonqFtpProxyPort" ) );
  TDEConfigSkeleton::ItemBool  *itemDisableJava;
  itemDisableJava = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DisableJava" ), mDisableJava, true );
  addItem( itemDisableJava, TQString::fromLatin1( "DisableJava" ) );
  TDEConfigSkeleton::ItemBool  *itemDisableCookies;
  itemDisableCookies = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DisableCookies" ), mDisableCookies, true );
  addItem( itemDisableCookies, TQString::fromLatin1( "DisableCookies" ) );
  TDEConfigSkeleton::ItemBool  *itemDisableBrowserIdentification;
  itemDisableBrowserIdentification = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DisableBrowserIdentification" ), mDisableBrowserIdentification, true );
  addItem( itemDisableBrowserIdentification, TQString::fromLatin1( "DisableBrowserIdentification" ) );
  TDEConfigSkeleton::ItemBool  *itemDisablePlugins;
  itemDisablePlugins = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DisablePlugins" ), mDisablePlugins, true );
  addItem( itemDisablePlugins, TQString::fromLatin1( "DisablePlugins" ) );
  TDEConfigSkeleton::ItemBool  *itemDisableCaching;
  itemDisableCaching = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DisableCaching" ), mDisableCaching, true );
  addItem( itemDisableCaching, TQString::fromLatin1( "DisableCaching" ) );
  TDEConfigSkeleton::ItemBool  *itemOriginalCookies;
  itemOriginalCookies = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OriginalCookies" ), mOriginalCookies );
  addItem( itemOriginalCookies, TQString::fromLatin1( "OriginalCookies" ) );
  TDEConfigSkeleton::ItemBool  *itemOriginalSendUserAgent;
  itemOriginalSendUserAgent = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OriginalSendUserAgent" ), mOriginalSendUserAgent );
  addItem( itemOriginalSendUserAgent, TQString::fromLatin1( "OriginalSendUserAgent" ) );
  TDEConfigSkeleton::ItemBool  *itemOriginalUseCache;
  itemOriginalUseCache = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OriginalUseCache" ), mOriginalUseCache );
  addItem( itemOriginalUseCache, TQString::fromLatin1( "OriginalUseCache" ) );
  TDEConfigSkeleton::ItemBool  *itemOriginalEnableJavascript;
  itemOriginalEnableJavascript = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OriginalEnableJavascript" ), mOriginalEnableJavascript );
  addItem( itemOriginalEnableJavascript, TQString::fromLatin1( "OriginalEnableJavascript" ) );
  TDEConfigSkeleton::ItemBool  *itemOriginalEnableJava;
  itemOriginalEnableJava = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OriginalEnableJava" ), mOriginalEnableJava );
  addItem( itemOriginalEnableJava, TQString::fromLatin1( "OriginalEnableJava" ) );
  TDEConfigSkeleton::ItemBool  *itemOriginalEnablePlugins;
  itemOriginalEnablePlugins = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OriginalEnablePlugins" ), mOriginalEnablePlugins );
  addItem( itemOriginalEnablePlugins, TQString::fromLatin1( "OriginalEnablePlugins" ) );
  TDEConfigSkeleton::ItemBool  *itemLogTorTraffic;
  itemLogTorTraffic = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LogTorTraffic" ), mLogTorTraffic, true );
  addItem( itemLogTorTraffic, TQString::fromLatin1( "LogTorTraffic" ) );
  TDEConfigSkeleton::ItemBool  *itemLogNonTorTraffic;
  itemLogNonTorTraffic = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LogNonTorTraffic" ), mLogNonTorTraffic, true );
  addItem( itemLogNonTorTraffic, TQString::fromLatin1( "LogNonTorTraffic" ) );
  TDEConfigSkeleton::ItemInt  *itemParanoidMode;
  itemParanoidMode = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "ParanoidMode" ), mParanoidMode, false );
  addItem( itemParanoidMode, TQString::fromLatin1( "ParanoidMode" ) );
  TDEConfigSkeleton::ItemStringList  *itemCurrentExcludeNodes;
  itemCurrentExcludeNodes = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "CurrentExcludeNodes" ), mCurrentExcludeNodes );
  addItem( itemCurrentExcludeNodes, TQString::fromLatin1( "CurrentExcludeNodes" ) );
  TDEConfigSkeleton::ItemStringList  *itemCurrentEntryNodes;
  itemCurrentEntryNodes = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "CurrentEntryNodes" ), mCurrentEntryNodes );
  addItem( itemCurrentEntryNodes, TQString::fromLatin1( "CurrentEntryNodes" ) );
  TDEConfigSkeleton::ItemStringList  *itemCurrentExitNodes;
  itemCurrentExitNodes = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "CurrentExitNodes" ), mCurrentExitNodes );
  addItem( itemCurrentExitNodes, TQString::fromLatin1( "CurrentExitNodes" ) );
  TDEConfigSkeleton::ItemStringList  *itemBandwidthSlots;
  itemBandwidthSlots = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "BandwidthSlots" ), mBandwidthSlots );
  addItem( itemBandwidthSlots, TQString::fromLatin1( "BandwidthSlots" ) );
  TQStringList defaultFilterRules;
  defaultFilterRules.append( TQString::fromUtf8( "button_ok%:%Route all DNS UDP Requests to Tor. %:% iptables -t nat -I OUTPUT -o ! lo -p udp -m udp --dport 53 -j DNAT --to-destination 127.0.0.1:9999 -m comment --comment \"Redirect UDP DNS Requests to Tor\"" ) );
  defaultFilterRules.append( TQString::fromUtf8( "button_ok%:%Route all DNS TCP Requests to Tor. %:% iptables -t nat -I OUTPUT -o ! lo -p tcp -m tcp --dport 53 -j DNAT --to-destination 127.0.0.1:9040 -m comment --comment \"Redirect TCP DNS Requests to Tor\" " ) );

  TDEConfigSkeleton::ItemStringList  *itemFilterRules;
  itemFilterRules = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "FilterRules" ), mFilterRules, defaultFilterRules );
  addItem( itemFilterRules, TQString::fromLatin1( "FilterRules" ) );
  TQStringList defaultSystemFilterRules;
  defaultSystemFilterRules.append( TQString::fromUtf8( "button_ok%:%Route all HTTP Requests to Tor. %:% iptables -t nat -I OUTPUT -o ! lo -p tcp -m tcp --dport 80 -j DNAT --to-destination 127.0.0.1:9040 -m comment --comment \"Route all HTTP Requests to Tor\"" ) );
  defaultSystemFilterRules.append( TQString::fromUtf8( "button_ok%:%Route all HTTPS Requests to Tor. %:% iptables -t nat -I OUTPUT -o ! lo -p tcp -m tcp --dport 443 -j DNAT --to-destination 127.0.0.1:9040 -m comment --comment \"Route all HTTPS Requests to Tor\"" ) );
  defaultSystemFilterRules.append( TQString::fromUtf8( "button_ok%:%Route all secure POP3 Requests to Tor. %:% iptables -t nat -I OUTPUT -o ! lo -p tcp -m tcp --dport 995 -j DNAT --to-destination 127.0.0.1:9040 -m comment --comment \"Route all secure POP3 Requests to Tor\"" ) );
  defaultSystemFilterRules.append( TQString::fromUtf8( "button_ok%:%Route all SSH Requests to Tor. %:% iptables -t nat -I OUTPUT -o ! lo -p tcp -m tcp --dport 22 -j DNAT --to-destination 127.0.0.1:9040 -m comment --comment \"Route all SSH Requests to Tor\"" ) );

  TDEConfigSkeleton::ItemStringList  *itemSystemFilterRules;
  itemSystemFilterRules = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "SystemFilterRules" ), mSystemFilterRules, defaultSystemFilterRules );
  addItem( itemSystemFilterRules, TQString::fromLatin1( "SystemFilterRules" ) );
  TDEConfigSkeleton::ItemBool  *itemDNSFailSafeParanoia;
  itemDNSFailSafeParanoia = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DNSFailSafeParanoia" ), mDNSFailSafeParanoia, false );
  addItem( itemDNSFailSafeParanoia, TQString::fromLatin1( "DNSFailSafeParanoia" ) );
  TDEConfigSkeleton::ItemBool  *itemSystemFailSafeParanoia;
  itemSystemFailSafeParanoia = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SystemFailSafeParanoia" ), mSystemFailSafeParanoia, true );
  addItem( itemSystemFailSafeParanoia, TQString::fromLatin1( "SystemFailSafeParanoia" ) );
  TDEConfigSkeleton::ItemString  *itemCurrentTorVersion;
  itemCurrentTorVersion = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CurrentTorVersion" ), mCurrentTorVersion );
  addItem( itemCurrentTorVersion, TQString::fromLatin1( "CurrentTorVersion" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultBandwidthRate;
  itemDefaultBandwidthRate = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultBandwidthRate" ), mDefaultBandwidthRate, 3145 );
  addItem( itemDefaultBandwidthRate, TQString::fromLatin1( "DefaultBandwidthRate" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultBandwidthBurst;
  itemDefaultBandwidthBurst = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultBandwidthBurst" ), mDefaultBandwidthBurst, 6291 );
  addItem( itemDefaultBandwidthBurst, TQString::fromLatin1( "DefaultBandwidthBurst" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultMaxAdvertisedBandwidth;
  itemDefaultMaxAdvertisedBandwidth = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultMaxAdvertisedBandwidth" ), mDefaultMaxAdvertisedBandwidth, 3145 );
  addItem( itemDefaultMaxAdvertisedBandwidth, TQString::fromLatin1( "DefaultMaxAdvertisedBandwidth" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultNumCPUs;
  itemDefaultNumCPUs = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultNumCPUs" ), mDefaultNumCPUs, 1 );
  addItem( itemDefaultNumCPUs, TQString::fromLatin1( "DefaultNumCPUs" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultMaxOnionsPending;
  itemDefaultMaxOnionsPending = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultMaxOnionsPending" ), mDefaultMaxOnionsPending, 100 );
  addItem( itemDefaultMaxOnionsPending, TQString::fromLatin1( "DefaultMaxOnionsPending" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultAccountingMax;
  itemDefaultAccountingMax = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultAccountingMax" ), mDefaultAccountingMax, 0 );
  addItem( itemDefaultAccountingMax, TQString::fromLatin1( "DefaultAccountingMax" ) );
  TDEConfigSkeleton::ItemString  *itemDefaultAccountingStart;
  itemDefaultAccountingStart = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "DefaultAccountingStart" ), mDefaultAccountingStart, TQString::fromLatin1( "month" ) );
  addItem( itemDefaultAccountingStart, TQString::fromLatin1( "DefaultAccountingStart" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultShutDownWaitLength;
  itemDefaultShutDownWaitLength = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultShutDownWaitLength" ), mDefaultShutDownWaitLength, 30 );
  addItem( itemDefaultShutDownWaitLength, TQString::fromLatin1( "DefaultShutDownWaitLength" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultConnLimit;
  itemDefaultConnLimit = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultConnLimit" ), mDefaultConnLimit, 1000 );
  addItem( itemDefaultConnLimit, TQString::fromLatin1( "DefaultConnLimit" ) );
  TDEConfigSkeleton::ItemBool  *itemDisplayBubble;
  itemDisplayBubble = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DisplayBubble" ), mDisplayBubble, true );
  addItem( itemDisplayBubble, TQString::fromLatin1( "DisplayBubble" ) );
  TDEConfigSkeleton::ItemInt  *itemBridgeORPort;
  itemBridgeORPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "BridgeORPort" ), mBridgeORPort, 8081 );
  addItem( itemBridgeORPort, TQString::fromLatin1( "BridgeORPort" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultORPort;
  itemDefaultORPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultORPort" ), mDefaultORPort, 9001 );
  addItem( itemDefaultORPort, TQString::fromLatin1( "DefaultORPort" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultDirPort;
  itemDefaultDirPort = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "DefaultDirPort" ), mDefaultDirPort, 9030 );
  addItem( itemDefaultDirPort, TQString::fromLatin1( "DefaultDirPort" ) );
  TDEConfigSkeleton::ItemBool  *itemAdvancedMode;
  itemAdvancedMode = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AdvancedMode" ), mAdvancedMode, false );
  addItem( itemAdvancedMode, TQString::fromLatin1( "AdvancedMode" ) );
  TDEConfigSkeleton::ItemStringList  *itemAvailablePrograms;
  itemAvailablePrograms = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "AvailablePrograms" ), mAvailablePrograms );
  addItem( itemAvailablePrograms, TQString::fromLatin1( "AvailablePrograms" ) );
  TDEConfigSkeleton::ItemBool  *itemForwardPorts;
  itemForwardPorts = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ForwardPorts" ), mForwardPorts, false );
  addItem( itemForwardPorts, TQString::fromLatin1( "ForwardPorts" ) );
  TDEConfigSkeleton::ItemBool  *itemRunFirstServerWizard;
  itemRunFirstServerWizard = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RunFirstServerWizard" ), mRunFirstServerWizard, true );
  addItem( itemRunFirstServerWizard, TQString::fromLatin1( "RunFirstServerWizard" ) );
}

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

