aboutsummaryrefslogtreecommitdiff
path: root/cashflow.h
diff options
context:
space:
mode:
Diffstat (limited to 'cashflow.h')
-rw-r--r--cashflow.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cashflow.h b/cashflow.h
index b75d62b..f76e11f 100644
--- a/cashflow.h
+++ b/cashflow.h
@@ -36,6 +36,7 @@ private slots:
void onPreferences();
void onRecurringRuleChanged();
void onTransactionDateChanged();
+ void onCreateAdjustment();
private:
Ui::CashFlow *ui;
@@ -46,7 +47,6 @@ private:
QFont currentAmountFont;
int weekStartDay;
QString currentFilePath;
- Transaction currentProjectedTransaction; // For converting projections to actuals
enum PeriodType {
Daily,
@@ -61,7 +61,6 @@ private:
void refreshRecurringTable();
void calculateAndDisplayBalance();
QList<Transaction> getAllTransactionsInRange();
- QList<Transaction> generateProjectedTransactions();
void clearTransactionEntry();
void loadTransactionToEntry(const Transaction &t);
void clearRecurringEntry();
@@ -73,6 +72,8 @@ private:
void updateAmountColors();
void loadSettings();
QString formatCurrency(double amount) const;
+ double calculateBalanceUpTo(const QDate &date, const QString &account);
+ void recalculateAllReconciliations();
bool openDatabase(const QString &filePath);
void populateRecurringRulesCombo();
void updateOccurrenceKey();