Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/models/ledgermodel.h
Context not available. | |||||
35 | #include "mymoneyaccount.h" | 35 | #include "mymoneyaccount.h" | ||
---|---|---|---|---|---|
36 | #include "mymoneysplit.h" | 36 | #include "mymoneysplit.h" | ||
37 | #include "mymoneyschedule.h" | 37 | #include "mymoneyschedule.h" | ||
38 | #include "mymoneyfile.h" | 38 | #include "mymoneyenums.h" | ||
39 | 39 | | |||
40 | /** | 40 | /** | ||
41 | * Forward declarations for the returned models. | 41 | * Forward declarations for the returned models. | ||
Context not available. | |||||
492 | public Q_SLOTS: | 492 | public Q_SLOTS: | ||
493 | 493 | | |||
494 | protected Q_SLOTS: | 494 | protected Q_SLOTS: | ||
495 | void removeTransaction(MyMoneyFile::notificationObjectT objType, const QString& id); | 495 | void removeTransaction(eMyMoney::File::Object objType, const QString& id); | ||
496 | void addTransaction(MyMoneyFile::notificationObjectT objType, const MyMoneyObject * const obj); | 496 | void addTransaction(eMyMoney::File::Object objType, const MyMoneyObject * const obj); | ||
497 | void modifyTransaction(MyMoneyFile::notificationObjectT objType, const MyMoneyObject * const obj); | 497 | void modifyTransaction(eMyMoney::File::Object objType, const MyMoneyObject * const obj); | ||
498 | void removeSchedule(MyMoneyFile::notificationObjectT objType, const QString& id); | 498 | void removeSchedule(eMyMoney::File::Object objType, const QString& id); | ||
499 | void addSchedule(MyMoneyFile::notificationObjectT objType, const MyMoneyObject * const obj); | 499 | void addSchedule(eMyMoney::File::Object objType, const MyMoneyObject * const obj); | ||
500 | void modifySchedule(MyMoneyFile::notificationObjectT objType, const MyMoneyObject * const obj); | 500 | void modifySchedule(eMyMoney::File::Object objType, const MyMoneyObject * const obj); | ||
501 | 501 | | |||
502 | protected: | 502 | protected: | ||
503 | struct Private; | 503 | struct Private; | ||
Context not available. | |||||
512 | virtual ~LedgerSortFilterProxyModel(); | 512 | virtual ~LedgerSortFilterProxyModel(); | ||
513 | 513 | | |||
514 | void setShowNewTransaction(bool show); | 514 | void setShowNewTransaction(bool show); | ||
515 | void setAccountType(MyMoneyAccount::accountTypeE type); | 515 | void setAccountType(eMyMoney::Account type); | ||
516 | 516 | | |||
517 | /** | 517 | /** | ||
518 | * This method maps the @a index to the base model and calls setData on it | 518 | * This method maps the @a index to the base model and calls setData on it | ||
Context not available. | |||||
531 | 531 | | |||
532 | private: | 532 | private: | ||
533 | bool m_showNewTransaction; | 533 | bool m_showNewTransaction; | ||
534 | MyMoneyAccount::accountTypeE m_accountType; | 534 | eMyMoney::Account m_accountType; | ||
535 | }; | 535 | }; | ||
536 | 536 | | |||
537 | 537 | | |||
Context not available. |