diff options
author | Javier <dev.git@javispedro.com> | 2015-06-14 17:17:12 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-06-14 17:17:12 +0200 |
commit | e3c4aa5dffecc8f62958c44035b2e58de0228eb4 (patch) | |
tree | 8fb5f24098e094fe1f103092c6fed07a116cb91a /notebookmodel.h | |
parent | aa2999041d405215d5a7e8c494e276ebbfc089fc (diff) | |
download | scribiu-e3c4aa5dffecc8f62958c44035b2e58de0228eb4.tar.gz scribiu-e3c4aa5dffecc8f62958c44035b2e58de0228eb4.zip |
better synchronization status reporting
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 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 ¬ebook) const; QIcon getNotebookIcon(const QString &pen, const QString ¬ebook) const; + bool isPenLocked(const QString &pen) const; bool isNotebookLocked(const QString &pen, const QString ¬ebook) const; + int estimatePagesOfNotebook(const QString &pen, const QString ¬ebook) const; + private slots: void handleChangedDirectory(const QString &path); |