|
FOSSredder 0.5.0
|
Functions | |
| QStringList | toQStringList (const std::vector< std::string > &values) |
| Converts standard strings to a Qt string list. | |
| QVariantList | toVariantStringList (const std::vector< std::string > &values) |
| Converts standard strings to a QVariant string list. | |
| QVariantList | toVariantStringList (const QStringList &values) |
| Converts Qt strings to a QVariant string list. | |
| QStringList | toQStringList (const QVariantList &values) |
| Converts a QVariant list to a Qt string list. | |
| QVariantList | toVariantList (const QVariant &value) |
| Converts a QVariant value to a QVariantList. | |
| QVariantMap | mapAt (const QVariantList &rows, int index) |
| Returns a map at an index in a row list. | |
| QString | rowId (const QVariantMap &row) |
| Reads a row id. | |
| QString | rowType (const QVariantMap &row) |
| Reads a row type. | |
| QString | rowDisplayName (const QVariantMap &row) |
| Reads a row display name. | |
| int | rowIntValue (const QVariantMap &row, int fallback=0) |
| Reads an integer row value. | |
| QString | rowStringValue (const QVariantMap &row, const QString &fallback={}) |
| Reads a string row value. | |
| int | indexById (const QVariantList &rows, const QString &id) |
| Finds the index of a row id. | |
| QString | stringValue (const QVariantMap &map, const QString &key) |
| Reads a string value from a map. | |
| QVariantList | listValue (const QVariantMap &map, const QString &key) |
| Reads a list value from a map. | |
| QStringList | stringListValue (const QVariantMap &map, const QString &key) |
| Reads a string list value from a map. | |
|
inline |
Finds the index of a row id.
| rows | QVariant row list. |
| id | Row id to find. |
Definition at line 156 of file PayloadMapper.h.


|
inline |
Reads a list value from a map.
| map | Source map. |
| key | Value key. |
Definition at line 181 of file PayloadMapper.h.

|
inline |
Returns a map at an index in a row list.
| rows | QVariant row list. |
| index | Row index. |
Definition at line 96 of file PayloadMapper.h.

|
inline |
Reads a row display name.
| row | Row map. |
Definition at line 124 of file PayloadMapper.h.
|
inline |
Reads a row id.
| row | Row map. |
Definition at line 106 of file PayloadMapper.h.

|
inline |
Reads an integer row value.
| row | Row map. |
| fallback | Value returned when the row has no integer value. |
Definition at line 135 of file PayloadMapper.h.

|
inline |
Reads a string row value.
| row | Row map. |
| fallback | Value returned when the row has no string value. |
Definition at line 145 of file PayloadMapper.h.

|
inline |
Reads a row type.
| row | Row map. |
Definition at line 115 of file PayloadMapper.h.

|
inline |
Reads a string list value from a map.
| map | Source map. |
| key | Value key. |
Definition at line 191 of file PayloadMapper.h.

|
inline |
Reads a string value from a map.
| map | Source map. |
| key | Value key. |
Definition at line 171 of file PayloadMapper.h.
|
inline |
Converts a QVariant list to a Qt string list.
| values | QVariant values. |
Definition at line 69 of file PayloadMapper.h.
|
inline |
Converts standard strings to a Qt string list.
| values | Standard string values. |
Definition at line 26 of file PayloadMapper.h.

|
inline |
Converts a QVariant value to a QVariantList.
| value | QVariant that may contain QStringList or QVariantList. |
Definition at line 83 of file PayloadMapper.h.


|
inline |
Converts Qt strings to a QVariant string list.
| values | Qt string values. |
Definition at line 55 of file PayloadMapper.h.
|
inline |
Converts standard strings to a QVariant string list.
| values | Standard string values. |
Definition at line 41 of file PayloadMapper.h.
