File: mock_qsettings.h

package info (click to toggle)
neovim-qt 0.2.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,808 kB
  • sloc: cpp: 45,441; python: 234; makefile: 24; sh: 19; xml: 5
file content (16 lines) | stat: -rw-r--r-- 432 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <QSettings>

namespace NeovimQt { namespace MockQSettings {

/// Overrides QSettings to use the mock format by default
void EnableByDefault() noexcept;

/// Clears all contents store in MockQSettings
void ClearAllContents() noexcept;

/// Overwrites call contents stored in MockQSettings with newValue
void OverwriteContents(QSettings::SettingsMap newValue) noexcept;

}} // namespace NeovimQt::MockQSettings