Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

KMyMoneySettings Class Reference

#include <kmymoneysettings.h>

Inheritance diagram for KMyMoneySettings:

KConfigSkeleton KMyMoneyGlobalSettings Collaboration diagram for KMyMoneySettings:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ~KMyMoneySettings ()

Static Public Member Functions

static KMyMoneySettingsself ()
static void setAlwaysShowNrField (bool v)
static bool alwaysShowNrField ()
static void setAutoFillTransaction (int v)
static int autoFillTransaction ()
static void setAutoFillDifference (int v)
static int autoFillDifference ()
static void setAutoIncCheckNumber (bool v)
static bool autoIncCheckNumber ()
static void setAutoSaveFile (bool v)
static bool autoSaveFile ()
static void setAutoSavePeriod (int v)
static int autoSavePeriod ()
static void setCheckSchedule (bool v)
static bool checkSchedule ()
static void setCheckSchedulePreview (int v)
static int checkSchedulePreview ()
static void setSchedulePreview (int v)
static int schedulePreview ()
static void setCopyTypeToNr (bool v)
static bool copyTypeToNr ()
static void setFocusChangeIsEnter (bool v)
static bool focusChangeIsEnter ()
static void setEnterMovesBetweenFields (bool v)
static bool enterMovesBetweenFields ()
static void setLedgerLens (bool v)
static bool ledgerLens ()
static void setPricePrecision (int v)
static int pricePrecision ()
static void setPriceHistoryUpdate (bool v)
static bool priceHistoryUpdate ()
static void setTransactionForm (bool v)
static bool transactionForm ()
static void setStartLastViewSelected (int v)
static int startLastViewSelected ()
static void setWriteDataEncrypted (bool v)
static bool writeDataEncrypted ()
static void setEncryptRecover (bool v)
static bool encryptRecover ()
static void setGpgRecipient (const QString &v)
static QString gpgRecipient ()
static void setGpgRecipientList (const QStringList &v)
static QStringList gpgRecipientList ()
static void setExpertMode (bool v)
static bool expertMode ()
static void setShowSplash (bool v)
static bool showSplash ()
static void setSyncLedgerInvestment (bool v)
static bool syncLedgerInvestment ()
static void setIconSize (int v)
static int iconSize ()
static void setHiddenViews (const QString &v)
static QString hiddenViews ()
static void setFirstTimeRun (bool v)
static bool firstTimeRun ()
static void setShowTitleBar (bool v)
static bool showTitleBar ()
static void setItemList (const QString &v)
static QString itemList ()
static void setFontSizePercentage (int v)
static int fontSizePercentage ()
static void setRememberFontSize (bool v)
static bool rememberFontSize ()
static void setShowLimitInfo (bool v)
static bool showLimitInfo ()
static void setHideUnusedCategory (bool v)
static bool hideUnusedCategory ()
static void setHideClosedAccounts (bool v)
static bool hideClosedAccounts ()
static void setHideFinishedSchedules (bool v)
static bool hideFinishedSchedules ()
static void setHideReconciledTransactions (bool v)
static bool hideReconciledTransactions ()
static void setShowRegisterDetailed (bool v)
static bool showRegisterDetailed ()
static void setShowGrid (bool v)
static bool showGrid ()
static void setShowFancyMarker (bool v)
static bool showFancyMarker ()
static void setShowFiscalMarker (bool v)
static bool showFiscalMarker ()
static void setFiscalYearBegin (int v)
static int fiscalYearBegin ()
static void setFiscalYearBeginDay (int v)
static int fiscalYearBeginDay ()
static void setStartDate (const QDateTime &v)
static QDateTime startDate ()
static void setUseSystemColors (bool v)
static bool useSystemColors ()
static void setListColor (const QColor &v)
static QColor listColor ()
static void setListBGColor (const QColor &v)
static QColor listBGColor ()
static void setListGridColor (const QColor &v)
static QColor listGridColor ()
static void setImportedTransactionColor (const QColor &v)
static QColor importedTransactionColor ()
static void setMatchedTransactionColor (const QColor &v)
static QColor matchedTransactionColor ()
static void setListErronousTransactionColor (const QColor &v)
static QColor listErronousTransactionColor ()
static void setListMissingConversionRate (const QColor &v)
static QColor listMissingConversionRate ()
static void setListNegativeValueColor (const QColor &v)
static QColor listNegativeValueColor ()
static void setGroupMarkerColor (const QColor &v)
static QColor groupMarkerColor ()
static void setRequiredFieldColor (const QColor &v)
static QColor requiredFieldColor ()
static void setUseSystemFont (bool v)
static bool useSystemFont ()
static void setListCellFont (const QFont &v)
static QFont listCellFont ()
static void setListHeaderFont (const QFont &v)
static QFont listHeaderFont ()
static void setSortNormalView (const QString &v)
static QString sortNormalView ()
static void setSortReconcileView (const QString &v)
static QString sortReconcileView ()
static void setSortSearchView (const QString &v)
static QString sortSearchView ()
static void setDefaultReconciliationState (int v)
static int defaultReconciliationState ()
static void setMatchInterval (int v)
static int matchInterval ()
static void setForecastMethod (int v)
static int forecastMethod ()
static void setForecastDays (int v)
static int forecastDays ()
static void setForecastAccountCycle (int v)
static int forecastAccountCycle ()
static void setForecastCycles (int v)
static int forecastCycles ()
static void setBeginForecastDay (int v)
static int beginForecastDay ()
static void setHistoryMethod (int v)
static int historyMethod ()
static void setSkipOpeningDate (bool v)
static bool skipOpeningDate ()
static void setIncludeFutureTransactions (bool v)
static bool includeFutureTransactions ()
static void setIncludeScheduledTransactions (bool v)
static bool includeScheduledTransactions ()
static void writeConfig ()

Protected Member Functions

 KMyMoneySettings ()

Protected Attributes

bool mAlwaysShowNrField
int mAutoFillTransaction
int mAutoFillDifference
bool mAutoIncCheckNumber
bool mAutoSaveFile
int mAutoSavePeriod
bool mCheckSchedule
int mCheckSchedulePreview
int mSchedulePreview
bool mCopyTypeToNr
bool mFocusChangeIsEnter
bool mEnterMovesBetweenFields
bool mLedgerLens
int mPricePrecision
bool mPriceHistoryUpdate
bool mTransactionForm
int mStartLastViewSelected
bool mWriteDataEncrypted
bool mEncryptRecover
QString mGpgRecipient
QStringList mGpgRecipientList
bool mExpertMode
bool mShowSplash
bool mSyncLedgerInvestment
int mIconSize
QString mHiddenViews
bool mFirstTimeRun
bool mShowTitleBar
QString mItemList
int mFontSizePercentage
bool mRememberFontSize
bool mShowLimitInfo
bool mHideUnusedCategory
bool mHideClosedAccounts
bool mHideFinishedSchedules
bool mHideReconciledTransactions
bool mShowRegisterDetailed
bool mShowGrid
bool mShowFancyMarker
bool mShowFiscalMarker
int mFiscalYearBegin
int mFiscalYearBeginDay
QDateTime mStartDate
bool mUseSystemColors
QColor mListColor
QColor mListBGColor
QColor mListGridColor
QColor mImportedTransactionColor
QColor mMatchedTransactionColor
QColor mListErronousTransactionColor
QColor mListMissingConversionRate
QColor mListNegativeValueColor
QColor mGroupMarkerColor
QColor mRequiredFieldColor
bool mUseSystemFont
QFont mListCellFont
QFont mListHeaderFont
QString mSortNormalView
QString mSortReconcileView
QString mSortSearchView
int mDefaultReconciliationState
int mMatchInterval
int mForecastMethod
int mForecastDays
int mForecastAccountCycle
int mForecastCycles
int mBeginForecastDay
int mHistoryMethod
bool mSkipOpeningDate
bool mIncludeFutureTransactions
bool mIncludeScheduledTransactions

Static Protected Attributes

static KMyMoneySettingsmSelf

Constructor & Destructor Documentation

KMyMoneySettings::~KMyMoneySettings  ) 
 

KMyMoneySettings::KMyMoneySettings  )  [protected]
 


Member Function Documentation

static bool KMyMoneySettings::alwaysShowNrField  )  [inline, static]
 

Get Always show a No. field in transaction form

static int KMyMoneySettings::autoFillDifference  )  [inline, static]
 

Get Treat two transactions as identical, if amount differs less than

static int KMyMoneySettings::autoFillTransaction  )  [inline, static]
 

Get Auto fill with previous transaction data

static bool KMyMoneySettings::autoIncCheckNumber  )  [inline, static]
 

Get Auto increment check number

static bool KMyMoneySettings::autoSaveFile  )  [inline, static]
 

Get Autosave file periodically

static int KMyMoneySettings::autoSavePeriod  )  [inline, static]
 

Get Autosave interval in minutes

static int KMyMoneySettings::beginForecastDay  )  [inline, static]
 

Get Day of month to start forecast

static bool KMyMoneySettings::checkSchedule  )  [inline, static]
 

Get Check schedules upon startup

static int KMyMoneySettings::checkSchedulePreview  )  [inline, static]
 

Get Enter transactions this number of days in advance

static bool KMyMoneySettings::copyTypeToNr  )  [inline, static]
 

Get Insert transaction type into No. field for new transactions

static int KMyMoneySettings::defaultReconciliationState  )  [inline, static]
 

Get Default reconciliation state for transactions entered during reconciliation

static bool KMyMoneySettings::encryptRecover  )  [inline, static]
 

Get Also encrypt against recover key

static bool KMyMoneySettings::enterMovesBetweenFields  )  [inline, static]
 

Get Using the Enter key moves between the fields

static bool KMyMoneySettings::expertMode  )  [inline, static]
 

Get Run in expert (accountant) mode

static bool KMyMoneySettings::firstTimeRun  )  [inline, static]
 

Get Firsttime switch to start new user wizard

static int KMyMoneySettings::fiscalYearBegin  )  [inline, static]
 

Get Starting month of the fiscal year

static int KMyMoneySettings::fiscalYearBeginDay  )  [inline, static]
 

Get Starting day of the fiscal year

static bool KMyMoneySettings::focusChangeIsEnter  )  [inline, static]
 

Get Keep changes when selecting a different transaction/split

static int KMyMoneySettings::fontSizePercentage  )  [inline, static]
 

Get Percentage of default font size used for home view HTML page

static int KMyMoneySettings::forecastAccountCycle  )  [inline, static]
 

Get Days of normal account cycle

static int KMyMoneySettings::forecastCycles  )  [inline, static]
 

Get Number of historic cycles to use in forecast

static int KMyMoneySettings::forecastDays  )  [inline, static]
 

Get Days to forecast

static int KMyMoneySettings::forecastMethod  )  [inline, static]
 

Get Method to calculate forecast

static QString KMyMoneySettings::gpgRecipient  )  [inline, static]
 

Get GPG User ID (deprecated)

static QStringList KMyMoneySettings::gpgRecipientList  )  [inline, static]
 

Get GPG User ID

static QColor KMyMoneySettings::groupMarkerColor  )  [inline, static]
 

Get Background color for group marker

static QString KMyMoneySettings::hiddenViews  )  [inline, static]
 

Get list of hidden views

static bool KMyMoneySettings::hideClosedAccounts  )  [inline, static]
 

Get Hide closed accounts

static bool KMyMoneySettings::hideFinishedSchedules  )  [inline, static]
 

Get Hide finished schedules

static bool KMyMoneySettings::hideReconciledTransactions  )  [inline, static]
 

Get Hide reconciled transactions

static bool KMyMoneySettings::hideUnusedCategory  )  [inline, static]
 

Get Hide unused categories

static int KMyMoneySettings::historyMethod  )  [inline, static]
 

Get Method to calculate history-based forecast

static int KMyMoneySettings::iconSize  )  [inline, static]
 

Get Icon size for view selection

static QColor KMyMoneySettings::importedTransactionColor  )  [inline, static]
 

Get Background color for imported transactions

static bool KMyMoneySettings::includeFutureTransactions  )  [inline, static]
 

Get Include future transaction when using Schedule Forecast

static bool KMyMoneySettings::includeScheduledTransactions  )  [inline, static]
 

Get Include scheduled transactions when using Schedule Forecast

static QString KMyMoneySettings::itemList void   )  [inline, static]
 

Get Order of items on homepage

Reimplemented in KMyMoneyGlobalSettings.

static bool KMyMoneySettings::ledgerLens  )  [inline, static]
 

Get Use the ledger lens

static QColor KMyMoneySettings::listBGColor void   )  [inline, static]
 

Get List background color

Reimplemented in KMyMoneyGlobalSettings.

static QFont KMyMoneySettings::listCellFont void   )  [inline, static]
 

Get Cell font

Reimplemented in KMyMoneyGlobalSettings.

static QColor KMyMoneySettings::listColor void   )  [inline, static]
 

Get List color

Reimplemented in KMyMoneyGlobalSettings.

static QColor KMyMoneySettings::listErronousTransactionColor  )  [inline, static]
 

Get List color for erronous transactions

static QColor KMyMoneySettings::listGridColor  )  [inline, static]
 

Get List grid color

static QFont KMyMoneySettings::listHeaderFont void   )  [inline, static]
 

Get Header font

Reimplemented in KMyMoneyGlobalSettings.

static QColor KMyMoneySettings::listMissingConversionRate  )  [inline, static]
 

Get List color for missing conversion rate

static QColor KMyMoneySettings::listNegativeValueColor  )  [inline, static]
 

Get List color for negative values

static QColor KMyMoneySettings::matchedTransactionColor  )  [inline, static]
 

Get Background color for matched transactions

static int KMyMoneySettings::matchInterval  )  [inline, static]
 

Get Number of days (plus/minus) to search for matching transactions

static bool KMyMoneySettings::priceHistoryUpdate  )  [inline, static]
 

Get Update price history

static int KMyMoneySettings::pricePrecision  )  [inline, static]
 

Get Price Precision

static bool KMyMoneySettings::rememberFontSize  )  [inline, static]
 

Get Remember (manually adjusted) font size in home view on program end.

static QColor KMyMoneySettings::requiredFieldColor  )  [inline, static]
 

Get Background color for required fields

static int KMyMoneySettings::schedulePreview  )  [inline, static]
 

Get Number of days to preview schedules in ledger

static KMyMoneySettings* KMyMoneySettings::self  )  [static]
 

static void KMyMoneySettings::setAlwaysShowNrField bool  v  )  [inline, static]
 

Set Always show a No. field in transaction form

static void KMyMoneySettings::setAutoFillDifference int  v  )  [inline, static]
 

Set Treat two transactions as identical, if amount differs less than

static void KMyMoneySettings::setAutoFillTransaction int  v  )  [inline, static]
 

Set Auto fill with previous transaction data

static void KMyMoneySettings::setAutoIncCheckNumber bool  v  )  [inline, static]
 

Set Auto increment check number

static void KMyMoneySettings::setAutoSaveFile bool  v  )  [inline, static]
 

Set Autosave file periodically

static void KMyMoneySettings::setAutoSavePeriod int  v  )  [inline, static]
 

Set Autosave interval in minutes

static void KMyMoneySettings::setBeginForecastDay int  v  )  [inline, static]
 

Set Day of month to start forecast

static void KMyMoneySettings::setCheckSchedule bool  v  )  [inline, static]
 

Set Check schedules upon startup

static void KMyMoneySettings::setCheckSchedulePreview int  v  )  [inline, static]
 

Set Enter transactions this number of days in advance

static void KMyMoneySettings::setCopyTypeToNr bool  v  )  [inline, static]
 

Set Insert transaction type into No. field for new transactions

static void KMyMoneySettings::setDefaultReconciliationState int  v  )  [inline, static]
 

Set Default reconciliation state for transactions entered during reconciliation

static void KMyMoneySettings::setEncryptRecover bool  v  )  [inline, static]
 

Set Also encrypt against recover key

static void KMyMoneySettings::setEnterMovesBetweenFields bool  v  )  [inline, static]
 

Set Using the Enter key moves between the fields

static void KMyMoneySettings::setExpertMode bool  v  )  [inline, static]
 

Set Run in expert (accountant) mode

static void KMyMoneySettings::setFirstTimeRun bool  v  )  [inline, static]
 

Set Firsttime switch to start new user wizard

static void KMyMoneySettings::setFiscalYearBegin int  v  )  [inline, static]
 

Set Starting month of the fiscal year

static void KMyMoneySettings::setFiscalYearBeginDay int  v  )  [inline, static]
 

Set Starting day of the fiscal year

static void KMyMoneySettings::setFocusChangeIsEnter bool  v  )  [inline, static]
 

Set Keep changes when selecting a different transaction/split

static void KMyMoneySettings::setFontSizePercentage int  v  )  [inline, static]
 

Set Percentage of default font size used for home view HTML page

static void KMyMoneySettings::setForecastAccountCycle int  v  )  [inline, static]
 

Set Days of normal account cycle

static void KMyMoneySettings::setForecastCycles int  v  )  [inline, static]
 

Set Number of historic cycles to use in forecast

static void KMyMoneySettings::setForecastDays int  v  )  [inline, static]
 

Set Days to forecast

static void KMyMoneySettings::setForecastMethod int  v  )  [inline, static]
 

Set Method to calculate forecast

static void KMyMoneySettings::setGpgRecipient const QString &  v  )  [inline, static]
 

Set GPG User ID (deprecated)

static void KMyMoneySettings::setGpgRecipientList const QStringList &  v  )  [inline, static]
 

Set GPG User ID

static void KMyMoneySettings::setGroupMarkerColor const QColor &  v  )  [inline, static]
 

Set Background color for group marker

static void KMyMoneySettings::setHiddenViews const QString &  v  )  [inline, static]
 

Set list of hidden views

static void KMyMoneySettings::setHideClosedAccounts bool  v  )  [inline, static]
 

Set Hide closed accounts

static void KMyMoneySettings::setHideFinishedSchedules bool  v  )  [inline, static]
 

Set Hide finished schedules

static void KMyMoneySettings::setHideReconciledTransactions bool  v  )  [inline, static]
 

Set Hide reconciled transactions

static void KMyMoneySettings::setHideUnusedCategory bool  v  )  [inline, static]
 

Set Hide unused categories

static void KMyMoneySettings::setHistoryMethod int  v  )  [inline, static]
 

Set Method to calculate history-based forecast

static void KMyMoneySettings::setIconSize int  v  )  [inline, static]
 

Set Icon size for view selection

static void KMyMoneySettings::setImportedTransactionColor const QColor &  v  )  [inline, static]
 

Set Background color for imported transactions

static void KMyMoneySettings::setIncludeFutureTransactions bool  v  )  [inline, static]
 

Set Include future transaction when using Schedule Forecast

static void KMyMoneySettings::setIncludeScheduledTransactions bool  v  )  [inline, static]
 

Set Include scheduled transactions when using Schedule Forecast

static void KMyMoneySettings::setItemList const QString &  v  )  [inline, static]
 

Set Order of items on homepage

static void KMyMoneySettings::setLedgerLens bool  v  )  [inline, static]
 

Set Use the ledger lens

static void KMyMoneySettings::setListBGColor const QColor &  v  )  [inline, static]
 

Set List background color

static void KMyMoneySettings::setListCellFont