• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KCal Library

  • sources
  • kde-4.12
  • kdepimlibs
  • kcal
htmlexportsettings.cpp
1 // This file is generated by kconfig_compiler from htmlexportsettings.kcfg.
2 // All changes you do to this file will be lost.
3 
4 #include "htmlexportsettings.h"
5 
6 #include <klocale.h>
7 
8 using namespace KCal;
9 
10 HTMLExportSettings::HTMLExportSettings( const QString & application )
11  : KConfigSkeleton( QLatin1String( "libkcal_htmlexportrc" ) )
12  , mParamapplication(application)
13 {
14  setCurrentGroup( QString( QLatin1String( "%1-General" ) ).arg( mParamapplication ) );
15 
16  mNameItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Name" ), mName );
17  mNameItem->setLabel( i18n("Full name of the calendar owner") );
18  mNameItem->setWhatsThis( i18n("WhatsThis text for FullName setting") );
19  addItem( mNameItem, QLatin1String( "Name" ) );
20  mEMailItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "EMail" ), mEMail );
21  mEMailItem->setLabel( i18n("Email of the calendar owner") );
22  mEMailItem->setWhatsThis( i18n("WhatsThis text for Email setting") );
23  addItem( mEMailItem, QLatin1String( "EMail" ) );
24  mCreditNameItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Credit Name" ), mCreditName );
25  mCreditNameItem->setLabel( i18n("Creator application") );
26  mCreditNameItem->setWhatsThis( i18n("Creator application of the calendar") );
27  addItem( mCreditNameItem, QLatin1String( "CreditName" ) );
28  mCreditURLItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Credit URL" ), mCreditURL );
29  mCreditURLItem->setLabel( i18n("Creator URL") );
30  mCreditURLItem->setWhatsThis( i18n("URL of the creator application of the calendar.") );
31  addItem( mCreditURLItem, QLatin1String( "CreditURL" ) );
32  mPageTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Page Title" ), mPageTitle, i18n("Calendar") );
33  mPageTitleItem->setLabel( i18n("Page Title") );
34  addItem( mPageTitleItem, QLatin1String( "PageTitle" ) );
35  mDateStartItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "Date Start" ), mDateStart );
36  mDateStartItem->setLabel( i18n("Date start") );
37  mDateStartItem->setWhatsThis( i18n("First day of the range that shall be exported to HTML.") );
38  addItem( mDateStartItem, QLatin1String( "DateStart" ) );
39  mDateEndItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "Date End" ), mDateEnd );
40  mDateEndItem->setLabel( i18n("Date end") );
41  mDateEndItem->setWhatsThis( i18n("Last day of the range that shall be exported to HTML.") );
42  addItem( mDateEndItem, QLatin1String( "DateEnd" ) );
43  mOutputFileItem = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "Output File" ), mOutputFile, QLatin1String( "$HOME/calendar.html" ) );
44  mOutputFileItem->setLabel( i18n("Output filename") );
45  mOutputFileItem->setWhatsThis( i18n("The output file name for the HTML export.") );
46  addItem( mOutputFileItem, QLatin1String( "OutputFile" ) );
47  mStyleSheetItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Style Sheet" ), mStyleSheet );
48  mStyleSheetItem->setLabel( i18n("Style sheet") );
49  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.") );
50  addItem( mStyleSheetItem, QLatin1String( "StyleSheet" ) );
51  mExcludePrivateItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Exclude Private" ), mExcludePrivate, true );
52  mExcludePrivateItem->setLabel( i18n("Exclude private incidences from the export") );
53  addItem( mExcludePrivateItem, QLatin1String( "ExcludePrivate" ) );
54  mExcludeConfidentialItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Exclude Confidential" ), mExcludeConfidential, true );
55  mExcludeConfidentialItem->setLabel( i18n("Exclude confidential incidences from the export") );
56  addItem( mExcludeConfidentialItem, QLatin1String( "ExcludeConfidential" ) );
57 
58  setCurrentGroup( QString( QLatin1String( "%1-Events" ) ).arg( mParamapplication ) );
59 
60  mEventViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Event View" ), mEventView, false );
61  mEventViewItem->setLabel( i18n("Export events as list") );
62  addItem( mEventViewItem, QLatin1String( "EventView" ) );
63  mMonthViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Month View" ), mMonthView, true );
64  mMonthViewItem->setLabel( i18n("Export in month view") );
65  addItem( mMonthViewItem, QLatin1String( "MonthView" ) );
66  mWeekViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Week View" ), mWeekView, false );
67  mWeekViewItem->setLabel( i18n("Export in week view") );
68  addItem( mWeekViewItem, QLatin1String( "WeekView" ) );
69  mEventTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Title" ), mEventTitle, i18n("Calendar") );
70  mEventTitleItem->setLabel( i18n("Title of the calendar") );
71  addItem( mEventTitleItem, QLatin1String( "EventTitle" ) );
72  mEventLocationItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Location" ), mEventLocation, true );
73  mEventLocationItem->setLabel( i18n("Export location of the events") );
74  addItem( mEventLocationItem, QLatin1String( "EventLocation" ) );
75  mEventCategoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Categories" ), mEventCategories, true );
76  mEventCategoriesItem->setLabel( i18n("Export categories of the events") );
77  addItem( mEventCategoriesItem, QLatin1String( "EventCategories" ) );
78  mEventAttendeesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Attendees" ), mEventAttendees, false );
79  mEventAttendeesItem->setLabel( i18n("Export attendees of the events") );
80  addItem( mEventAttendeesItem, QLatin1String( "EventAttendees" ) );
81 
82  setCurrentGroup( QString( QLatin1String( "%1-Todos" ) ).arg( mParamapplication ) );
83 
84  mTodoViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Todo View" ), mTodoView, true );
85  mTodoViewItem->setLabel( i18n("Export to-do list") );
86  addItem( mTodoViewItem, QLatin1String( "TodoView" ) );
87  mTodoListTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "TodoList Title" ), mTodoListTitle, i18n("To-do List") );
88  mTodoListTitleItem->setLabel( i18n("Title of the to-do list") );
89  addItem( mTodoListTitleItem, QLatin1String( "TodoListTitle" ) );
90  mTaskDueDateItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Due Date" ), mTaskDueDate, true );
91  mTaskDueDateItem->setLabel( i18n("Export due dates of the to-dos") );
92  addItem( mTaskDueDateItem, QLatin1String( "TaskDueDate" ) );
93  mTaskLocationItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Location" ), mTaskLocation, true );
94  mTaskLocationItem->setLabel( i18n("Export location of the to-dos") );
95  addItem( mTaskLocationItem, QLatin1String( "TaskLocation" ) );
96  mTaskCategoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Categories" ), mTaskCategories, true );
97  mTaskCategoriesItem->setLabel( i18n("Export categories of the to-dos") );
98  addItem( mTaskCategoriesItem, QLatin1String( "TaskCategories" ) );
99  mTaskAttendeesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Attendees" ), mTaskAttendees, false );
100  mTaskAttendeesItem->setLabel( i18n("Export attendees of the to-dos") );
101  addItem( mTaskAttendeesItem, QLatin1String( "TaskAttendees" ) );
102 
103  setCurrentGroup( QString( QLatin1String( "%1-Journals" ) ).arg( mParamapplication ) );
104 
105  mJournalViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Journal View" ), mJournalView, false );
106  mJournalViewItem->setLabel( i18n("Export journals") );
107  addItem( mJournalViewItem, QLatin1String( "JournalView" ) );
108  mJournalTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Journal Title" ), mJournalTitle, i18n("Journals") );
109  mJournalTitleItem->setLabel( i18n("Title of the journal list") );
110  addItem( mJournalTitleItem, QLatin1String( "JournalTitle" ) );
111 
112  setCurrentGroup( QString( QLatin1String( "%1-FreeBusy" ) ).arg( mParamapplication ) );
113 
114  mFreeBusyViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "FreeBusy View" ), mFreeBusyView, false );
115  mFreeBusyViewItem->setLabel( i18n("Export journals") );
116  addItem( mFreeBusyViewItem, QLatin1String( "FreeBusyView" ) );
117  mFreeBusyTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Free/Busy Title" ), mFreeBusyTitle, i18n("Busy times") );
118  mFreeBusyTitleItem->setLabel( i18n("Title of the free/busy list") );
119  addItem( mFreeBusyTitleItem, QLatin1String( "FreeBusyTitle" ) );
120 }
121 
122 HTMLExportSettings::~HTMLExportSettings()
123 {
124 }
125 
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCal Library

Skip menu "KCal Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal