New Appointment -> New Task
[kdepim.git] / examples / mailreader / settings.h
blob940b4cd4e17d5e22bd2ac6361f9416f66442e442
1 // This file is generated by kconfig_compiler from mailreader.kcfg.
2 // All changes you do to this file will be lost.
3 #ifndef SETTINGS_H
4 #define SETTINGS_H
6 #include <kconfigskeleton.h>
7 #include <kdebug.h>
9 class Settings : public KConfigSkeleton
11 public:
13 static Settings *self();
14 ~Settings();
16 /**
17 Set color of the background
19 static
20 void setCol_background( const QColor & v )
22 if (!self()->isImmutable( QString::fromLatin1( "col_background" ) ))
23 self()->mCol_background = v;
26 /**
27 Get color of the background
29 static
30 QColor col_background()
32 return self()->mCol_background;
35 /**
36 Set color of the foreground
38 static
39 void setCol_foreground( const QColor & v )
41 if (!self()->isImmutable( QString::fromLatin1( "col_foreground" ) ))
42 self()->mCol_foreground = v;
45 /**
46 Get color of the foreground
48 static
49 QColor col_foreground()
51 return self()->mCol_foreground;
55 /**
56 Get size of a ball
58 static
59 int val_time()
61 return self()->mVal_time;
64 protected:
65 Settings();
66 friend class SettingsHelper;
69 // Preferences
70 QColor mCol_background;
71 QColor mCol_foreground;
72 int mVal_time;
74 private:
77 #endif