3 #ifndef KCAL_HTMLEXPORTSETTINGS_H
4 #define KCAL_HTMLEXPORTSETTINGS_H
6 #include <kconfigskeleton.h>
9 #include <kcal/kcal_export.h>
12 class KCAL_EXPORT HTMLExportSettings :
public KConfigSkeleton
16 HTMLExportSettings(
const QString & application );
17 ~HTMLExportSettings();
22 void setName(
const QString & v )
24 if (!isImmutable( QString::fromLatin1(
"Name" ) ))
39 ItemString *nameItem()
47 void setEMail(
const QString & v )
49 if (!isImmutable( QString::fromLatin1(
"EMail" ) ))
64 ItemString *eMailItem()
72 void setCreditName(
const QString & v )
74 if (!isImmutable( QString::fromLatin1(
"CreditName" ) ))
81 QString creditName()
const
89 ItemString *creditNameItem()
91 return mCreditNameItem;
97 void setCreditURL(
const QString & v )
99 if (!isImmutable( QString::fromLatin1(
"CreditURL" ) ))
106 QString creditURL()
const
114 ItemString *creditURLItem()
116 return mCreditURLItem;
122 void setPageTitle(
const QString & v )
124 if (!isImmutable( QString::fromLatin1(
"PageTitle" ) ))
131 QString pageTitle()
const
139 ItemString *pageTitleItem()
141 return mPageTitleItem;
147 void setDateStart(
const QDateTime & v )
149 if (!isImmutable( QString::fromLatin1(
"DateStart" ) ))
156 QDateTime dateStart()
const
164 ItemDateTime *dateStartItem()
166 return mDateStartItem;
172 void setDateEnd(
const QDateTime & v )
174 if (!isImmutable( QString::fromLatin1(
"DateEnd" ) ))
181 QDateTime dateEnd()
const
189 ItemDateTime *dateEndItem()
197 void setOutputFile(
const QString & v )
199 if (!isImmutable( QString::fromLatin1(
"OutputFile" ) ))
206 QString outputFile()
const
214 ItemPath *outputFileItem()
216 return mOutputFileItem;
222 void setStyleSheet(
const QString & v )
224 if (!isImmutable( QString::fromLatin1(
"StyleSheet" ) ))
231 QString styleSheet()
const
239 ItemString *styleSheetItem()
241 return mStyleSheetItem;
247 void setExcludePrivate(
bool v )
249 if (!isImmutable( QString::fromLatin1(
"ExcludePrivate" ) ))
256 bool excludePrivate()
const
258 return mExcludePrivate;
264 ItemBool *excludePrivateItem()
266 return mExcludePrivateItem;
272 void setExcludeConfidential(
bool v )
274 if (!isImmutable( QString::fromLatin1(
"ExcludeConfidential" ) ))
275 mExcludeConfidential = v;
281 bool excludeConfidential()
const
283 return mExcludeConfidential;
289 ItemBool *excludeConfidentialItem()
291 return mExcludeConfidentialItem;
297 void setEventView(
bool v )
299 if (!isImmutable( QString::fromLatin1(
"EventView" ) ))
306 bool eventView()
const
314 ItemBool *eventViewItem()
316 return mEventViewItem;
322 void setMonthView(
bool v )
324 if (!isImmutable( QString::fromLatin1(
"MonthView" ) ))
331 bool monthView()
const
339 ItemBool *monthViewItem()
341 return mMonthViewItem;
347 void setWeekView(
bool v )
349 if (!isImmutable( QString::fromLatin1(
"WeekView" ) ))
356 bool weekView()
const
364 ItemBool *weekViewItem()
366 return mWeekViewItem;
372 void setEventTitle(
const QString & v )
374 if (!isImmutable( QString::fromLatin1(
"EventTitle" ) ))
381 QString eventTitle()
const
389 ItemString *eventTitleItem()
391 return mEventTitleItem;
397 void setEventLocation(
bool v )
399 if (!isImmutable( QString::fromLatin1(
"EventLocation" ) ))
406 bool eventLocation()
const
408 return mEventLocation;
414 ItemBool *eventLocationItem()
416 return mEventLocationItem;
422 void setEventCategories(
bool v )
424 if (!isImmutable( QString::fromLatin1(
"EventCategories" ) ))
425 mEventCategories = v;
431 bool eventCategories()
const
433 return mEventCategories;
439 ItemBool *eventCategoriesItem()
441 return mEventCategoriesItem;
447 void setEventAttendees(
bool v )
449 if (!isImmutable( QString::fromLatin1(
"EventAttendees" ) ))
456 bool eventAttendees()
const
458 return mEventAttendees;
464 ItemBool *eventAttendeesItem()
466 return mEventAttendeesItem;
472 void setTodoView(
bool v )
474 if (!isImmutable( QString::fromLatin1(
"TodoView" ) ))
481 bool todoView()
const
489 ItemBool *todoViewItem()
491 return mTodoViewItem;
497 void setTodoListTitle(
const QString & v )
499 if (!isImmutable( QString::fromLatin1(
"TodoListTitle" ) ))
506 QString todoListTitle()
const
508 return mTodoListTitle;
514 ItemString *todoListTitleItem()
516 return mTodoListTitleItem;
522 void setTaskDueDate(
bool v )
524 if (!isImmutable( QString::fromLatin1(
"TaskDueDate" ) ))
531 bool taskDueDate()
const
539 ItemBool *taskDueDateItem()
541 return mTaskDueDateItem;
547 void setTaskLocation(
bool v )
549 if (!isImmutable( QString::fromLatin1(
"TaskLocation" ) ))
556 bool taskLocation()
const
558 return mTaskLocation;
564 ItemBool *taskLocationItem()
566 return mTaskLocationItem;
572 void setTaskCategories(
bool v )
574 if (!isImmutable( QString::fromLatin1(
"TaskCategories" ) ))
581 bool taskCategories()
const
583 return mTaskCategories;
589 ItemBool *taskCategoriesItem()
591 return mTaskCategoriesItem;
597 void setTaskAttendees(
bool v )
599 if (!isImmutable( QString::fromLatin1(
"TaskAttendees" ) ))
606 bool taskAttendees()
const
608 return mTaskAttendees;
614 ItemBool *taskAttendeesItem()
616 return mTaskAttendeesItem;
622 void setJournalView(
bool v )
624 if (!isImmutable( QString::fromLatin1(
"JournalView" ) ))
631 bool journalView()
const
639 ItemBool *journalViewItem()
641 return mJournalViewItem;
647 void setJournalTitle(
const QString & v )
649 if (!isImmutable( QString::fromLatin1(
"JournalTitle" ) ))
656 QString journalTitle()
const
658 return mJournalTitle;
664 ItemString *journalTitleItem()
666 return mJournalTitleItem;
672 void setFreeBusyView(
bool v )
674 if (!isImmutable( QString::fromLatin1(
"FreeBusyView" ) ))
681 bool freeBusyView()
const
683 return mFreeBusyView;
689 ItemBool *freeBusyViewItem()
691 return mFreeBusyViewItem;
697 void setFreeBusyTitle(
const QString & v )
699 if (!isImmutable( QString::fromLatin1(
"FreeBusyTitle" ) ))
706 QString freeBusyTitle()
const
708 return mFreeBusyTitle;
714 ItemString *freeBusyTitleItem()
716 return mFreeBusyTitleItem;
721 QString mParamapplication;
729 QDateTime mDateStart;
733 bool mExcludePrivate;
734 bool mExcludeConfidential;
742 bool mEventCategories;
743 bool mEventAttendees;
747 QString mTodoListTitle;
750 bool mTaskCategories;
755 QString mJournalTitle;
759 QString mFreeBusyTitle;
762 ItemString *mNameItem;
763 ItemString *mEMailItem;
764 ItemString *mCreditNameItem;
765 ItemString *mCreditURLItem;
766 ItemString *mPageTitleItem;
767 ItemDateTime *mDateStartItem;
768 ItemDateTime *mDateEndItem;
769 ItemPath *mOutputFileItem;
770 ItemString *mStyleSheetItem;
771 ItemBool *mExcludePrivateItem;
772 ItemBool *mExcludeConfidentialItem;
773 ItemBool *mEventViewItem;
774 ItemBool *mMonthViewItem;
775 ItemBool *mWeekViewItem;
776 ItemString *mEventTitleItem;
777 ItemBool *mEventLocationItem;
778 ItemBool *mEventCategoriesItem;
779 ItemBool *mEventAttendeesItem;
780 ItemBool *mTodoViewItem;
781 ItemString *mTodoListTitleItem;
782 ItemBool *mTaskDueDateItem;
783 ItemBool *mTaskLocationItem;
784 ItemBool *mTaskCategoriesItem;
785 ItemBool *mTaskAttendeesItem;
786 ItemBool *mJournalViewItem;
787 ItemString *mJournalTitleItem;
788 ItemBool *mFreeBusyViewItem;
789 ItemString *mFreeBusyTitleItem;