libkcal

htmlexportsettings.cpp

00001 // This file is generated by kconfig_compiler from htmlexportsettings.kcfg.
00002 // All changes you do to this file will be lost.
00003 
00004 #include "htmlexportsettings.h"
00005 
00006 #include <klocale.h>
00007 
00008 HTMLExportSettings::HTMLExportSettings(  const QString & application )
00009   : KConfigSkeleton( QString::fromLatin1( "libkcal_htmlexportrc" ) )
00010   , mParamapplication(application)
00011 {
00012   setCurrentGroup( QString::fromLatin1( "%1-General" ).arg( mParamapplication ) );
00013 
00014   mNameItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Name" ), mName );
00015   mNameItem->setLabel( i18n("Full name of the calendar owner") );
00016   mNameItem->setWhatsThis( i18n("WhatsThis text for FullName setting") );
00017   addItem( mNameItem, QString::fromLatin1( "Name" ) );
00018   mEMailItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "EMail" ), mEMail );
00019   mEMailItem->setLabel( i18n("Email of the calendar owner") );
00020   mEMailItem->setWhatsThis( i18n("WhatsThis text for Email setting") );
00021   addItem( mEMailItem, QString::fromLatin1( "EMail" ) );
00022   mCreditNameItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Credit Name" ), mCreditName );
00023   mCreditNameItem->setLabel( i18n("Creator application") );
00024   mCreditNameItem->setWhatsThis( i18n("Creator application of the calendar") );
00025   addItem( mCreditNameItem, QString::fromLatin1( "CreditName" ) );
00026   mCreditURLItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Credit URL" ), mCreditURL );
00027   mCreditURLItem->setLabel( i18n("Creator URL") );
00028   mCreditURLItem->setWhatsThis( i18n("URL of the creator application of the calendar.") );
00029   addItem( mCreditURLItem, QString::fromLatin1( "CreditURL" ) );
00030   mPageTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Page Title" ), mPageTitle, i18n("Calendar") );
00031   mPageTitleItem->setLabel( i18n("Page Title") );
00032   addItem( mPageTitleItem, QString::fromLatin1( "PageTitle" ) );
00033   mDateStartItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QString::fromLatin1( "Date Start" ), mDateStart );
00034   mDateStartItem->setLabel( i18n("Date start") );
00035   mDateStartItem->setWhatsThis( i18n("First day of the range that shall be exported to HTML.") );
00036   addItem( mDateStartItem, QString::fromLatin1( "DateStart" ) );
00037   mDateEndItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QString::fromLatin1( "Date End" ), mDateEnd );
00038   mDateEndItem->setLabel( i18n("Date end") );
00039   mDateEndItem->setWhatsThis( i18n("Last day of the range that shall be exported to HTML.") );
00040   addItem( mDateEndItem, QString::fromLatin1( "DateEnd" ) );
00041   mOutputFileItem = new KConfigSkeleton::ItemPath( currentGroup(), QString::fromLatin1( "Output File" ), mOutputFile, QString::fromLatin1( "$HOME/calendar.html" ) );
00042   mOutputFileItem->setLabel( i18n("Output filename") );
00043   mOutputFileItem->setWhatsThis( i18n("The output file name for the HTML export.") );
00044   addItem( mOutputFileItem, QString::fromLatin1( "OutputFile" ) );
00045   mStyleSheetItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Style Sheet" ), mStyleSheet );
00046   mStyleSheetItem->setLabel( i18n("Style sheet") );
00047   mStyleSheetItem->setWhatsThis( i18n("CSS style sheet to be used by the final HTML page. This string contains the actual contents of the CSS, not a path to the style sheet.") );
00048   addItem( mStyleSheetItem, QString::fromLatin1( "StyleSheet" ) );
00049   mExcludePrivateItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Exclude Private" ), mExcludePrivate, true );
00050   mExcludePrivateItem->setLabel( i18n("Exclude private incidences from the export") );
00051   addItem( mExcludePrivateItem, QString::fromLatin1( "ExcludePrivate" ) );
00052   mExcludeConfidentialItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Exclude Confidential" ), mExcludeConfidential, true );
00053   mExcludeConfidentialItem->setLabel( i18n("Exclude confidential incidences from the export") );
00054   addItem( mExcludeConfidentialItem, QString::fromLatin1( "ExcludeConfidential" ) );
00055 
00056   setCurrentGroup( QString::fromLatin1( "%1-Events" ).arg( mParamapplication ) );
00057 
00058   mEventViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Event View" ), mEventView, false );
00059   mEventViewItem->setLabel( i18n("Export events as list") );
00060   addItem( mEventViewItem, QString::fromLatin1( "EventView" ) );
00061   mMonthViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Month View" ), mMonthView, true );
00062   mMonthViewItem->setLabel( i18n("Export in month view") );
00063   addItem( mMonthViewItem, QString::fromLatin1( "MonthView" ) );
00064   mWeekViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Week View" ), mWeekView, false );
00065   mWeekViewItem->setLabel( i18n("Export in week view") );
00066   addItem( mWeekViewItem, QString::fromLatin1( "WeekView" ) );
00067   mEventTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Title" ), mEventTitle, i18n("Calendar") );
00068   mEventTitleItem->setLabel( i18n("Title of the calendar") );
00069   addItem( mEventTitleItem, QString::fromLatin1( "EventTitle" ) );
00070   mEventLocationItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Export Location" ), mEventLocation, true );
00071   mEventLocationItem->setLabel( i18n("Export location of the events") );
00072   addItem( mEventLocationItem, QString::fromLatin1( "EventLocation" ) );
00073   mEventCategoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Export Categories" ), mEventCategories, true );
00074   mEventCategoriesItem->setLabel( i18n("Export categories of the events") );
00075   addItem( mEventCategoriesItem, QString::fromLatin1( "EventCategories" ) );
00076   mEventAttendeesItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Export Attendees" ), mEventAttendees, false );
00077   mEventAttendeesItem->setLabel( i18n("Export attendees of the events") );
00078   addItem( mEventAttendeesItem, QString::fromLatin1( "EventAttendees" ) );
00079 
00080   setCurrentGroup( QString::fromLatin1( "%1-Todos" ).arg( mParamapplication ) );
00081 
00082   mTodoViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Todo View" ), mTodoView, true );
00083   mTodoViewItem->setLabel( i18n("Export to-do list") );
00084   addItem( mTodoViewItem, QString::fromLatin1( "TodoView" ) );
00085   mTodoListTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "TodoList Title" ), mTodoListTitle, i18n("To-do List") );
00086   mTodoListTitleItem->setLabel( i18n("Title of the to-do list") );
00087   addItem( mTodoListTitleItem, QString::fromLatin1( "TodoListTitle" ) );
00088   mTaskDueDateItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Export Due Date" ), mTaskDueDate, true );
00089   mTaskDueDateItem->setLabel( i18n("Export due dates of the to-dos") );
00090   addItem( mTaskDueDateItem, QString::fromLatin1( "TaskDueDate" ) );
00091   mTaskLocationItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Export Location" ), mTaskLocation, true );
00092   mTaskLocationItem->setLabel( i18n("Export location of the to-dos") );
00093   addItem( mTaskLocationItem, QString::fromLatin1( "TaskLocation" ) );
00094   mTaskCategoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Export Categories" ), mTaskCategories, true );
00095   mTaskCategoriesItem->setLabel( i18n("Export categories of the to-dos") );
00096   addItem( mTaskCategoriesItem, QString::fromLatin1( "TaskCategories" ) );
00097   mTaskAttendeesItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Export Attendees" ), mTaskAttendees, false );
00098   mTaskAttendeesItem->setLabel( i18n("Export attendees of the to-dos") );
00099   addItem( mTaskAttendeesItem, QString::fromLatin1( "TaskAttendees" ) );
00100 
00101   setCurrentGroup( QString::fromLatin1( "%1-Journals" ).arg( mParamapplication ) );
00102 
00103   mJournalViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "Journal View" ), mJournalView, false );
00104   mJournalViewItem->setLabel( i18n("Export journals") );
00105   addItem( mJournalViewItem, QString::fromLatin1( "JournalView" ) );
00106   mJournalTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Journal Title" ), mJournalTitle, i18n("Journals") );
00107   mJournalTitleItem->setLabel( i18n("Title of the journal list") );
00108   addItem( mJournalTitleItem, QString::fromLatin1( "JournalTitle" ) );
00109 
00110   setCurrentGroup( QString::fromLatin1( "%1-FreeBusy" ).arg( mParamapplication ) );
00111 
00112   mFreeBusyViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "FreeBusy View" ), mFreeBusyView, false );
00113   mFreeBusyViewItem->setLabel( i18n("Export journals") );
00114   addItem( mFreeBusyViewItem, QString::fromLatin1( "FreeBusyView" ) );
00115   mFreeBusyTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Free/Busy Title" ), mFreeBusyTitle, i18n("Busy times") );
00116   mFreeBusyTitleItem->setLabel( i18n("Title of the free/busy list") );
00117   addItem( mFreeBusyTitleItem, QString::fromLatin1( "FreeBusyTitle" ) );
00118 }
00119 
00120 HTMLExportSettings::~HTMLExportSettings()
00121 {
00122 }
00123 
KDE Home | KDE Accessibility Home | Description of Access Keys