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 @@ -49,8 +49,10 @@ 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; @@ -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(); }; |