Diffstat (limited to 'noncore/apps/checkbook/transaction.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/transaction.h | 10 |
1 files changed, 7 insertions, 3 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 @@ -49,8 +49,10 @@ class Transaction : public QDialog public: - Transaction( QWidget *, const QString &, TranInfo *, Cfg *); + Transaction( QWidget *, bool, const QString &, TranInfo *, Cfg *); ~Transaction(); + void initFromInfo(TranInfo *, bool=false); + private: TranInfo *tran; - + bool _bNew; Cfg *_pCfg; @@ -62,3 +64,3 @@ class Transaction : public QDialog QLineEdit *numEdit; - QLineEdit *descEdit; + QComboBox *_cbDesc; QComboBox *catList; @@ -76,2 +78,4 @@ class Transaction : public QDialog void slotDateChanged( int, int, int ); + void slotActivated(const QString & ); + void slotNotNew(); }; |