1 | // This file is generated by kconfig_compiler from htmlexportsettings.kcfg. |
2 | // All changes you do to this file will be lost. |
3 | #ifndef KCALUTILS_HTMLEXPORTSETTINGS_H |
4 | #define KCALUTILS_HTMLEXPORTSETTINGS_H |
5 | |
6 | #include <kconfigskeleton.h> |
7 | #include <kdebug.h> |
8 | |
9 | #include <kcalutils/kcalutils_export.h> |
10 | namespace KCalUtils { |
11 | |
12 | class KCALUTILS_EXPORT HTMLExportSettings : public KConfigSkeleton |
13 | { |
14 | public: |
15 | |
16 | HTMLExportSettings( const QString & application ); |
17 | ~HTMLExportSettings(); |
18 | |
19 | /** |
20 | Set Full name of the calendar owner |
21 | */ |
22 | void setName( const QString & v ) |
23 | { |
24 | if (!isImmutable( QString::fromLatin1( "Name" ) )) |
25 | mName = v; |
26 | } |
27 | |
28 | /** |
29 | Get Full name of the calendar owner |
30 | */ |
31 | QString name() const |
32 | { |
33 | return mName; |
34 | } |
35 | |
36 | /** |
37 | Get Item object corresponding to Name() |
38 | */ |
39 | ItemString *nameItem() |
40 | { |
41 | return mNameItem; |
42 | } |
43 | |
44 | /** |
45 | Set Email of the calendar owner |
46 | */ |
47 | void setEMail( const QString & v ) |
48 | { |
49 | if (!isImmutable( QString::fromLatin1( "EMail" ) )) |
50 | mEMail = v; |
51 | } |
52 | |
53 | /** |
54 | Get Email of the calendar owner |
55 | */ |
56 | QString eMail() const |
57 | { |
58 | return mEMail; |
59 | } |
60 | |
61 | /** |
62 | Get Item object corresponding to EMail() |
63 | */ |
64 | ItemString *eMailItem() |
65 | { |
66 | return mEMailItem; |
67 | } |
68 | |
69 | /** |
70 | Set Creator application |
71 | */ |
72 | void setCreditName( const QString & v ) |
73 | { |
74 | if (!isImmutable( QString::fromLatin1( "CreditName" ) )) |
75 | mCreditName = v; |
76 | } |
77 | |
78 | /** |
79 | Get Creator application |
80 | */ |
81 | QString creditName() const |
82 | { |
83 | return mCreditName; |
84 | } |
85 | |
86 | /** |
87 | Get Item object corresponding to CreditName() |
88 | */ |
89 | ItemString *creditNameItem() |
90 | { |
91 | return mCreditNameItem; |
92 | } |
93 | |
94 | /** |
95 | Set Creator URL |
96 | */ |
97 | void setCreditURL( const QString & v ) |
98 | { |
99 | if (!isImmutable( QString::fromLatin1( "CreditURL" ) )) |
100 | mCreditURL = v; |
101 | } |
102 | |
103 | /** |
104 | Get Creator URL |
105 | */ |
106 | QString creditURL() const |
107 | { |
108 | return mCreditURL; |
109 | } |
110 | |
111 | /** |
112 | Get Item object corresponding to CreditURL() |
113 | */ |
114 | ItemString *creditURLItem() |
115 | { |
116 | return mCreditURLItem; |
117 | } |
118 | |
119 | /** |
120 | Set Page Title |
121 | */ |
122 | void setPageTitle( const QString & v ) |
123 | { |
124 | if (!isImmutable( QString::fromLatin1( "PageTitle" ) )) |
125 | mPageTitle = v; |
126 | } |
127 | |
128 | /** |
129 | Get Page Title |
130 | */ |
131 | QString pageTitle() const |
132 | { |
133 | return mPageTitle; |
134 | } |
135 | |
136 | /** |
137 | Get Item object corresponding to PageTitle() |
138 | */ |
139 | ItemString *pageTitleItem() |
140 | { |
141 | return mPageTitleItem; |
142 | } |
143 | |
144 | /** |
145 | Set Date start |
146 | */ |
147 | void setDateStart( const QDateTime & v ) |
148 | { |
149 | if (!isImmutable( QString::fromLatin1( "DateStart" ) )) |
150 | mDateStart = v; |
151 | } |
152 | |
153 | /** |
154 | Get Date start |
155 | */ |
156 | QDateTime dateStart() const |
157 | { |
158 | return mDateStart; |
159 | } |
160 | |
161 | /** |
162 | Get Item object corresponding to DateStart() |
163 | */ |
164 | ItemDateTime *dateStartItem() |
165 | { |
166 | return mDateStartItem; |
167 | } |
168 | |
169 | /** |
170 | Set Date end |
171 | */ |
172 | void setDateEnd( const QDateTime & v ) |
173 | { |
174 | if (!isImmutable( QString::fromLatin1( "DateEnd" ) )) |
175 | mDateEnd = v; |
176 | } |
177 | |
178 | /** |
179 | Get Date end |
180 | */ |
181 | QDateTime dateEnd() const |
182 | { |
183 | return mDateEnd; |
184 | } |
185 | |
186 | /** |
187 | Get Item object corresponding to DateEnd() |
188 | */ |
189 | ItemDateTime *dateEndItem() |
190 | { |
191 | return mDateEndItem; |
192 | } |
193 | |
194 | /** |
195 | Set Output filename |
196 | */ |
197 | void setOutputFile( const QString & v ) |
198 | { |
199 | if (!isImmutable( QString::fromLatin1( "OutputFile" ) )) |
200 | mOutputFile = v; |
201 | } |
202 | |
203 | /** |
204 | Get Output filename |
205 | */ |
206 | QString outputFile() const |
207 | { |
208 | return mOutputFile; |
209 | } |
210 | |
211 | /** |
212 | Get Item object corresponding to OutputFile() |
213 | */ |
214 | ItemPath *outputFileItem() |
215 | { |
216 | return mOutputFileItem; |
217 | } |
218 | |
219 | /** |
220 | Set Style sheet |
221 | */ |
222 | void setStyleSheet( const QString & v ) |
223 | { |
224 | if (!isImmutable( QString::fromLatin1( "StyleSheet" ) )) |
225 | mStyleSheet = v; |
226 | } |
227 | |
228 | /** |
229 | Get Style sheet |
230 | */ |
231 | QString styleSheet() const |
232 | { |
233 | return mStyleSheet; |
234 | } |
235 | |
236 | /** |
237 | Get Item object corresponding to StyleSheet() |
238 | */ |
239 | ItemString *styleSheetItem() |
240 | { |
241 | return mStyleSheetItem; |
242 | } |
243 | |
244 | /** |
245 | Set Exclude private incidences from the export |
246 | */ |
247 | void setExcludePrivate( bool v ) |
248 | { |
249 | if (!isImmutable( QString::fromLatin1( "ExcludePrivate" ) )) |
250 | mExcludePrivate = v; |
251 | } |
252 | |
253 | /** |
254 | Get Exclude private incidences from the export |
255 | */ |
256 | bool excludePrivate() const |
257 | { |
258 | return mExcludePrivate; |
259 | } |
260 | |
261 | /** |
262 | Get Item object corresponding to ExcludePrivate() |
263 | */ |
264 | ItemBool *excludePrivateItem() |
265 | { |
266 | return mExcludePrivateItem; |
267 | } |
268 | |
269 | /** |
270 | Set Exclude confidential incidences from the export |
271 | */ |
272 | void setExcludeConfidential( bool v ) |
273 | { |
274 | if (!isImmutable( QString::fromLatin1( "ExcludeConfidential" ) )) |
275 | mExcludeConfidential = v; |
276 | } |
277 | |
278 | /** |
279 | Get Exclude confidential incidences from the export |
280 | */ |
281 | bool excludeConfidential() const |
282 | { |
283 | return mExcludeConfidential; |
284 | } |
285 | |
286 | /** |
287 | Get Item object corresponding to ExcludeConfidential() |
288 | */ |
289 | ItemBool *excludeConfidentialItem() |
290 | { |
291 | return mExcludeConfidentialItem; |
292 | } |
293 | |
294 | /** |
295 | Set Export events as list |
296 | */ |
297 | void setEventView( bool v ) |
298 | { |
299 | if (!isImmutable( QString::fromLatin1( "EventView" ) )) |
300 | mEventView = v; |
301 | } |
302 | |
303 | /** |
304 | Get Export events as list |
305 | */ |
306 | bool eventView() const |
307 | { |
308 | return mEventView; |
309 | } |
310 | |
311 | /** |
312 | Get Item object corresponding to EventView() |
313 | */ |
314 | ItemBool *eventViewItem() |
315 | { |
316 | return mEventViewItem; |
317 | } |
318 | |
319 | /** |
320 | Set Export in month view |
321 | */ |
322 | void setMonthView( bool v ) |
323 | { |
324 | if (!isImmutable( QString::fromLatin1( "MonthView" ) )) |
325 | mMonthView = v; |
326 | } |
327 | |
328 | /** |
329 | Get Export in month view |
330 | */ |
331 | bool monthView() const |
332 | { |
333 | return mMonthView; |
334 | } |
335 | |
336 | /** |
337 | Get Item object corresponding to MonthView() |
338 | */ |
339 | ItemBool *monthViewItem() |
340 | { |
341 | return mMonthViewItem; |
342 | } |
343 | |
344 | /** |
345 | Set Export in week view |
346 | */ |
347 | void setWeekView( bool v ) |
348 | { |
349 | if (!isImmutable( QString::fromLatin1( "WeekView" ) )) |
350 | mWeekView = v; |
351 | } |
352 | |
353 | /** |
354 | Get Export in week view |
355 | */ |
356 | bool weekView() const |
357 | { |
358 | return mWeekView; |
359 | } |
360 | |
361 | /** |
362 | Get Item object corresponding to WeekView() |
363 | */ |
364 | ItemBool *weekViewItem() |
365 | { |
366 | return mWeekViewItem; |
367 | } |
368 | |
369 | /** |
370 | Set Title of the calendar |
371 | */ |
372 | void setEventTitle( const QString & v ) |
373 | { |
374 | if (!isImmutable( QString::fromLatin1( "EventTitle" ) )) |
375 | mEventTitle = v; |
376 | } |
377 | |
378 | /** |
379 | Get Title of the calendar |
380 | */ |
381 | QString eventTitle() const |
382 | { |
383 | return mEventTitle; |
384 | } |
385 | |
386 | /** |
387 | Get Item object corresponding to EventTitle() |
388 | */ |
389 | ItemString *eventTitleItem() |
390 | { |
391 | return mEventTitleItem; |
392 | } |
393 | |
394 | /** |
395 | Set Export location of the events |
396 | */ |
397 | void setEventLocation( bool v ) |
398 | { |
399 | if (!isImmutable( QString::fromLatin1( "EventLocation" ) )) |
400 | mEventLocation = v; |
401 | } |
402 | |
403 | /** |
404 | Get Export location of the events |
405 | */ |
406 | bool eventLocation() const |
407 | { |
408 | return mEventLocation; |
409 | } |
410 | |
411 | /** |
412 | Get Item object corresponding to EventLocation() |
413 | */ |
414 | ItemBool *eventLocationItem() |
415 | { |
416 | return mEventLocationItem; |
417 | } |
418 | |
419 | /** |
420 | Set Export categories of the events |
421 | */ |
422 | void setEventCategories( bool v ) |
423 | { |
424 | if (!isImmutable( QString::fromLatin1( "EventCategories" ) )) |
425 | mEventCategories = v; |
426 | } |
427 | |
428 | /** |
429 | Get Export categories of the events |
430 | */ |
431 | bool eventCategories() const |
432 | { |
433 | return mEventCategories; |
434 | } |
435 | |
436 | /** |
437 | Get Item object corresponding to EventCategories() |
438 | */ |
439 | ItemBool *eventCategoriesItem() |
440 | { |
441 | return mEventCategoriesItem; |
442 | } |
443 | |
444 | /** |
445 | Set Export attendees of the events |
446 | */ |
447 | void setEventAttendees( bool v ) |
448 | { |
449 | if (!isImmutable( QString::fromLatin1( "EventAttendees" ) )) |
450 | mEventAttendees = v; |
451 | } |
452 | |
453 | /** |
454 | Get Export attendees of the events |
455 | */ |
456 | bool eventAttendees() const |
457 | { |
458 | return mEventAttendees; |
459 | } |
460 | |
461 | /** |
462 | Get Item object corresponding to EventAttendees() |
463 | */ |
464 | ItemBool *eventAttendeesItem() |
465 | { |
466 | return mEventAttendeesItem; |
467 | } |
468 | |
469 | /** |
470 | Set Export to-do list |
471 | */ |
472 | void setTodoView( bool v ) |
473 | { |
474 | if (!isImmutable( QString::fromLatin1( "TodoView" ) )) |
475 | mTodoView = v; |
476 | } |
477 | |
478 | /** |
479 | Get Export to-do list |
480 | */ |
481 | bool todoView() const |
482 | { |
483 | return mTodoView; |
484 | } |
485 | |
486 | /** |
487 | Get Item object corresponding to TodoView() |
488 | */ |
489 | ItemBool *todoViewItem() |
490 | { |
491 | return mTodoViewItem; |
492 | } |
493 | |
494 | /** |
495 | Set Title of the to-do list |
496 | */ |
497 | void setTodoListTitle( const QString & v ) |
498 | { |
499 | if (!isImmutable( QString::fromLatin1( "TodoListTitle" ) )) |
500 | mTodoListTitle = v; |
501 | } |
502 | |
503 | /** |
504 | Get Title of the to-do list |
505 | */ |
506 | QString todoListTitle() const |
507 | { |
508 | return mTodoListTitle; |
509 | } |
510 | |
511 | /** |
512 | Get Item object corresponding to TodoListTitle() |
513 | */ |
514 | ItemString *todoListTitleItem() |
515 | { |
516 | return mTodoListTitleItem; |
517 | } |
518 | |
519 | /** |
520 | Set Export due dates of the to-dos |
521 | */ |
522 | void setTaskDueDate( bool v ) |
523 | { |
524 | if (!isImmutable( QString::fromLatin1( "TaskDueDate" ) )) |
525 | mTaskDueDate = v; |
526 | } |
527 | |
528 | /** |
529 | Get Export due dates of the to-dos |
530 | */ |
531 | bool taskDueDate() const |
532 | { |
533 | return mTaskDueDate; |
534 | } |
535 | |
536 | /** |
537 | Get Item object corresponding to TaskDueDate() |
538 | */ |
539 | ItemBool *taskDueDateItem() |
540 | { |
541 | return mTaskDueDateItem; |
542 | } |
543 | |
544 | /** |
545 | Set Export location of the to-dos |
546 | */ |
547 | void setTaskLocation( bool v ) |
548 | { |
549 | if (!isImmutable( QString::fromLatin1( "TaskLocation" ) )) |
550 | mTaskLocation = v; |
551 | } |
552 | |
553 | /** |
554 | Get Export location of the to-dos |
555 | */ |
556 | bool taskLocation() const |
557 | { |
558 | return mTaskLocation; |
559 | } |
560 | |
561 | /** |
562 | Get Item object corresponding to TaskLocation() |
563 | */ |
564 | ItemBool *taskLocationItem() |
565 | { |
566 | return mTaskLocationItem; |
567 | } |
568 | |
569 | /** |
570 | Set Export categories of the to-dos |
571 | */ |
572 | void setTaskCategories( bool v ) |
573 | { |
574 | if (!isImmutable( QString::fromLatin1( "TaskCategories" ) )) |
575 | mTaskCategories = v; |
576 | } |
577 | |
578 | /** |
579 | Get Export categories of the to-dos |
580 | */ |
581 | bool taskCategories() const |
582 | { |
583 | return mTaskCategories; |
584 | } |
585 | |
586 | /** |
587 | Get Item object corresponding to TaskCategories() |
588 | */ |
589 | ItemBool *taskCategoriesItem() |
590 | { |
591 | return mTaskCategoriesItem; |
592 | } |
593 | |
594 | /** |
595 | Set Export attendees of the to-dos |
596 | */ |
597 | void setTaskAttendees( bool v ) |
598 | { |
599 | if (!isImmutable( QString::fromLatin1( "TaskAttendees" ) )) |
600 | mTaskAttendees = v; |
601 | } |
602 | |
603 | /** |
604 | Get Export attendees of the to-dos |
605 | */ |
606 | bool taskAttendees() const |
607 | { |
608 | return mTaskAttendees; |
609 | } |
610 | |
611 | /** |
612 | Get Item object corresponding to TaskAttendees() |
613 | */ |
614 | ItemBool *taskAttendeesItem() |
615 | { |
616 | return mTaskAttendeesItem; |
617 | } |
618 | |
619 | /** |
620 | Set Export journals |
621 | */ |
622 | void setJournalView( bool v ) |
623 | { |
624 | if (!isImmutable( QString::fromLatin1( "JournalView" ) )) |
625 | mJournalView = v; |
626 | } |
627 | |
628 | /** |
629 | Get Export journals |
630 | */ |
631 | bool journalView() const |
632 | { |
633 | return mJournalView; |
634 | } |
635 | |
636 | /** |
637 | Get Item object corresponding to JournalView() |
638 | */ |
639 | ItemBool *journalViewItem() |
640 | { |
641 | return mJournalViewItem; |
642 | } |
643 | |
644 | /** |
645 | Set Title of the journal list |
646 | */ |
647 | void setJournalTitle( const QString & v ) |
648 | { |
649 | if (!isImmutable( QString::fromLatin1( "JournalTitle" ) )) |
650 | mJournalTitle = v; |
651 | } |
652 | |
653 | /** |
654 | Get Title of the journal list |
655 | */ |
656 | QString journalTitle() const |
657 | { |
658 | return mJournalTitle; |
659 | } |
660 | |
661 | /** |
662 | Get Item object corresponding to JournalTitle() |
663 | */ |
664 | ItemString *journalTitleItem() |
665 | { |
666 | return mJournalTitleItem; |
667 | } |
668 | |
669 | /** |
670 | Set Export free/busy list |
671 | */ |
672 | void setFreeBusyView( bool v ) |
673 | { |
674 | if (!isImmutable( QString::fromLatin1( "FreeBusyView" ) )) |
675 | mFreeBusyView = v; |
676 | } |
677 | |
678 | /** |
679 | Get Export free/busy list |
680 | */ |
681 | bool freeBusyView() const |
682 | { |
683 | return mFreeBusyView; |
684 | } |
685 | |
686 | /** |
687 | Get Item object corresponding to FreeBusyView() |
688 | */ |
689 | ItemBool *freeBusyViewItem() |
690 | { |
691 | return mFreeBusyViewItem; |
692 | } |
693 | |
694 | /** |
695 | Set Title of the free/busy list |
696 | */ |
697 | void setFreeBusyTitle( const QString & v ) |
698 | { |
699 | if (!isImmutable( QString::fromLatin1( "FreeBusyTitle" ) )) |
700 | mFreeBusyTitle = v; |
701 | } |
702 | |
703 | /** |
704 | Get Title of the free/busy list |
705 | */ |
706 | QString freeBusyTitle() const |
707 | { |
708 | return mFreeBusyTitle; |
709 | } |
710 | |
711 | /** |
712 | Get Item object corresponding to FreeBusyTitle() |
713 | */ |
714 | ItemString *freeBusyTitleItem() |
715 | { |
716 | return mFreeBusyTitleItem; |
717 | } |
718 | |
719 | protected: |
720 | public: |
721 | QString mParamapplication; |
722 | |
723 | // $(application)-General |
724 | QString mName; |
725 | QString mEMail; |
726 | QString mCreditName; |
727 | QString mCreditURL; |
728 | QString mPageTitle; |
729 | QDateTime mDateStart; |
730 | QDateTime mDateEnd; |
731 | QString mOutputFile; |
732 | QString mStyleSheet; |
733 | bool mExcludePrivate; |
734 | bool mExcludeConfidential; |
735 | |
736 | // $(application)-Events |
737 | bool mEventView; |
738 | bool mMonthView; |
739 | bool mWeekView; |
740 | QString mEventTitle; |
741 | bool mEventLocation; |
742 | bool mEventCategories; |
743 | bool mEventAttendees; |
744 | |
745 | // $(application)-Todos |
746 | bool mTodoView; |
747 | QString mTodoListTitle; |
748 | bool mTaskDueDate; |
749 | bool mTaskLocation; |
750 | bool mTaskCategories; |
751 | bool mTaskAttendees; |
752 | |
753 | // $(application)-Journals |
754 | bool mJournalView; |
755 | QString mJournalTitle; |
756 | |
757 | // $(application)-FreeBusy |
758 | bool mFreeBusyView; |
759 | QString mFreeBusyTitle; |
760 | |
761 | private: |
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; |
790 | }; |
791 | |
792 | } |
793 | |
794 | #endif |
795 | |
796 | |