mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T109, datastore object and list
* unified properties in int/string DB objects * fixed typo dbKeysAsString
This commit is contained in:
committed by
Mathew Sutcliffe
parent
03a551d016
commit
dfb6b05e9d
@@ -35,11 +35,14 @@ namespace BlackMisc
|
||||
//! Sort by timestamp
|
||||
void sortByKey();
|
||||
|
||||
//! All keys as list
|
||||
//! All keys as set
|
||||
QSet<KEYTYPE> toDbKeySet() const;
|
||||
|
||||
//! All keys as string set (also int keys will be converted to string)
|
||||
QSet<QString> toDbKeyStringSet() const;
|
||||
|
||||
//! The DB keys as string
|
||||
QString dbKeysAsStrings(const QString &separator) const;
|
||||
QString dbKeysAsString(const QString &separator) const;
|
||||
|
||||
//! Max.key value (making sense with integer key)
|
||||
KEYTYPE getMaxKey(bool *ok = nullptr) const;
|
||||
|
||||
Reference in New Issue
Block a user