diff options
-rw-r--r-- | autotests/kconfig_compiler/test_signal.cpp.ref | 4 | ||||
-rw-r--r-- | autotests/kconfig_compiler/test_signal.h.ref | 2 | ||||
-rw-r--r-- | src/kconfig_compiler/kconfig_compiler.cpp | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/autotests/kconfig_compiler/test_signal.cpp.ref b/autotests/kconfig_compiler/test_signal.cpp.ref index 6faf8bd1..e959571a 100644 --- a/autotests/kconfig_compiler/test_signal.cpp.ref +++ b/autotests/kconfig_compiler/test_signal.cpp.ref @@ -56,9 +56,9 @@ TestSignal::~TestSignal() s_globalTestSignal()->q = 0; } -bool TestSignal::usrWriteConfig() +bool TestSignal::usrSave() { - const bool res = KConfigSkeleton::usrWriteConfig(); + const bool res = KConfigSkeleton::usrSave(); if (!res) return false; if ( mSettingsChanged & signalEmoticonSettingsChanged ) diff --git a/autotests/kconfig_compiler/test_signal.h.ref b/autotests/kconfig_compiler/test_signal.h.ref index e9f9c94c..648b26db 100644 --- a/autotests/kconfig_compiler/test_signal.h.ref +++ b/autotests/kconfig_compiler/test_signal.h.ref @@ -139,7 +139,7 @@ class TestSignal : public KConfigSkeleton TestSignal(); friend class TestSignalHelper; - virtual bool usrWriteConfig(); + virtual bool usrSave(); // Appearance QString mEmoticonTheme; diff --git a/src/kconfig_compiler/kconfig_compiler.cpp b/src/kconfig_compiler/kconfig_compiler.cpp index 246cc92a..fc3571c0 100644 --- a/src/kconfig_compiler/kconfig_compiler.cpp +++ b/src/kconfig_compiler/kconfig_compiler.cpp @@ -2125,7 +2125,7 @@ int main(int argc, char **argv) } if (hasNonModifySignals) { - h << " virtual bool usrWriteConfig();" << endl; + h << " virtual bool usrSave();" << endl; } // Member variables @@ -2605,9 +2605,9 @@ int main(int argc, char **argv) cpp << "}" << endl << endl; if (hasNonModifySignals) { - cpp << "bool " << cfg.className << "::" << "usrWriteConfig()" << endl; + cpp << "bool " << cfg.className << "::" << "usrSave()" << endl; cpp << "{" << endl; - cpp << " const bool res = " << cfg.inherits << "::usrWriteConfig();" << endl; + cpp << " const bool res = " << cfg.inherits << "::usrSave();" << endl; cpp << " if (!res) return false;" << endl << endl; Q_FOREACH (const Signal &signal, signalList) { if (signal.modify) { |