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

korganizer

  • sources
  • kde-4.12
  • kdepim
  • korganizer
htmlexportsettings.cpp
Go to the documentation of this file.
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 KOrg;
9 
10 HTMLExportSettings::HTMLExportSettings( const QString & application )
11  : KConfigSkeleton( QLatin1String( "korganizer_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->setToolTip( i18n("The full name of the calendar owner for the export") );
19  mNameItem->setWhatsThis( i18n("Enter the full name to print for the owner of the calendar.") );
20  addItem( mNameItem, QLatin1String( "Name" ) );
21  mEMailItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "EMail" ), mEMail );
22  mEMailItem->setLabel( i18n("Email of the calendar owner") );
23  mEMailItem->setToolTip( i18n("The email address of the calendar owner for the export") );
24  mEMailItem->setWhatsThis( i18n("Enter the email address to print for the owner of the calendar.") );
25  addItem( mEMailItem, QLatin1String( "EMail" ) );
26  mCreditNameItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Credit Name" ), mCreditName );
27  mCreditNameItem->setLabel( i18n("Creator application") );
28  mCreditNameItem->setToolTip( i18n("Creator application of the calendar") );
29  mCreditNameItem->setWhatsThis( i18n("Enter a creator application of the calendar, for example KOrganizer.") );
30  addItem( mCreditNameItem, QLatin1String( "CreditName" ) );
31  mCreditURLItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Credit URL" ), mCreditURL );
32  mCreditURLItem->setLabel( i18n("Creator URL") );
33  mCreditURLItem->setToolTip( i18n("URL of the creator application of the calendar.") );
34  mCreditURLItem->setWhatsThis( i18n("Enter the URL of the creator application of the calendar, for example http://userbase.kde.org/KOrganizer") );
35  addItem( mCreditURLItem, QLatin1String( "CreditURL" ) );
36  mPageTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Page Title" ), mPageTitle, i18n("Calendar") );
37  mPageTitleItem->setLabel( i18n("Page Title") );
38  mPageTitleItem->setToolTip( i18n("The title of the exported page") );
39  mPageTitleItem->setWhatsThis( i18n("Enter a title for the HTML page.") );
40  addItem( mPageTitleItem, QLatin1String( "PageTitle" ) );
41  mDateStartItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "Date Start" ), mDateStart );
42  mDateStartItem->setLabel( i18n("Date start") );
43  mDateStartItem->setToolTip( i18n("First day of the range to export") );
44  mDateStartItem->setWhatsThis( i18n("First day of the range that shall be exported to HTML.") );
45  addItem( mDateStartItem, QLatin1String( "DateStart" ) );
46  mDateEndItem = new KConfigSkeleton::ItemDateTime( currentGroup(), QLatin1String( "Date End" ), mDateEnd );
47  mDateEndItem->setLabel( i18n("Date end") );
48  mDateEndItem->setToolTip( i18n("Last day of the range to export") );
49  mDateEndItem->setWhatsThis( i18n("Last day of the range that shall be exported to HTML.") );
50  addItem( mDateEndItem, QLatin1String( "DateEnd" ) );
51  mOutputFileItem = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "Output File" ), mOutputFile, QLatin1String( "$HOME/calendar.html" ) );
52  mOutputFileItem->setLabel( i18n("Output filename") );
53  mOutputFileItem->setToolTip( i18n("The file name for the export") );
54  mOutputFileItem->setWhatsThis( i18n("The output file name for the HTML export.") );
55  addItem( mOutputFileItem, QLatin1String( "OutputFile" ) );
56  mStyleSheetItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Style Sheet" ), mStyleSheet );
57  mStyleSheetItem->setLabel( i18n("Style sheet") );
58  mStyleSheetItem->setToolTip( i18n("CSS style sheet to use by the final HTML page") );
59  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.") );
60  addItem( mStyleSheetItem, QLatin1String( "StyleSheet" ) );
61  mExcludePrivateItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Exclude Private" ), mExcludePrivate, true );
62  mExcludePrivateItem->setLabel( i18n("Exclude private incidences from the export") );
63  mExcludePrivateItem->setToolTip( i18n("Exclude private items from the export") );
64  mExcludePrivateItem->setWhatsThis( i18n("Check this box if you do NOT want to export your private items.") );
65  addItem( mExcludePrivateItem, QLatin1String( "ExcludePrivate" ) );
66  mExcludeConfidentialItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Exclude Confidential" ), mExcludeConfidential, true );
67  mExcludeConfidentialItem->setLabel( i18n("Exclude confidential incidences from the export") );
68  mExcludeConfidentialItem->setToolTip( i18n("Exclude confidential items from the export") );
69  mExcludeConfidentialItem->setWhatsThis( i18n("Check this box if you do NOT want to export your confidential items.") );
70  addItem( mExcludeConfidentialItem, QLatin1String( "ExcludeConfidential" ) );
71 
72  setCurrentGroup( QString( QLatin1String( "%1-Events" ) ).arg( mParamapplication ) );
73 
74  mEventViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Event View" ), mEventView, false );
75  mEventViewItem->setLabel( i18n("Export events as list") );
76  mEventViewItem->setToolTip( i18n("Export events as a list") );
77  mEventViewItem->setWhatsThis( i18n("Check this box if you want your events shown as a list.") );
78  addItem( mEventViewItem, QLatin1String( "EventView" ) );
79  mMonthViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Month View" ), mMonthView, true );
80  mMonthViewItem->setLabel( i18n("Export in month view") );
81  mMonthViewItem->setToolTip( i18n("Export events in a month view") );
82  mMonthViewItem->setWhatsThis( i18n("Check this box if you want your events shown in a month view.") );
83  addItem( mMonthViewItem, QLatin1String( "MonthView" ) );
84  mWeekViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Week View" ), mWeekView, false );
85  mWeekViewItem->setLabel( i18n("Export in week view") );
86  mWeekViewItem->setToolTip( i18n("Export events in a week view") );
87  mWeekViewItem->setWhatsThis( i18n("Check this box if you want your events shown in a week view.") );
88  addItem( mWeekViewItem, QLatin1String( "WeekView" ) );
89  mEventTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Title" ), mEventTitle, i18n("Calendar") );
90  mEventTitleItem->setLabel( i18n("Title of the calendar") );
91  mEventTitleItem->setToolTip( i18n("Title for the event calendar") );
92  mEventTitleItem->setWhatsThis( i18n("Enter a string to use for the title of the event calendar.") );
93  addItem( mEventTitleItem, QLatin1String( "EventTitle" ) );
94  mEventLocationItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Location" ), mEventLocation, true );
95  mEventLocationItem->setLabel( i18n("Export location of the events") );
96  mEventLocationItem->setToolTip( i18n("Include the event locations") );
97  mEventLocationItem->setWhatsThis( i18n("Check this box if you want the event locations to be exported, only if the event has a location.") );
98  addItem( mEventLocationItem, QLatin1String( "EventLocation" ) );
99  mEventCategoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Categories" ), mEventCategories, true );
100  mEventCategoriesItem->setLabel( i18n("Export categories of the events") );
101  mEventCategoriesItem->setToolTip( i18n("Include the event categories") );
102  mEventCategoriesItem->setWhatsThis( i18n("Check this box if you want the event categories to be exported.") );
103  addItem( mEventCategoriesItem, QLatin1String( "EventCategories" ) );
104  mEventAttendeesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Attendees" ), mEventAttendees, false );
105  mEventAttendeesItem->setLabel( i18n("Export attendees of the events") );
106  mEventAttendeesItem->setToolTip( i18n("Include the event attendees") );
107  mEventAttendeesItem->setWhatsThis( i18n("Check this box if you want the event attendees to be exported.") );
108  addItem( mEventAttendeesItem, QLatin1String( "EventAttendees" ) );
109 
110  setCurrentGroup( QString( QLatin1String( "%1-Todos" ) ).arg( mParamapplication ) );
111 
112  mTodoViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Todo View" ), mTodoView, true );
113  mTodoViewItem->setLabel( i18n("Export to-do list") );
114  mTodoViewItem->setToolTip( i18n("Export the to-do list") );
115  mTodoViewItem->setWhatsThis( i18n("Check this box if you want your to-do list to also be exported to the HTML.") );
116  addItem( mTodoViewItem, QLatin1String( "TodoView" ) );
117  mTodoListTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "TodoList Title" ), mTodoListTitle, i18n("To-do List") );
118  mTodoListTitleItem->setLabel( i18n("Title of the to-do list") );
119  mTodoListTitleItem->setToolTip( i18n("Title for the to-do list") );
120  mTodoListTitleItem->setWhatsThis( i18n("Enter a string to use for the title of the to-do list.") );
121  addItem( mTodoListTitleItem, QLatin1String( "TodoListTitle" ) );
122  mTaskDueDateItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Due Date" ), mTaskDueDate, true );
123  mTaskDueDateItem->setLabel( i18n("Export due dates of the to-dos") );
124  mTaskDueDateItem->setToolTip( i18n("Include to-do due dates") );
125  mTaskDueDateItem->setWhatsThis( i18n("Check this box if you want the to-do list due dates to be exported, if the to-do does have a due date.") );
126  addItem( mTaskDueDateItem, QLatin1String( "TaskDueDate" ) );
127  mTaskLocationItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Location" ), mTaskLocation, true );
128  mTaskLocationItem->setLabel( i18n("Export location of the to-dos") );
129  mTaskLocationItem->setToolTip( i18n("Include the to-do locations") );
130  mTaskLocationItem->setWhatsThis( i18n("Check this box if you want the to-do locations to be exported, only if the to-do has a location.") );
131  addItem( mTaskLocationItem, QLatin1String( "TaskLocation" ) );
132  mTaskCategoriesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Categories" ), mTaskCategories, true );
133  mTaskCategoriesItem->setLabel( i18n("Export categories of the to-dos") );
134  mTaskCategoriesItem->setToolTip( i18n("Include the to-do categories") );
135  mTaskCategoriesItem->setWhatsThis( i18n("Check this box if you want the to-do categories to be exported.") );
136  addItem( mTaskCategoriesItem, QLatin1String( "TaskCategories" ) );
137  mTaskAttendeesItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Export Attendees" ), mTaskAttendees, false );
138  mTaskAttendeesItem->setLabel( i18n("Export attendees of the to-dos") );
139  mTaskAttendeesItem->setToolTip( i18n("Include the to-do attendees") );
140  mTaskAttendeesItem->setWhatsThis( i18n("Check this box if you want the to-do attendees to be exported.") );
141  addItem( mTaskAttendeesItem, QLatin1String( "TaskAttendees" ) );
142 
143  setCurrentGroup( QString( QLatin1String( "%1-Journals" ) ).arg( mParamapplication ) );
144 
145  mJournalViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Journal View" ), mJournalView, false );
146  mJournalViewItem->setLabel( i18n("Export journals") );
147  mJournalViewItem->setToolTip( i18n("Export journals") );
148  mJournalViewItem->setWhatsThis( i18n("Check this box if you want to export journals as well.") );
149  addItem( mJournalViewItem, QLatin1String( "JournalView" ) );
150  mJournalTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Journal Title" ), mJournalTitle, i18n("Journals") );
151  mJournalTitleItem->setLabel( i18n("Title of the journal list") );
152  mJournalTitleItem->setToolTip( i18n("Title for the journal list") );
153  mJournalTitleItem->setWhatsThis( i18n("Enter a title for the Journal list, if Journals are exported.") );
154  addItem( mJournalTitleItem, QLatin1String( "JournalTitle" ) );
155 
156  setCurrentGroup( QString( QLatin1String( "%1-FreeBusy" ) ).arg( mParamapplication ) );
157 
158  mFreeBusyViewItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "FreeBusy View" ), mFreeBusyView, false );
159  mFreeBusyViewItem->setLabel( i18n("Export free/busy list") );
160  mFreeBusyViewItem->setToolTip( i18n("Export free/busy list") );
161  mFreeBusyViewItem->setWhatsThis( i18n("Check this box if you want to export free/busy information as well.") );
162  addItem( mFreeBusyViewItem, QLatin1String( "FreeBusyView" ) );
163  mFreeBusyTitleItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Free/Busy Title" ), mFreeBusyTitle, i18n("Busy times") );
164  mFreeBusyTitleItem->setLabel( i18n("Title of the free/busy list") );
165  mFreeBusyTitleItem->setToolTip( i18n("Title for the free/busy list") );
166  mFreeBusyTitleItem->setWhatsThis( i18n("Enter a title for the free/busy list, if free/busy times are exported.") );
167  addItem( mFreeBusyTitleItem, QLatin1String( "FreeBusyTitle" ) );
168 }
169 
170 HTMLExportSettings::~HTMLExportSettings()
171 {
172 }
173 
KOrg::HTMLExportSettings::mFreeBusyView
bool mFreeBusyView
Definition: htmlexportsettings.h:758
KOrg::HTMLExportSettings::mMonthView
bool mMonthView
Definition: htmlexportsettings.h:738
KOrg::HTMLExportSettings::mTaskAttendees
bool mTaskAttendees
Definition: htmlexportsettings.h:751
KOrg::HTMLExportSettings::mEventLocation
bool mEventLocation
Definition: htmlexportsettings.h:741
KOrg::HTMLExportSettings::mStyleSheet
QString mStyleSheet
Definition: htmlexportsettings.h:732
KOrg::HTMLExportSettings::mFreeBusyTitle
QString mFreeBusyTitle
Definition: htmlexportsettings.h:759
KOrg::HTMLExportSettings::mTaskLocation
bool mTaskLocation
Definition: htmlexportsettings.h:749
KConfigSkeleton
KOrg::HTMLExportSettings::mExcludeConfidential
bool mExcludeConfidential
Definition: htmlexportsettings.h:734
KOrg::HTMLExportSettings::mWeekView
bool mWeekView
Definition: htmlexportsettings.h:739
KOrg::HTMLExportSettings::mName
QString mName
Definition: htmlexportsettings.h:724
KOrg::HTMLExportSettings::mCreditName
QString mCreditName
Definition: htmlexportsettings.h:726
KOrg::HTMLExportSettings::mTaskCategories
bool mTaskCategories
Definition: htmlexportsettings.h:750
KOrg::HTMLExportSettings::mParamapplication
QString mParamapplication
Definition: htmlexportsettings.h:721
KOrg::HTMLExportSettings::mDateStart
QDateTime mDateStart
Definition: htmlexportsettings.h:729
KOrg::HTMLExportSettings::mExcludePrivate
bool mExcludePrivate
Definition: htmlexportsettings.h:733
KOrg::HTMLExportSettings::mEventTitle
QString mEventTitle
Definition: htmlexportsettings.h:740
KOrg::HTMLExportSettings::~HTMLExportSettings
~HTMLExportSettings()
Definition: htmlexportsettings.cpp:170
KOrg::HTMLExportSettings::mJournalTitle
QString mJournalTitle
Definition: htmlexportsettings.h:755
KOrg::HTMLExportSettings::mDateEnd
QDateTime mDateEnd
Definition: htmlexportsettings.h:730
KOrg::HTMLExportSettings::mTodoListTitle
QString mTodoListTitle
Definition: htmlexportsettings.h:747
KOrg::HTMLExportSettings::mEventAttendees
bool mEventAttendees
Definition: htmlexportsettings.h:743
KOrg::HTMLExportSettings::mOutputFile
QString mOutputFile
Definition: htmlexportsettings.h:731
KOrg::HTMLExportSettings::mEMail
QString mEMail
Definition: htmlexportsettings.h:725
KOrg::HTMLExportSettings::HTMLExportSettings
HTMLExportSettings(const QString &application)
Definition: htmlexportsettings.cpp:10
KOrg::HTMLExportSettings::mCreditURL
QString mCreditURL
Definition: htmlexportsettings.h:727
KOrg::HTMLExportSettings::mTaskDueDate
bool mTaskDueDate
Definition: htmlexportsettings.h:748
KOrg::HTMLExportSettings::mEventCategories
bool mEventCategories
Definition: htmlexportsettings.h:742
htmlexportsettings.h
KOrg::HTMLExportSettings::mTodoView
bool mTodoView
Definition: htmlexportsettings.h:746
KOrg::HTMLExportSettings::mJournalView
bool mJournalView
Definition: htmlexportsettings.h:754
KOrg::HTMLExportSettings::mEventView
bool mEventView
Definition: htmlexportsettings.h:737
KOrg::HTMLExportSettings::mPageTitle
QString mPageTitle
Definition: htmlexportsettings.h:728
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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