kitchensync

prefs_base.h

00001 // This file is generated by kconfig_compiler from kitchensync.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef KSYNC_PREFSBASE_H
00004 #define KSYNC_PREFSBASE_H
00005 
00006 #include <libkdepim/kpimprefs.h>
00007 
00008 #include <kconfigskeleton.h>
00009 #include <kdebug.h>
00010 
00011 namespace KSync {
00012 
00013 class PrefsBase : public KPimPrefs
00014 {
00015   public:
00016 
00017     PrefsBase( );
00018     ~PrefsBase();
00019 
00023     void setCurrentProfile( int v )
00024     {
00025       if (!isImmutable( QString::fromLatin1( "CurrentProfile" ) ))
00026         mCurrentProfile = v;
00027     }
00028 
00032     int currentProfile() const
00033     {
00034       return mCurrentProfile;
00035     }
00036 
00040     ItemInt *currentProfileItem()
00041     {
00042       return mCurrentProfileItem;
00043     }
00044 
00045   protected:
00046   public:
00047 
00048     // Profiles
00049     int mCurrentProfile;
00050 
00051   private:
00052     ItemInt *mCurrentProfileItem;
00053 };
00054 
00055 }
00056 
00057 #endif
00058 
KDE Home | KDE Accessibility Home | Description of Access Keys