mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
42 lines
603 B
C++
Executable File
42 lines
603 B
C++
Executable File
#ifndef ITEM_H
|
|
#define ITEM_H
|
|
|
|
#include <stable.h>
|
|
|
|
#include "models/basemodel.h"
|
|
|
|
namespace jop {
|
|
|
|
class Item : public BaseModel {
|
|
|
|
public:
|
|
|
|
Item();
|
|
|
|
// QString title() const;
|
|
// int createdTime() const;
|
|
// int updatedTime() const;
|
|
// bool synced() const;
|
|
// static QStringList dbFields();
|
|
|
|
// void setId(const QString &v);
|
|
// void setTitle(const QString& v);
|
|
// void setCreatedTime(int v);
|
|
// void setSynced(bool v);
|
|
|
|
// void fromSqlQuery(const QSqlQuery& query);
|
|
|
|
private:
|
|
|
|
// QString id_;
|
|
// QString title_;
|
|
// time_t createdTime_;
|
|
// time_t updatedTime_;
|
|
// bool synced_;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // ITEM_H
|