summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/transaction.h
Unidiff
Diffstat (limited to 'noncore/apps/checkbook/transaction.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/checkbook/transaction.h10
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
49 public: 49 public:
50 Transaction( QWidget *, const QString &, TranInfo *, Cfg *); 50 Transaction( QWidget *, bool, const QString &, TranInfo *, Cfg *);
51 ~Transaction(); 51 ~Transaction();
52 52
53 void initFromInfo(TranInfo *, bool=false);
54
53 private: 55 private:
54 TranInfo *tran; 56 TranInfo *tran;
55 57 bool _bNew;
56 Cfg *_pCfg; 58 Cfg *_pCfg;
@@ -62,3 +64,3 @@ class Transaction : public QDialog
62 QLineEdit *numEdit; 64 QLineEdit *numEdit;
63 QLineEdit *descEdit; 65 QComboBox *_cbDesc;
64 QComboBox *catList; 66 QComboBox *catList;
@@ -76,2 +78,4 @@ class Transaction : public QDialog
76 void slotDateChanged( int, int, int ); 78 void slotDateChanged( int, int, int );
79 void slotActivated(const QString & );
80 void slotNotNew();
77}; 81};