korganizer Library API Documentation

holidaySettings.h

00001 // This file is generated by kconfig_compiler from holidaySettings.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef HOLIDAYSETTINGS_H
00004 #define HOLIDAYSETTINGS_H
00005 
00006 #include <kconfigskeleton.h>
00007 
00008 class HolidaySettings : public KConfigSkeleton
00009 {
00010   public:
00011 
00012     static HolidaySettings *self();
00013     ~HolidaySettings();
00014 
00018     static
00019     void setHolidays( const QString & v )
00020     {
00021       if (!self()->isImmutable( QString::fromLatin1( "Holidays" ) ))
00022         self()->mHolidays = v;
00023     }
00024 
00028     static
00029     QString holidays()
00030     {
00031       return self()->mHolidays;
00032     }
00033 
00037     ItemString *holidaysItem()
00038     {
00039       return mHolidaysItem;
00040     }
00041 
00042     static
00043     void writeConfig()
00044     {
00045       static_cast<KConfigSkeleton*>(self())->writeConfig();
00046     }
00047   protected:
00048     HolidaySettings();
00049     static HolidaySettings *mSelf;
00050 
00051 
00052     // Calendar/Holiday Plugin
00053     QString mHolidays;
00054 
00055   private:
00056     ItemString *mHolidaysItem;
00057 };
00058 
00059 #endif
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 4 04:49:26 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003