diff options
author | Javier <dev.git@javispedro.com> | 2015-06-14 17:39:26 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-06-14 17:39:26 +0200 |
commit | 247b7d55be4c9caea3cbc05f6f543280f207d895 (patch) | |
tree | 7fd437e728726117cb8914dd1658adffaabcf3ac /notebookmodel.h | |
parent | e3c4aa5dffecc8f62958c44035b2e58de0228eb4 (diff) | |
download | scribiu-247b7d55be4c9caea3cbc05f6f543280f207d895.tar.gz scribiu-247b7d55be4c9caea3cbc05f6f543280f207d895.zip |
allow changing data path, improve icon
Diffstat (limited to 'notebookmodel.h')
-rw-r--r-- | notebookmodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/notebookmodel.h b/notebookmodel.h index cbe94c6..2b6ad73 100644 --- a/notebookmodel.h +++ b/notebookmodel.h @@ -8,9 +8,13 @@ class NotebookModel : public QAbstractItemModel { Q_OBJECT + public: explicit NotebookModel(QObject *parent = 0); + static QString defaultDataDirectory(); + static QString userDataDirectory(); + QString penDirectory(const QString &name) const; QString notebookDirectory(const QString &penName, const QString &nbName) const; QString notebookDirectory(const QModelIndex &index) const; |