From 5e9b299dfe95a7f99f029802089c047a392eee3a Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Sat, 27 Dec 2025 16:04:48 -0500 Subject: WIP: occurrence_key model before refactoring to persistent projections --- cashflow.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cashflow.h') diff --git a/cashflow.h b/cashflow.h index adb0494..b75d62b 100644 --- a/cashflow.h +++ b/cashflow.h @@ -34,6 +34,8 @@ private slots: void onOpenFile(); void onQuit(); void onPreferences(); + void onRecurringRuleChanged(); + void onTransactionDateChanged(); private: Ui::CashFlow *ui; @@ -44,6 +46,7 @@ private: QFont currentAmountFont; int weekStartDay; QString currentFilePath; + Transaction currentProjectedTransaction; // For converting projections to actuals enum PeriodType { Daily, @@ -71,5 +74,8 @@ private: void loadSettings(); QString formatCurrency(double amount) const; bool openDatabase(const QString &filePath); + void populateRecurringRulesCombo(); + void updateOccurrenceKey(); + QString generateOccurrenceKey(const QDate &date, RecurrenceFrequency frequency) const; }; #endif // CASHFLOW_H -- cgit v1.2.3