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

knotes

knoteconfig.h

Go to the documentation of this file.
00001 // This file is generated by kconfig_compiler from knoteconfig.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef KNOTECONFIG_H
00004 #define KNOTECONFIG_H
00005 
00006 #include <kglobal.h>
00007 #include <kconfigskeleton.h>
00008 #include <kdebug.h>
00009 
00010 #include <kglobalsettings.h>
00011 class KNoteConfig : public KConfigSkeleton
00012 {
00013   public:
00014 
00015     KNoteConfig( KSharedConfig::Ptr config = KGlobal::config() );
00016     ~KNoteConfig();
00017 
00021     void setBgColor( const QColor & v )
00022     {
00023       if (!isImmutable( QString::fromLatin1 ( "BgColor" ) ))
00024         mBgColor = v;
00025     }
00026 
00030     QColor bgColor() const
00031     {
00032       return mBgColor;
00033     }
00034 
00038     void setFgColor( const QColor & v )
00039     {
00040       if (!isImmutable( QString::fromLatin1 ( "FgColor" ) ))
00041         mFgColor = v;
00042     }
00043 
00047     QColor fgColor() const
00048     {
00049       return mFgColor;
00050     }
00051 
00055     void setWidth( uint v )
00056     {
00057       if (!isImmutable( QString::fromLatin1 ( "Width" ) ))
00058         mWidth = v;
00059     }
00060 
00064     uint width() const
00065     {
00066       return mWidth;
00067     }
00068 
00072     void setHeight( uint v )
00073     {
00074       if (!isImmutable( QString::fromLatin1 ( "Height" ) ))
00075         mHeight = v;
00076     }
00077 
00081     uint height() const
00082     {
00083       return mHeight;
00084     }
00085 
00089     void setRememberDesktop( bool v )
00090     {
00091       if (!isImmutable( QString::fromLatin1 ( "RememberDesktop" ) ))
00092         mRememberDesktop = v;
00093     }
00094 
00098     bool rememberDesktop() const
00099     {
00100       return mRememberDesktop;
00101     }
00102 
00106     void setFont( const QFont & v )
00107     {
00108       if (!isImmutable( QString::fromLatin1 ( "Font" ) ))
00109         mFont = v;
00110     }
00111 
00115     QFont font() const
00116     {
00117       return mFont;
00118     }
00119 
00123     void setTitleFont( const QFont & v )
00124     {
00125       if (!isImmutable( QString::fromLatin1 ( "TitleFont" ) ))
00126         mTitleFont = v;
00127     }
00128 
00132     QFont titleFont() const
00133     {
00134       return mTitleFont;
00135     }
00136 
00140     void setAutoIndent( bool v )
00141     {
00142       if (!isImmutable( QString::fromLatin1 ( "AutoIndent" ) ))
00143         mAutoIndent = v;
00144     }
00145 
00149     bool autoIndent() const
00150     {
00151       return mAutoIndent;
00152     }
00153 
00157     void setRichText( bool v )
00158     {
00159       if (!isImmutable( QString::fromLatin1 ( "RichText" ) ))
00160         mRichText = v;
00161     }
00162 
00166     bool richText() const
00167     {
00168       return mRichText;
00169     }
00170 
00174     void setTabSize( uint v )
00175     {
00176       if (!isImmutable( QString::fromLatin1 ( "TabSize" ) ))
00177         mTabSize = v;
00178     }
00179 
00183     uint tabSize() const
00184     {
00185       return mTabSize;
00186     }
00187 
00191     void setReadOnly( bool v )
00192     {
00193       if (!isImmutable( QString::fromLatin1 ( "ReadOnly" ) ))
00194         mReadOnly = v;
00195     }
00196 
00200     bool readOnly() const
00201     {
00202       return mReadOnly;
00203     }
00204 
00208     void setVersion( double v )
00209     {
00210       if (!isImmutable( QString::fromLatin1 ( "Version" ) ))
00211         mVersion = v;
00212     }
00213 
00217     double version() const
00218     {
00219       return mVersion;
00220     }
00221 
00225     void setDesktop( int v )
00226     {
00227       if (!isImmutable( QString::fromLatin1 ( "Desktop" ) ))
00228         mDesktop = v;
00229     }
00230 
00234     int desktop() const
00235     {
00236       return mDesktop;
00237     }
00238 
00242     void setHideNote( bool v )
00243     {
00244       if (!isImmutable( QString::fromLatin1 ( "HideNote" ) ))
00245         mHideNote = v;
00246     }
00247 
00251     bool hideNote() const
00252     {
00253       return mHideNote;
00254     }
00255 
00259     void setPosition( const QPoint & v )
00260     {
00261       if (!isImmutable( QString::fromLatin1 ( "Position" ) ))
00262         mPosition = v;
00263     }
00264 
00268     QPoint position() const
00269     {
00270       return mPosition;
00271     }
00272 
00276     void setShowInTaskbar( bool v )
00277     {
00278       if (!isImmutable( QString::fromLatin1 ( "ShowInTaskbar" ) ))
00279         mShowInTaskbar = v;
00280     }
00281 
00285     bool showInTaskbar() const
00286     {
00287       return mShowInTaskbar;
00288     }
00289 
00293     void setKeepAbove( bool v )
00294     {
00295       if (!isImmutable( QString::fromLatin1 ( "KeepAbove" ) ))
00296         mKeepAbove = v;
00297     }
00298 
00302     bool keepAbove() const
00303     {
00304       return mKeepAbove;
00305     }
00306 
00310     void setKeepBelow( bool v )
00311     {
00312       if (!isImmutable( QString::fromLatin1 ( "KeepBelow" ) ))
00313         mKeepBelow = v;
00314     }
00315 
00319     bool keepBelow() const
00320     {
00321       return mKeepBelow;
00322     }
00323 
00324   protected:
00325 
00326     // Display
00327     QColor mBgColor;
00328     QColor mFgColor;
00329     uint mWidth;
00330     uint mHeight;
00331     bool mRememberDesktop;
00332 
00333     // Editor
00334     QFont mFont;
00335     QFont mTitleFont;
00336     bool mAutoIndent;
00337     bool mRichText;
00338     uint mTabSize;
00339     bool mReadOnly;
00340 
00341     // General
00342     double mVersion;
00343 
00344     // WindowDisplay
00345     int mDesktop;
00346     bool mHideNote;
00347     QPoint mPosition;
00348     bool mShowInTaskbar;
00349     bool mKeepAbove;
00350     bool mKeepBelow;
00351 
00352   private:
00353 };
00354 
00355 #endif
00356 

knotes

Skip menu "knotes"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

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
  •   doc
  • 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