Browse Source

add revision to signal

pull/2/head
Skycoder42 7 years ago
parent
commit
67889927e1
No known key found for this signature in database GPG Key ID: 8E01AD9EF0578D2B
  1. 1
      src/imports/mvvmcore/plugins.qmltypes
  2. 2
      src/mvvmcore/settingsviewmodel.h

1
src/imports/mvvmcore/plugins.qmltypes

@ -482,6 +482,7 @@ Module {
Signal { name: "beginLoadSetup" }
Signal {
name: "valueChanged"
revision: 1
Parameter { name: "key"; type: "string" }
}
Method {

2
src/mvvmcore/settingsviewmodel.h

@ -74,7 +74,7 @@ Q_SIGNALS:
//! Is emitted when the initialization has been completed and the viewmodel is ready for loading settings
void beginLoadSetup();
void valueChanged(const QString &key); //TODO add to save/reset doc
Q_REVISION(1) void valueChanged(const QString &key); //TODO add to save/reset doc
protected:
void onInit(const QVariantHash &params) override;

Loading…
Cancel
Save