kmail

templatesconfiguration_kfg.cpp

00001 // This file is generated by kconfig_compiler from templatesconfiguration_kfg.kcfg.
00002 // All changes you do to this file will be lost.
00003 
00004 #include "templatesconfiguration_kfg.h"
00005 
00006 #include <klocale.h>
00007 
00008 Templates::Templates(  const QString & folder )
00009   : KConfigSkeleton( QString::fromLatin1( "kmailrc" ) )
00010   , mParamfolder(folder)
00011 {
00012   setCurrentGroup( QString::fromLatin1( "Templates #%1" ).arg( mParamfolder ) );
00013 
00014   mUseCustomTemplatesItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "UseCustomTemplates" ), mUseCustomTemplates, false );
00015   mUseCustomTemplatesItem->setLabel( i18n("UseCustomTemplates") );
00016   addItem( mUseCustomTemplatesItem, QString::fromLatin1( "UseCustomTemplates" ) );
00017   mTemplateNewMessageItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "TemplateNewMessage" ), mTemplateNewMessage );
00018   mTemplateNewMessageItem->setLabel( i18n("TemplateNewMessage") );
00019   addItem( mTemplateNewMessageItem, QString::fromLatin1( "TemplateNewMessage" ) );
00020   mTemplateReplyItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "TemplateReply" ), mTemplateReply );
00021   mTemplateReplyItem->setLabel( i18n("TemplateReply") );
00022   addItem( mTemplateReplyItem, QString::fromLatin1( "TemplateReply" ) );
00023   mTemplateReplyAllItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "TemplateReplyAll" ), mTemplateReplyAll );
00024   mTemplateReplyAllItem->setLabel( i18n("TemplateReplyAll") );
00025   addItem( mTemplateReplyAllItem, QString::fromLatin1( "TemplateReplyAll" ) );
00026   mTemplateForwardItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "TemplateForward" ), mTemplateForward );
00027   mTemplateForwardItem->setLabel( i18n("TemplateForward") );
00028   addItem( mTemplateForwardItem, QString::fromLatin1( "TemplateForward" ) );
00029   mQuoteStringItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "QuoteString" ), mQuoteString );
00030   mQuoteStringItem->setLabel( i18n("QuoteString") );
00031   addItem( mQuoteStringItem, QString::fromLatin1( "QuoteString" ) );
00032 }
00033 
00034 Templates::~Templates()
00035 {
00036 }
00037 
KDE Home | KDE Accessibility Home | Description of Access Keys