• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kpilot

abbrowserSettings.h

Go to the documentation of this file.
00001 // This file is generated by kconfig_compiler from abbrowserconduit.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef ABBROWSERSETTINGS_H
00004 #define ABBROWSERSETTINGS_H
00005 
00006 #include <kconfigskeleton.h>
00007 #include <kdebug.h>
00008 
00009 class AbbrowserSettings : public KConfigSkeleton
00010 {
00011   public:
00012     enum { eAbookResource, eAbookFile };
00013     enum { eOtherPhone, eAssistant, eBusinessFax, eCarPhone, eEmail2, eHomeFax, eTelex, eTTYTTDPhone };
00014     enum { ePilotStreetHome, ePilotStreetWork };
00015     enum { ePilotFaxHome, ePilotFaxWork };
00016     enum { eCustomField, eCustomBirthdate, eCustomURL, eCustomIM };
00017 
00018     static AbbrowserSettings *self();
00019     ~AbbrowserSettings();
00020 
00024     static
00025     void setAddressbookType( int v )
00026     {
00027       if (!self()->isImmutable( QString::fromLatin1 ( "AddressbookType" ) ))
00028         self()->mAddressbookType = v;
00029     }
00030 
00034     static
00035     int addressbookType()
00036     {
00037       return self()->mAddressbookType;
00038     }
00039 
00043     ItemEnum *addressbookTypeItem()
00044     {
00045       return mAddressbookTypeItem;
00046     }
00047 
00051     static
00052     void setFileName( const QString & v )
00053     {
00054       if (!self()->isImmutable( QString::fromLatin1 ( "FileName" ) ))
00055         self()->mFileName = v;
00056     }
00057 
00061     static
00062     QString fileName()
00063     {
00064       return self()->mFileName;
00065     }
00066 
00070     ItemPath *fileNameItem()
00071     {
00072       return mFileNameItem;
00073     }
00074 
00078     static
00079     void setArchiveDeleted( bool v )
00080     {
00081       if (!self()->isImmutable( QString::fromLatin1 ( "ArchiveDeleted" ) ))
00082         self()->mArchiveDeleted = v;
00083     }
00084 
00088     static
00089     bool archiveDeleted()
00090     {
00091       return self()->mArchiveDeleted;
00092     }
00093 
00097     ItemBool *archiveDeletedItem()
00098     {
00099       return mArchiveDeletedItem;
00100     }
00101 
00105     static
00106     void setConflictResolution( int v )
00107     {
00108       if (!self()->isImmutable( QString::fromLatin1 ( "ConflictResolution" ) ))
00109         self()->mConflictResolution = v;
00110     }
00111 
00115     static
00116     int conflictResolution()
00117     {
00118       return self()->mConflictResolution;
00119     }
00120 
00124     ItemInt *conflictResolutionItem()
00125     {
00126       return mConflictResolutionItem;
00127     }
00128 
00132     static
00133     void setPilotOther( int v )
00134     {
00135       if (!self()->isImmutable( QString::fromLatin1 ( "PilotOther" ) ))
00136         self()->mPilotOther = v;
00137     }
00138 
00142     static
00143     int pilotOther()
00144     {
00145       return self()->mPilotOther;
00146     }
00147 
00151     ItemEnum *pilotOtherItem()
00152     {
00153       return mPilotOtherItem;
00154     }
00155 
00159     static
00160     void setPilotStreet( int v )
00161     {
00162       if (!self()->isImmutable( QString::fromLatin1 ( "PilotStreet" ) ))
00163         self()->mPilotStreet = v;
00164     }
00165 
00169     static
00170     int pilotStreet()
00171     {
00172       return self()->mPilotStreet;
00173     }
00174 
00178     ItemEnum *pilotStreetItem()
00179     {
00180       return mPilotStreetItem;
00181     }
00182 
00186     static
00187     void setPilotFax( int v )
00188     {
00189       if (!self()->isImmutable( QString::fromLatin1 ( "PilotFax" ) ))
00190         self()->mPilotFax = v;
00191     }
00192 
00196     static
00197     int pilotFax()
00198     {
00199       return self()->mPilotFax;
00200     }
00201 
00205     ItemEnum *pilotFaxItem()
00206     {
00207       return mPilotFaxItem;
00208     }
00209 
00213     static
00214     void setCustom0( int v )
00215     {
00216       if (!self()->isImmutable( QString::fromLatin1 ( "Custom0" ) ))
00217         self()->mCustom0 = v;
00218     }
00219 
00223     static
00224     int custom0()
00225     {
00226       return self()->mCustom0;
00227     }
00228 
00232     ItemEnum *custom0Item()
00233     {
00234       return mCustom0Item;
00235     }
00236 
00240     static
00241     void setCustom1( int v )
00242     {
00243       if (!self()->isImmutable( QString::fromLatin1 ( "Custom1" ) ))
00244         self()->mCustom1 = v;
00245     }
00246 
00250     static
00251     int custom1()
00252     {
00253       return self()->mCustom1;
00254     }
00255 
00259     ItemEnum *custom1Item()
00260     {
00261       return mCustom1Item;
00262     }
00263 
00267     static
00268     void setCustom2( int v )
00269     {
00270       if (!self()->isImmutable( QString::fromLatin1 ( "Custom2" ) ))
00271         self()->mCustom2 = v;
00272     }
00273 
00277     static
00278     int custom2()
00279     {
00280       return self()->mCustom2;
00281     }
00282 
00286     ItemEnum *custom2Item()
00287     {
00288       return mCustom2Item;
00289     }
00290 
00294     static
00295     void setCustom3( int v )
00296     {
00297       if (!self()->isImmutable( QString::fromLatin1 ( "Custom3" ) ))
00298         self()->mCustom3 = v;
00299     }
00300 
00304     static
00305     int custom3()
00306     {
00307       return self()->mCustom3;
00308     }
00309 
00313     ItemEnum *custom3Item()
00314     {
00315       return mCustom3Item;
00316     }
00317 
00321     static
00322     void setCustomDateFormat( const QString & v )
00323     {
00324       if (!self()->isImmutable( QString::fromLatin1 ( "CustomDateFormat" ) ))
00325         self()->mCustomDateFormat = v;
00326     }
00327 
00331     static
00332     QString customDateFormat()
00333     {
00334       return self()->mCustomDateFormat;
00335     }
00336 
00340     ItemString *customDateFormatItem()
00341     {
00342       return mCustomDateFormatItem;
00343     }
00344 
00345   protected:
00346     AbbrowserSettings();
00347     friend class AbbrowserSettingsHelper;
00348 
00349 
00350     // General
00351     int mAddressbookType;
00352     QString mFileName;
00353     bool mArchiveDeleted;
00354     int mConflictResolution;
00355     int mPilotOther;
00356     int mPilotStreet;
00357     int mPilotFax;
00358     int mCustom0;
00359     int mCustom1;
00360     int mCustom2;
00361     int mCustom3;
00362     QString mCustomDateFormat;
00363 
00364   private:
00365     ItemEnum *mAddressbookTypeItem;
00366     ItemPath *mFileNameItem;
00367     ItemBool *mArchiveDeletedItem;
00368     ItemInt *mConflictResolutionItem;
00369     ItemEnum *mPilotOtherItem;
00370     ItemEnum *mPilotStreetItem;
00371     ItemEnum *mPilotFaxItem;
00372     ItemEnum *mCustom0Item;
00373     ItemEnum *mCustom1Item;
00374     ItemEnum *mCustom2Item;
00375     ItemEnum *mCustom3Item;
00376     ItemString *mCustomDateFormatItem;
00377 };
00378 
00379 #endif
00380 

kpilot

Skip menu "kpilot"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal