Index: sources/storage/RxProfilesController.h =================================================================== diff -u -r47e53a72dae5a817465b3ef0be9f98a9dd16f60a -rb4d8fe6f11b7cdf0c631b3ab35ba36f18e0d7bc4 --- sources/storage/RxProfilesController.h (.../RxProfilesController.h) (revision 47e53a72dae5a817465b3ef0be9f98a9dd16f60a) +++ sources/storage/RxProfilesController.h (.../RxProfilesController.h) (revision b4d8fe6f11b7cdf0c631b3ab35ba36f18e0d7bc4) @@ -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();