old render cleanup part 1

This commit is contained in:
Agel committed 2026-10-25 14:22:12 +01:00
1 parent 83968646c6
commit acc7e71e7b
38 files changed
+166 -1366

No files matched your search

+2 -8
View File
@@ -51,12 +51,8 @@ public:
Q_INVOKABLE void close();
Q_INVOKABLE void clearError();
// Save current scroll position. Called from QML's scroll tracker; forwards to BookPositionStore.
Q_INVOKABLE void saveCurrentPosition(int chunkIndex, int intraOffset, bool pageShift = false);
// Called from QML's PageView when its width changes. Propagates to image provider + ReadingModel
// via the contentWidthChanged signal (wired in main.cpp).
Q_INVOKABLE void setContentWidth(int width);
// Save current position. Called from QML; forwards to BookPositionStore.
Q_INVOKABLE void saveCurrentPosition(int chunkIndex, bool mangaRTL = true, bool pageShift = true);
signals:
// Emitted just before replacing the current reader with a new one.
@@ -67,7 +63,6 @@ signals:
void bookChanged();
void loadingChanged();
void errorMessageChanged();
void contentWidthChanged(int width);
private:
void openImpl(const QString &filePath);
@@ -80,7 +75,6 @@ private:
QString m_errorMessage;
bool m_loading = false;
int m_openGeneration = 0;
int m_contentWidth = 0;
QFuture<void> m_openFuture;
};