aboutsummaryrefslogtreecommitdiff
path: root/notebookmodel.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-14 17:39:26 +0200
committerJavier <dev.git@javispedro.com>2015-06-14 17:39:26 +0200
commit247b7d55be4c9caea3cbc05f6f543280f207d895 (patch)
tree7fd437e728726117cb8914dd1658adffaabcf3ac /notebookmodel.h
parente3c4aa5dffecc8f62958c44035b2e58de0228eb4 (diff)
downloadscribiu-247b7d55be4c9caea3cbc05f6f543280f207d895.tar.gz
scribiu-247b7d55be4c9caea3cbc05f6f543280f207d895.zip
allow changing data path, improve icon
Diffstat (limited to 'notebookmodel.h')
-rw-r--r--notebookmodel.h4
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;