swift
|
Class with datastore related utilities. More...
Public Member Functions | |
CDatastoreUtility ()=delete | |
No constructor. | |
Static Public Member Functions | |
static const QStringList & | getLogCategories () |
Log.categories. | |
static bool | dbBoolStringToBool (const QString &dbBool) |
DB Bool value to bool. | |
static const QString & | boolToDbYN (bool v) |
Bool to DB yes/no. | |
static int | extractIntegerKey (const QString &stringWithKey) |
Extract key from string like "MyAircraft (33)". | |
static QString | stripKeyInParentheses (const QString &valueWithKey) |
Strip the parentheses part, e.g. "foo (123)" => "foo". | |
static QDateTime | parseTimestamp (const QString ×tamp) |
Parse a timestamp object. | |
static bool | parseAutoPublishResponse (const QString &jsonResponse, CStatusMessageList &messages) |
Auto publish response. | |
Class with datastore related utilities.
Definition at line 24 of file datastoreutility.h.