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

akonadi

  • sources
  • kde-4.12
  • kdepimlibs
  • akonadi
  • calendar
calendarsettings.h
1 // This file is generated by kconfig_compiler from calendarsettings.kcfg.
2 // All changes you do to this file will be lost.
3 #ifndef AKONADI_CALENDARSETTINGS_H
4 #define AKONADI_CALENDARSETTINGS_H
5 
6 #include <akonadi/calendar/akonadi-calendar_export.h>
7 
8 #include <kconfigskeleton.h>
9 #include <kdebug.h>
10 
11 namespace Akonadi {
12 
13 class AKONADI_CALENDAR_EXPORT CalendarSettings : public KConfigSkeleton
14 {
15  public:
16 
17  static CalendarSettings *self();
18  ~CalendarSettings();
19 
23  static
24  void setFreeBusyPublishAuto( bool v )
25  {
26  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyPublishAuto" ) ))
27  self()->mFreeBusyPublishAuto = v;
28  }
29 
33  static
34  bool freeBusyPublishAuto()
35  {
36  return self()->mFreeBusyPublishAuto;
37  }
38 
42  ItemBool *freeBusyPublishAutoItem()
43  {
44  return mFreeBusyPublishAutoItem;
45  }
46 
50  static
51  void setFreeBusyPublishDelay( int v )
52  {
53  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyPublishDelay" ) ))
54  self()->mFreeBusyPublishDelay = v;
55  }
56 
60  static
61  int freeBusyPublishDelay()
62  {
63  return self()->mFreeBusyPublishDelay;
64  }
65 
69  ItemInt *freeBusyPublishDelayItem()
70  {
71  return mFreeBusyPublishDelayItem;
72  }
73 
77  static
78  void setFreeBusyPublishDays( int v )
79  {
80  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyPublishDays" ) ))
81  self()->mFreeBusyPublishDays = v;
82  }
83 
87  static
88  int freeBusyPublishDays()
89  {
90  return self()->mFreeBusyPublishDays;
91  }
92 
96  ItemInt *freeBusyPublishDaysItem()
97  {
98  return mFreeBusyPublishDaysItem;
99  }
100 
104  static
105  void setFreeBusyPublishUrl( const QString & v )
106  {
107  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyPublishUrl" ) ))
108  self()->mFreeBusyPublishUrl = v;
109  }
110 
114  static
115  QString freeBusyPublishUrl()
116  {
117  return self()->mFreeBusyPublishUrl;
118  }
119 
123  ItemString *freeBusyPublishUrlItem()
124  {
125  return mFreeBusyPublishUrlItem;
126  }
127 
131  static
132  void setFreeBusyPublishUser( const QString & v )
133  {
134  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyPublishUser" ) ))
135  self()->mFreeBusyPublishUser = v;
136  }
137 
141  static
142  QString freeBusyPublishUser()
143  {
144  return self()->mFreeBusyPublishUser;
145  }
146 
150  ItemString *freeBusyPublishUserItem()
151  {
152  return mFreeBusyPublishUserItem;
153  }
154 
158  static
159  void setFreeBusyPublishPassword( const QString & v )
160  {
161  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyPublishPassword" ) ))
162  self()->mFreeBusyPublishPassword = v;
163  }
164 
168  static
169  QString freeBusyPublishPassword()
170  {
171  return self()->mFreeBusyPublishPassword;
172  }
173 
177  ItemPassword *freeBusyPublishPasswordItem()
178  {
179  return mFreeBusyPublishPasswordItem;
180  }
181 
185  static
186  void setFreeBusyPublishSavePassword( bool v )
187  {
188  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyPublishSavePassword" ) ))
189  self()->mFreeBusyPublishSavePassword = v;
190  }
191 
195  static
196  bool freeBusyPublishSavePassword()
197  {
198  return self()->mFreeBusyPublishSavePassword;
199  }
200 
204  ItemBool *freeBusyPublishSavePasswordItem()
205  {
206  return mFreeBusyPublishSavePasswordItem;
207  }
208 
212  static
213  void setFreeBusyRetrieveAuto( bool v )
214  {
215  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyRetrieveAuto" ) ))
216  self()->mFreeBusyRetrieveAuto = v;
217  }
218 
222  static
223  bool freeBusyRetrieveAuto()
224  {
225  return self()->mFreeBusyRetrieveAuto;
226  }
227 
231  ItemBool *freeBusyRetrieveAutoItem()
232  {
233  return mFreeBusyRetrieveAutoItem;
234  }
235 
239  static
240  void setFreeBusyFullDomainRetrieval( bool v )
241  {
242  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyFullDomainRetrieval" ) ))
243  self()->mFreeBusyFullDomainRetrieval = v;
244  }
245 
249  static
250  bool freeBusyFullDomainRetrieval()
251  {
252  return self()->mFreeBusyFullDomainRetrieval;
253  }
254 
258  ItemBool *freeBusyFullDomainRetrievalItem()
259  {
260  return mFreeBusyFullDomainRetrievalItem;
261  }
262 
266  static
267  void setFreeBusyRetrieveUrl( const QString & v )
268  {
269  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyRetrieveUrl" ) ))
270  self()->mFreeBusyRetrieveUrl = v;
271  }
272 
276  static
277  QString freeBusyRetrieveUrl()
278  {
279  return self()->mFreeBusyRetrieveUrl;
280  }
281 
285  ItemString *freeBusyRetrieveUrlItem()
286  {
287  return mFreeBusyRetrieveUrlItem;
288  }
289 
293  static
294  void setFreeBusyRetrieveUser( const QString & v )
295  {
296  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyRetrieveUser" ) ))
297  self()->mFreeBusyRetrieveUser = v;
298  }
299 
303  static
304  QString freeBusyRetrieveUser()
305  {
306  return self()->mFreeBusyRetrieveUser;
307  }
308 
312  ItemString *freeBusyRetrieveUserItem()
313  {
314  return mFreeBusyRetrieveUserItem;
315  }
316 
320  static
321  void setFreeBusyRetrievePassword( const QString & v )
322  {
323  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyRetrievePassword" ) ))
324  self()->mFreeBusyRetrievePassword = v;
325  }
326 
330  static
331  QString freeBusyRetrievePassword()
332  {
333  return self()->mFreeBusyRetrievePassword;
334  }
335 
339  ItemPassword *freeBusyRetrievePasswordItem()
340  {
341  return mFreeBusyRetrievePasswordItem;
342  }
343 
347  static
348  void setFreeBusyRetrieveSavePassword( bool v )
349  {
350  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyRetrieveSavePassword" ) ))
351  self()->mFreeBusyRetrieveSavePassword = v;
352  }
353 
357  static
358  bool freeBusyRetrieveSavePassword()
359  {
360  return self()->mFreeBusyRetrieveSavePassword;
361  }
362 
366  ItemBool *freeBusyRetrieveSavePasswordItem()
367  {
368  return mFreeBusyRetrieveSavePasswordItem;
369  }
370 
374  static
375  void setBcc( bool v )
376  {
377  if (!self()->isImmutable( QString::fromLatin1( "Bcc" ) ))
378  self()->mBcc = v;
379  }
380 
384  static
385  bool bcc()
386  {
387  return self()->mBcc;
388  }
389 
393  ItemBool *bccItem()
394  {
395  return mBccItem;
396  }
397 
401  static
402  void setMailTransport( const QString & v )
403  {
404  if (!self()->isImmutable( QString::fromLatin1( "MailTransport" ) ))
405  self()->mMailTransport = v;
406  }
407 
411  static
412  QString mailTransport()
413  {
414  return self()->mMailTransport;
415  }
416 
420  ItemString *mailTransportItem()
421  {
422  return mMailTransportItem;
423  }
424 
428  static
429  void setOutlookCompatCounterProposals( bool v )
430  {
431  if (!self()->isImmutable( QString::fromLatin1( "OutlookCompatCounterProposals" ) ))
432  self()->mOutlookCompatCounterProposals = v;
433  }
434 
438  static
439  bool outlookCompatCounterProposals()
440  {
441  return self()->mOutlookCompatCounterProposals;
442  }
443 
447  ItemBool *outlookCompatCounterProposalsItem()
448  {
449  return mOutlookCompatCounterProposalsItem;
450  }
451 
455  static
456  void setFreeBusyCheckHostname( bool v )
457  {
458  if (!self()->isImmutable( QString::fromLatin1( "FreeBusyCheckHostname" ) ))
459  self()->mFreeBusyCheckHostname = v;
460  }
461 
465  static
466  bool freeBusyCheckHostname()
467  {
468  return self()->mFreeBusyCheckHostname;
469  }
470 
474  ItemBool *freeBusyCheckHostnameItem()
475  {
476  return mFreeBusyCheckHostnameItem;
477  }
478 
479  protected:
480  CalendarSettings();
481  friend class CalendarSettingsHelper;
482 
483 
484  // FreeBusy Publish
485  bool mFreeBusyPublishAuto;
486  int mFreeBusyPublishDelay;
487  int mFreeBusyPublishDays;
488  QString mFreeBusyPublishUrl;
489  QString mFreeBusyPublishUser;
490  QString mFreeBusyPublishPassword;
491  bool mFreeBusyPublishSavePassword;
492 
493  // FreeBusy Retrieve
494  bool mFreeBusyRetrieveAuto;
495  bool mFreeBusyFullDomainRetrieval;
496  QString mFreeBusyRetrieveUrl;
497  QString mFreeBusyRetrieveUser;
498  QString mFreeBusyRetrievePassword;
499  bool mFreeBusyRetrieveSavePassword;
500 
501  // Group Scheduling
502  bool mBcc;
503  QString mMailTransport;
504 
505  // Hidden Options
506  bool mOutlookCompatCounterProposals;
507  bool mFreeBusyCheckHostname;
508 
509  private:
510  ItemBool *mFreeBusyPublishAutoItem;
511  ItemInt *mFreeBusyPublishDelayItem;
512  ItemInt *mFreeBusyPublishDaysItem;
513  ItemString *mFreeBusyPublishUrlItem;
514  ItemString *mFreeBusyPublishUserItem;
515  ItemPassword *mFreeBusyPublishPasswordItem;
516  ItemBool *mFreeBusyPublishSavePasswordItem;
517  ItemBool *mFreeBusyRetrieveAutoItem;
518  ItemBool *mFreeBusyFullDomainRetrievalItem;
519  ItemString *mFreeBusyRetrieveUrlItem;
520  ItemString *mFreeBusyRetrieveUserItem;
521  ItemPassword *mFreeBusyRetrievePasswordItem;
522  ItemBool *mFreeBusyRetrieveSavePasswordItem;
523  ItemBool *mBccItem;
524  ItemString *mMailTransportItem;
525  ItemBool *mOutlookCompatCounterProposalsItem;
526  ItemBool *mFreeBusyCheckHostnameItem;
527 };
528 
529 }
530 
531 #endif
532 
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • 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