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 @@ -44,26 +44,28 @@ class Cfg; class Transaction : public QDialog { Q_OBJECT 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; QRadioButton *withBtn; QRadioButton *depBtn; QPushButton *dateBtn; DateBookMonth *datePicker; QLineEdit *numEdit; - QLineEdit *descEdit; + QComboBox *_cbDesc; QComboBox *catList; QComboBox *typeList; QLineEdit *amtEdit; QLineEdit *feeEdit; QMultiLineEdit *noteEdit; @@ -71,9 +73,11 @@ class Transaction : public QDialog void accept(); private slots: void slotWithdrawalClicked(); void slotDepositClicked(); void slotDateChanged( int, int, int ); + void slotActivated(const QString & ); + void slotNotNew(); }; #endif |