diff options
author | Minijackson <minijackson@riseup.net> | 2018-08-21 12:03:40 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2018-08-21 12:03:40 +0200 |
commit | 6ef0a29d8e468de50c9dcf260db45957d028a083 (patch) | |
tree | 3c4f90c992595cb440e7a8a007d2f643c595777a /common/storage/key.h | |
parent | 91a86f8664f4c8ddec6546bd1faeb793b8cd70e3 (diff) | |
download | sink-6ef0a29d8e468de50c9dcf260db45957d028a083.tar.gz sink-6ef0a29d8e468de50c9dcf260db45957d028a083.zip |
Separate UIDs and revisions
Diffstat (limited to 'common/storage/key.h')
-rw-r--r-- | common/storage/key.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/storage/key.h b/common/storage/key.h index acd81cf..da90ddd 100644 --- a/common/storage/key.h +++ b/common/storage/key.h | |||
@@ -75,6 +75,7 @@ public: | |||
75 | QByteArray toDisplayByteArray() const; | 75 | QByteArray toDisplayByteArray() const; |
76 | static Revision fromDisplayByteArray(const QByteArray &bytes); | 76 | static Revision fromDisplayByteArray(const QByteArray &bytes); |
77 | qint64 toQint64() const; | 77 | qint64 toQint64() const; |
78 | size_t toSizeT() const; | ||
78 | 79 | ||
79 | static bool isValidInternal(const QByteArray &); | 80 | static bool isValidInternal(const QByteArray &); |
80 | static bool isValidDisplay(const QByteArray &); | 81 | static bool isValidDisplay(const QByteArray &); |