KMyMoneyRegister::SelectedTransaction Class Reference

#include <selectedtransaction.h>

Collaboration diagram for KMyMoneyRegister::SelectedTransaction:

Collaboration graph

List of all members.

Public Member Functions

 SelectedTransaction ()
 SelectedTransaction (const MyMoneyTransaction &t, const MyMoneySplit &s, const QString &scheduleId=QString())
MyMoneyTransactiontransaction (void)
const MyMoneyTransactiontransaction (void) const
MyMoneySplitsplit (void)
const MyMoneySplitsplit (void) const
bool isScheduled (void) const
const QString & scheduleId (void) const
int warnLevel () const

Private Attributes

MyMoneyTransaction m_transaction
MyMoneySplit m_split
QString m_scheduleId

Constructor & Destructor Documentation

KMyMoneyRegister::SelectedTransaction::SelectedTransaction (  )  [inline]

KMyMoneyRegister::SelectedTransaction::SelectedTransaction ( const MyMoneyTransaction t,
const MyMoneySplit s,
const QString &  scheduleId = QString() 
) [inline]

Member Function Documentation

MyMoneyTransaction& KMyMoneyRegister::SelectedTransaction::transaction ( void   )  [inline]

const MyMoneyTransaction& KMyMoneyRegister::SelectedTransaction::transaction ( void   )  const [inline]

MyMoneySplit& KMyMoneyRegister::SelectedTransaction::split ( void   )  [inline]

const MyMoneySplit& KMyMoneyRegister::SelectedTransaction::split ( void   )  const [inline]

bool KMyMoneyRegister::SelectedTransaction::isScheduled ( void   )  const [inline]

const QString& KMyMoneyRegister::SelectedTransaction::scheduleId ( void   )  const [inline]

int KMyMoneyRegister::SelectedTransaction::warnLevel (  )  const

checks the transaction for specific reasons which would speak against editing/modifying it.

Return values:
0 no sweat, user can modify
1 at least one split has been reconciled already
2 some transactions cannot be changed anymore - parts of them are frozen
3 some transactions cannot be changed anymore - they touch closed accounts

Member Data Documentation

The documentation for this class was generated from the following file:

Generated on Wed Jan 26 13:10:54 2011 for KMyMoney by  doxygen 1.5.6