kmail

customtemplates_kfg.cpp

00001 // This file is generated by kconfig_compiler from customtemplates_kfg.kcfg.
00002 // All changes you do to this file will be lost.
00003 
00004 #include "customtemplates_kfg.h"
00005 
00006 #include <klocale.h>
00007 
00008 CTemplates::CTemplates(  const QString & name )
00009   : KConfigSkeleton( QString::fromLatin1( "kmailrc" ) )
00010   , mParamname(name)
00011 {
00012   setCurrentGroup( QString::fromLatin1( "CTemplates #%1" ).arg( mParamname ) );
00013 
00014   mContentItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Content" ), mContent );
00015   mContentItem->setLabel( i18n("Template content") );
00016   addItem( mContentItem, QString::fromLatin1( "Content" ) );
00017   mShortcutItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Shortcut" ), mShortcut );
00018   mShortcutItem->setLabel( i18n("Template shortcut") );
00019   addItem( mShortcutItem, QString::fromLatin1( "Shortcut" ) );
00020   mTypeItem = new KConfigSkeleton::ItemInt( currentGroup(), QString::fromLatin1( "Type" ), mType, 0 );
00021   mTypeItem->setLabel( i18n("Template type") );
00022   addItem( mTypeItem, QString::fromLatin1( "Type" ) );
00023 }
00024 
00025 CTemplates::~CTemplates()
00026 {
00027 }
00028 
KDE Home | KDE Accessibility Home | Description of Access Keys