vnote/vnotefile.h
Le Tan e3e18d040c use QStackedWidget to hold QTextBrowser and VEdit
Use QTextBrowser to display file in read mode and VEdit to display file
in edit mode.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-07 21:55:30 +08:00

21 lines
366 B
C++

#ifndef VNOTEFILE_H
#define VNOTEFILE_H
#include <QString>
#include "vconstants.h"
class VNoteFile
{
public:
VNoteFile(const QString &path, const QString &name, const QString &content,
DocType docType, bool modifiable);
QString path;
QString name;
QString content;
DocType docType;
bool modifiable;
};
#endif // VNOTEFILE_H