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

ktimetracker

ktimetracker.h

Go to the documentation of this file.
00001 // This file is generated by kconfig_compiler from ktimetracker.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef KTIMETRACKERSETTINGS_H
00004 #define KTIMETRACKERSETTINGS_H
00005 
00006 #include <kconfigskeleton.h>
00007 #include <kdebug.h>
00008 
00009 #include <kemailsettings.h>
00010 class KTimeTrackerSettings : public KConfigSkeleton
00011 {
00012   public:
00013 
00014     static KTimeTrackerSettings *self();
00015     ~KTimeTrackerSettings();
00016 
00020     static
00021     void setShowSearchBar( bool v )
00022     {
00023       if (!self()->isImmutable( QString::fromLatin1 ( "showSearchBar" ) ))
00024         self()->mShowSearchBar = v;
00025     }
00026 
00030     static
00031     bool showSearchBar()
00032     {
00033       return self()->mShowSearchBar;
00034     }
00035 
00039     static
00040     void setUserRealName( const QString & v )
00041     {
00042       if (!self()->isImmutable( QString::fromLatin1 ( "userRealName" ) ))
00043         self()->mUserRealName = v;
00044     }
00045 
00049     static
00050     QString userRealName()
00051     {
00052       return self()->mUserRealName;
00053     }
00054 
00058     static
00059     void setEnabled( bool v )
00060     {
00061       if (!self()->isImmutable( QString::fromLatin1 ( "enabled" ) ))
00062         self()->mEnabled = v;
00063     }
00064 
00068     static
00069     bool enabled()
00070     {
00071       return self()->mEnabled;
00072     }
00073 
00077     static
00078     void setPeriod( uint v )
00079     {
00080       if (!self()->isImmutable( QString::fromLatin1 ( "period" ) ))
00081         self()->mPeriod = v;
00082     }
00083 
00087     static
00088     uint period()
00089     {
00090       return self()->mPeriod;
00091     }
00092 
00096     static
00097     void setMinActiveTime( uint v )
00098     {
00099       if (!self()->isImmutable( QString::fromLatin1 ( "minActiveTime" ) ))
00100         self()->mMinActiveTime = v;
00101     }
00102 
00106     static
00107     uint minActiveTime()
00108     {
00109       return self()->mMinActiveTime;
00110     }
00111 
00115     static
00116     void setAutoSave( bool v )
00117     {
00118       if (!self()->isImmutable( QString::fromLatin1 ( "autoSave" ) ))
00119         self()->mAutoSave = v;
00120     }
00121 
00125     static
00126     bool autoSave()
00127     {
00128       return self()->mAutoSave;
00129     }
00130 
00134     static
00135     void setAutoSavePeriod( uint v )
00136     {
00137       if (!self()->isImmutable( QString::fromLatin1 ( "autoSavePeriod" ) ))
00138         self()->mAutoSavePeriod = v;
00139     }
00140 
00144     static
00145     uint autoSavePeriod()
00146     {
00147       return self()->mAutoSavePeriod;
00148     }
00149 
00153     static
00154     void setPromptDelete( bool v )
00155     {
00156       if (!self()->isImmutable( QString::fromLatin1 ( "promptDelete" ) ))
00157         self()->mPromptDelete = v;
00158     }
00159 
00163     static
00164     bool promptDelete()
00165     {
00166       return self()->mPromptDelete;
00167     }
00168 
00172     static
00173     void setUniTasking( bool v )
00174     {
00175       if (!self()->isImmutable( QString::fromLatin1 ( "uniTasking" ) ))
00176         self()->mUniTasking = v;
00177     }
00178 
00182     static
00183     bool uniTasking()
00184     {
00185       return self()->mUniTasking;
00186     }
00187 
00191     static
00192     void setDisplaySessionTime( bool v )
00193     {
00194       if (!self()->isImmutable( QString::fromLatin1 ( "displaySessionTime" ) ))
00195         self()->mDisplaySessionTime = v;
00196     }
00197 
00201     static
00202     bool displaySessionTime()
00203     {
00204       return self()->mDisplaySessionTime;
00205     }
00206 
00210     static
00211     void setDisplayTime( bool v )
00212     {
00213       if (!self()->isImmutable( QString::fromLatin1 ( "displayTime" ) ))
00214         self()->mDisplayTime = v;
00215     }
00216 
00220     static
00221     bool displayTime()
00222     {
00223       return self()->mDisplayTime;
00224     }
00225 
00229     static
00230     void setDisplayTotalSessionTime( bool v )
00231     {
00232       if (!self()->isImmutable( QString::fromLatin1 ( "displayTotalSessionTime" ) ))
00233         self()->mDisplayTotalSessionTime = v;
00234     }
00235 
00239     static
00240     bool displayTotalSessionTime()
00241     {
00242       return self()->mDisplayTotalSessionTime;
00243     }
00244 
00248     static
00249     void setDisplayTotalTime( bool v )
00250     {
00251       if (!self()->isImmutable( QString::fromLatin1 ( "displayTotalTime" ) ))
00252         self()->mDisplayTotalTime = v;
00253     }
00254 
00258     static
00259     bool displayTotalTime()
00260     {
00261       return self()->mDisplayTotalTime;
00262     }
00263 
00267     static
00268     void setDisplayPriority( bool v )
00269     {
00270       if (!self()->isImmutable( QString::fromLatin1 ( "displayPriority" ) ))
00271         self()->mDisplayPriority = v;
00272     }
00273 
00277     static
00278     bool displayPriority()
00279     {
00280       return self()->mDisplayPriority;
00281     }
00282 
00286     static
00287     void setDisplayPercentComplete( bool v )
00288     {
00289       if (!self()->isImmutable( QString::fromLatin1 ( "displayPercentComplete" ) ))
00290         self()->mDisplayPercentComplete = v;
00291     }
00292 
00296     static
00297     bool displayPercentComplete()
00298     {
00299       return self()->mDisplayPercentComplete;
00300     }
00301 
00305     static
00306     void setDecimalFormat( bool v )
00307     {
00308       if (!self()->isImmutable( QString::fromLatin1 ( "decimalFormat" ) ))
00309         self()->mDecimalFormat = v;
00310     }
00311 
00315     static
00316     bool decimalFormat()
00317     {
00318       return self()->mDecimalFormat;
00319     }
00320 
00324     static
00325     void setAlternatingRowColors( bool v )
00326     {
00327       if (!self()->isImmutable( QString::fromLatin1 ( "alternatingRowColors" ) ))
00328         self()->mAlternatingRowColors = v;
00329     }
00330 
00334     static
00335     bool alternatingRowColors()
00336     {
00337       return self()->mAlternatingRowColors;
00338     }
00339 
00343     static
00344     void setTrayIcon( bool v )
00345     {
00346       if (!self()->isImmutable( QString::fromLatin1 ( "trayIcon" ) ))
00347         self()->mTrayIcon = v;
00348     }
00349 
00353     static
00354     bool trayIcon()
00355     {
00356       return self()->mTrayIcon;
00357     }
00358 
00359   protected:
00360     KTimeTrackerSettings();
00361     friend class KTimeTrackerSettingsHelper;
00362 
00363 
00364     // General
00365     bool mShowSearchBar;
00366     QString mUserRealName;
00367 
00368     // Idle detection
00369     bool mEnabled;
00370     uint mPeriod;
00371     uint mMinActiveTime;
00372 
00373     // Saving
00374     bool mAutoSave;
00375     uint mAutoSavePeriod;
00376     bool mPromptDelete;
00377     bool mUniTasking;
00378     bool mDisplaySessionTime;
00379     bool mDisplayTime;
00380     bool mDisplayTotalSessionTime;
00381     bool mDisplayTotalTime;
00382     bool mDisplayPriority;
00383     bool mDisplayPercentComplete;
00384     bool mDecimalFormat;
00385     bool mAlternatingRowColors;
00386     bool mTrayIcon;
00387 
00388   private:
00389 };
00390 
00391 #endif
00392 

ktimetracker

Skip menu "ktimetracker"
  • 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