• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kjots

KJotsSettings.h

Go to the documentation of this file.
00001 // This file is generated by kconfig_compiler from kjots.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef KJOTSSETTINGS_H
00004 #define KJOTSSETTINGS_H
00005 
00006 #include <kconfigskeleton.h>
00007 #include <kdebug.h>
00008 
00009 #include <kglobalsettings.h>
00010 class KJotsSettings : public KConfigSkeleton
00011 {
00012   public:
00013 
00014     static KJotsSettings *self();
00015     ~KJotsSettings();
00016 
00020     static
00021     void setSplitterSizes( const QList<int> & v )
00022     {
00023       if (!self()->isImmutable( QString::fromLatin1 ( "SplitterSizes" ) ))
00024         self()->mSplitterSizes = v;
00025     }
00026 
00030     static
00031     QList<int> splitterSizes()
00032     {
00033       return self()->mSplitterSizes;
00034     }
00035 
00039     static
00040     void setCurrentSelection( quint64 v )
00041     {
00042       if (!self()->isImmutable( QString::fromLatin1 ( "CurrentSelection" ) ))
00043         self()->mCurrentSelection = v;
00044     }
00045 
00049     static
00050     quint64 currentSelection()
00051     {
00052       return self()->mCurrentSelection;
00053     }
00054 
00055 
00059     static
00060     QFont font()
00061     {
00062       return self()->mFont;
00063     }
00064 
00065 
00069     static
00070     bool autoSave()
00071     {
00072       return self()->mAutoSave;
00073     }
00074 
00075 
00079     static
00080     bool unicode()
00081     {
00082       return self()->mUnicode;
00083     }
00084 
00085 
00089     static
00090     int autoSaveInterval()
00091     {
00092       return self()->mAutoSaveInterval;
00093     }
00094 
00098     static
00099     void setLastId( quint64 v )
00100     {
00101       if (!self()->isImmutable( QString::fromLatin1 ( "LastId" ) ))
00102         self()->mLastId = v;
00103     }
00104 
00108     static
00109     quint64 lastId()
00110     {
00111       return self()->mLastId;
00112     }
00113 
00117     static
00118     void setBookshelfOrder( const QString & v )
00119     {
00120       if (!self()->isImmutable( QString::fromLatin1 ( "BookshelfOrder" ) ))
00121         self()->mBookshelfOrder = v;
00122     }
00123 
00127     static
00128     QString bookshelfOrder()
00129     {
00130       return self()->mBookshelfOrder;
00131     }
00132 
00133 
00137     static
00138     bool pageNamePrompt()
00139     {
00140       return self()->mPageNamePrompt;
00141     }
00142 
00143   protected:
00144     KJotsSettings();
00145     friend class KJotsSettingsHelper;
00146 
00147 
00148     // kjots
00149     QList<int> mSplitterSizes;
00150     quint64 mCurrentSelection;
00151     QFont mFont;
00152     bool mAutoSave;
00153     bool mUnicode;
00154     int mAutoSaveInterval;
00155     quint64 mLastId;
00156     QString mBookshelfOrder;
00157     bool mPageNamePrompt;
00158 
00159   private:
00160 };
00161 
00162 #endif
00163 

kjots

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils 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