Diffstat (limited to 'noncore/apps/checkbook/transaction.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/transaction.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/noncore/apps/checkbook/transaction.h b/noncore/apps/checkbook/transaction.h index fbe9cd3..130d769 100644 --- a/noncore/apps/checkbook/transaction.h +++ b/noncore/apps/checkbook/transaction.h @@ -48,10 +48,12 @@ class Transaction : public QDialog public: - Transaction( QWidget *, const QString &, TranInfo *, Cfg *); + Transaction( QWidget *, bool, const QString &, TranInfo *, Cfg *); ~Transaction(); - private: - TranInfo *tran; + void initFromInfo(TranInfo *, bool=false); + private: + TranInfo *tran; + bool _bNew; Cfg *_pCfg; @@ -61,5 +63,5 @@ class Transaction : public QDialog DateBookMonth *datePicker; QLineEdit *numEdit; - QLineEdit *descEdit; + QComboBox *_cbDesc; QComboBox *catList; QComboBox *typeList; @@ -75,4 +77,6 @@ class Transaction : public QDialog void slotDepositClicked(); void slotDateChanged( int, int, int ); + void slotActivated(const QString & ); + void slotNotNew(); }; |