mirror of
https://github.com/laurent22/joplin.git
synced 2025-04-14 11:18:47 +02:00
35 lines
503 B
C++
Executable File
35 lines
503 B
C++
Executable File
#ifndef FOLDER_H
|
|
#define FOLDER_H
|
|
|
|
#include <stable.h>
|
|
#include "models/item.h"
|
|
#include "models/note.h"
|
|
|
|
namespace jop {
|
|
|
|
class Folder : public Item {
|
|
|
|
public:
|
|
|
|
Folder();
|
|
|
|
static int count();
|
|
static QVector<Folder> all(const QString& orderBy);
|
|
|
|
Table table() const;
|
|
bool primaryKeyIsUuid() const;
|
|
bool trackChanges() const;
|
|
int noteCount() const;
|
|
QVector<Note> notes(const QString& orderBy, int limit, int offset) const;
|
|
|
|
// bool save();
|
|
// bool dispose();
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // FOLDER_H
|