1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-04-14 11:18:47 +02:00

35 lines
503 B
C
Raw Normal View History

2016-12-10 22:39:53 +00:00
#ifndef FOLDER_H
#define FOLDER_H
#include <stable.h>
#include "models/item.h"
2017-01-12 17:59:19 +01:00
#include "models/note.h"
2016-12-10 22:39:53 +00:00
namespace jop {
class Folder : public Item {
public:
Folder();
2017-01-01 23:20:06 +01:00
static int count();
static QVector<Folder> all(const QString& orderBy);
2017-01-01 23:03:42 +01:00
Table table() const;
bool primaryKeyIsUuid() const;
2017-01-02 15:04:27 +01:00
bool trackChanges() const;
2017-01-12 17:59:19 +01:00
int noteCount() const;
QVector<Note> notes(const QString& orderBy, int limit, int offset) const;
2017-01-05 18:59:01 +01:00
// bool save();
// bool dispose();
2016-12-10 22:39:53 +00:00
private:
};
}
#endif // FOLDER_H