aboutsummaryrefslogtreecommitdiff
path: root/notebookmodel.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-14 17:17:12 +0200
committerJavier <dev.git@javispedro.com>2015-06-14 17:17:12 +0200
commite3c4aa5dffecc8f62958c44035b2e58de0228eb4 (patch)
tree8fb5f24098e094fe1f103092c6fed07a116cb91a /notebookmodel.h
parentaa2999041d405215d5a7e8c494e276ebbfc089fc (diff)
downloadscribiu-e3c4aa5dffecc8f62958c44035b2e58de0228eb4.tar.gz
scribiu-e3c4aa5dffecc8f62958c44035b2e58de0228eb4.zip
better synchronization status reporting
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 1f52088..cbe94c6 100644
--- a/notebookmodel.h
+++ b/notebookmodel.h
@@ -33,10 +33,14 @@ private:
private:
int indexOfPen(const QString &name);
+ QDir penDir(const QString &pen) const;
QDir notebookDir(const QString &pen, const QString &notebook) const;
QIcon getNotebookIcon(const QString &pen, const QString &notebook) const;
+ bool isPenLocked(const QString &pen) const;
bool isNotebookLocked(const QString &pen, const QString &notebook) const;
+ int estimatePagesOfNotebook(const QString &pen, const QString &notebook) const;
+
private slots:
void handleChangedDirectory(const QString &path);