| 2781 | |
| 2782 | |
| 2783 | int WizIniReadIntDef(const CString& strFile, const CString& strSection, const CString& strKey, int defaultValue) |
| 2784 | { |
| 2785 | QSettings settings(strFile, QSettings::IniFormat); |
| 2786 | QString strStr = strSection.isEmpty() ? strKey : strSection + "/" + strKey; |
| 2787 | return settings.value(strStr, defaultValue).toInt(); |
| 2788 | } |
| 2789 | |
| 2790 | |
| 2791 | void WizIniWriteInt(const CString& strFile, const CString& strSection, const CString& strKey, int nValue) |
no test coverage detected