Akonadi

resourcebasesettings.h
1 // This file is generated by kconfig_compiler from resourcebase.kcfg.
2 // All changes you do to this file will be lost.
3 #ifndef AKONADI_RESOURCEBASESETTINGS_H
4 #define AKONADI_RESOURCEBASESETTINGS_H
5 
6 #include <akonadiagentbase_export.h>
7 
8 #include <kconfigskeleton.h>
9 #include <kdebug.h>
10 
11 namespace Akonadi {
12 
13 class AKONADIAGENTBASE_EXPORT ResourceBaseSettings : public KConfigSkeleton
14 {
15  public:
16 
17  static ResourceBaseSettings *self();
18  ~ResourceBaseSettings();
19 
23  static
24  void setMinimumCheckInterval( int v )
25  {
26  if (!self()->isImmutable( QString::fromLatin1( "MinimumCheckInterval" ) ))
27  self()->mMinimumCheckInterval = v;
28  }
29 
33  static
34  int minimumCheckInterval()
35  {
36  return self()->mMinimumCheckInterval;
37  }
38 
42  ItemInt *minimumCheckIntervalItem()
43  {
44  return mMinimumCheckIntervalItem;
45  }
46 
47  protected:
48  ResourceBaseSettings();
49  friend class ResourceBaseSettingsHelper;
50 
51 
52  // ConfigurationDialogRestrictions
53  int mMinimumCheckInterval;
54 
55  private:
56  ItemInt *mMinimumCheckIntervalItem;
57 };
58 
59 }
60 
61 #endif
62 
Helper integration between Akonadi and Qt.
QString fromLatin1(const char *str, int size)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed May 27 2020 22:43:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.