File indexing completed on 2024-04-28 15:35:52

0001 // SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
0002 // SPDX-License-Identifier: LGPL-2.1-only or LGPL-3.0-only or LicenseRef-KDE-Accepted-LGPL
0003 
0004 #pragma once
0005 
0006 #include <QObject>
0007 
0008 #include "categoryentriesmodel.h"
0009 
0010 class Navigation : public QObject
0011 {
0012     Q_OBJECT
0013 
0014 public:
0015     explicit Navigation(QObject *parent = nullptr);
0016 
0017 Q_SIGNALS:
0018     void openBook(const QString &fileName, const QString &locations, const QString &currentLocation);
0019 
0020     void openLibrary(const QString &title, CategoryEntriesModel *model, bool replace);
0021 
0022     void openSettings();
0023 };