Index: sources/storage/RxProfilesController.h =================================================================== diff -u -rb862e0cc8bfe322da4aa10ba5e56f9a386e6a00f -rb532926372ae9d55831088c7c2ff3d4c95fc552a --- sources/storage/RxProfilesController.h (.../RxProfilesController.h) (revision b862e0cc8bfe322da4aa10ba5e56f9a386e6a00f) +++ sources/storage/RxProfilesController.h (.../RxProfilesController.h) (revision b532926372ae9d55831088c7c2ff3d4c95fc552a) @@ -43,7 +43,7 @@ int _pendingCounter = 0 ; // const int _RxLimit = 10 ; // SRS- - const QString _equal = "="; + const QString _equal = "="; const QString _underscore = "_"; QString _rxProfilesPath; @@ -57,6 +57,8 @@ QString _timeFormat = "HH:mm" ; QString _datetimeFormat = _dateFormat + " " + _timeFormat; + QHash vRxProfileHash ; + enum Role { eTitle, eValue, @@ -74,8 +76,8 @@ void initConnections(); - bool saveLog (const QStringList &RxModel); - void saveLogConcurrent (const QStringList &RxModel); + bool saveLog (); + void saveLogConcurrent (); bool exportLog (); void exportLogConcurrent(); bool importLog (); @@ -94,6 +96,11 @@ RxProfilesData initModel(const QFileInfo &rxProfile); void checkFavorite(const QFileInfo &rxProfile); + void clearRxProfiles() {vRxProfileHash.clear();} + void insertRxProfileItem(Model::RxProfilesIndex key, const QVariant &value){ + vRxProfileHash.insert(key, value); + } + QString rxProfilesPath () ; private slots: @@ -104,7 +111,7 @@ public slots: // void doFavorite (); - void doSave (const QStringList &RxModel); + void doSave (); void doExport (); void doImport (); void doInitRxProfiles();