diff options
Diffstat (limited to 'cashflow.h')
| -rw-r--r-- | cashflow.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -23,7 +23,6 @@ private slots: void onDateRangeChanged(); void onTransactionSelected(); void onSaveTransaction(); - void onTransactionFieldChanged(); void onNewTransaction(); void onDeleteTransaction(); void onRecurringSelected(); @@ -31,6 +30,10 @@ private slots: void onNewRecurring(); void onDeleteRecurring(); void onPeriodChanged(); + void onNewFile(); + void onOpenFile(); + void onQuit(); + void onPreferences(); private: Ui::CashFlow *ui; @@ -39,6 +42,8 @@ private: int currentRecurringId; double startingBalance; QFont currentAmountFont; + int weekStartDay; + QString currentFilePath; enum PeriodType { Daily, @@ -64,9 +69,7 @@ private: void insertPeriodEndRow(const QString &label, double balance, const QMap<QString, double> &accountBalances); void updateAmountColors(); void loadSettings(); - void applySettings(); - void onSaveSettings(); - void onChooseAmountFont(); QString formatCurrency(double amount) const; + bool openDatabase(const QString &filePath); }; #endif // CASHFLOW_H |
