mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 22:39:53 +08:00
36 lines
754 B
C++
36 lines
754 B
C++
#ifndef BUNDLENOTEBOOK_H
|
|
#define BUNDLENOTEBOOK_H
|
|
|
|
#include "notebook.h"
|
|
#include "global.h"
|
|
|
|
namespace vnotex
|
|
{
|
|
class BundleNotebookConfigMgr;
|
|
|
|
class BundleNotebook : public Notebook
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
BundleNotebook(const NotebookParameters &p_paras,
|
|
QObject *p_parent = nullptr);
|
|
|
|
ID getNextNodeId() const Q_DECL_OVERRIDE;
|
|
|
|
ID getAndUpdateNextNodeId() Q_DECL_OVERRIDE;
|
|
|
|
void updateNotebookConfig() Q_DECL_OVERRIDE;
|
|
|
|
void removeNotebookConfig() Q_DECL_OVERRIDE;
|
|
|
|
void remove() Q_DECL_OVERRIDE;
|
|
|
|
private:
|
|
BundleNotebookConfigMgr *getBundleNotebookConfigMgr() const;
|
|
|
|
ID m_nextNodeId = 1;
|
|
};
|
|
} // ns vnotex
|
|
|
|
#endif // BUNDLENOTEBOOK_H
|