Home
last modified time | relevance | path

Searched refs:settings (Results 1 – 25 of 30) sorted by relevance

12

/glogg/glogg/src/
H A Dconfiguration.cpp
H A Dsessioninfo.cpp
H A Dsavedsearches.cpp
H A Drecentfiles.cpp
H A Dfilterset.cpp
H A Dversionchecker.cpp
H A Dfilterset.h
H A Dpersistable.h
H A Drecentfiles.h
H A Dsavedsearches.h
H A Dsessioninfo.h
H A Dversionchecker.h
H A Dconfiguration.h
/glogg/src/
H A Dconfiguration.cpp69 void Configuration::retrieveFromStorage( QSettings& settings ) in retrieveFromStorage() argument
74 QString family = settings.value( "mainFont.family" ).toString(); in retrieveFromStorage()
75 int size = settings.value( "mainFont.size" ).toInt(); in retrieveFromStorage()
83 settings.value( "regexpType.main", mainRegexpType_ ).toInt() ); in retrieveFromStorage()
85 settings.value( "regexpType.quickfind", quickfindRegexpType_ ).toInt() ); in retrieveFromStorage()
86 if ( settings.contains( "quickfind.incremental" ) ) in retrieveFromStorage()
87 quickfindIncremental_ = settings.value( "quickfind.incremental" ).toBool(); in retrieveFromStorage()
90 if ( settings.contains( "polling.enabled" ) ) in retrieveFromStorage()
91 pollingEnabled_ = settings.value( "polling.enabled" ).toBool(); in retrieveFromStorage()
92 if ( settings.contains( "polling.intervalMs" ) ) in retrieveFromStorage()
[all …]
H A Dsessioninfo.cpp28 void SessionInfo::retrieveFromStorage( QSettings& settings ) in retrieveFromStorage() argument
32 geometry_ = settings.value("geometry").toByteArray(); in retrieveFromStorage()
34 if ( settings.contains( "OpenFiles/version" ) ) { in retrieveFromStorage()
37 settings.beginGroup( "OpenFiles" ); in retrieveFromStorage()
38 if ( settings.value( "version" ) == OPENFILES_VERSION ) { in retrieveFromStorage()
39 int size = settings.beginReadArray( "openFiles" ); in retrieveFromStorage()
42 settings.setArrayIndex(i); in retrieveFromStorage()
44 settings.value( "fileName" ).toString().toStdString(); in retrieveFromStorage()
45 uint64_t top_line = settings.value( "topLine" ).toInt(); in retrieveFromStorage()
47 settings.value( "viewContext" ).toString().toStdString(); in retrieveFromStorage()
[all …]
H A Dsavedsearches.cpp84 void SavedSearches::saveToStorage( QSettings& settings ) const in saveToStorage()
88 settings.beginGroup( "SavedSearches" ); in saveToStorage()
90 settings.remove(""); in saveToStorage()
91 settings.setValue( "version", SAVEDSEARCHES_VERSION ); in saveToStorage()
92 settings.beginWriteArray( "searchHistory" ); in saveToStorage()
94 settings.setArrayIndex( i ); in saveToStorage()
95 settings.setValue( "string", savedSearches_.at( i ) ); in saveToStorage()
97 settings.endArray(); in saveToStorage()
98 settings.endGroup(); in saveToStorage()
101 void SavedSearches::retrieveFromStorage( QSettings& settings ) in retrieveFromStorage() argument
[all …]
H A Drecentfiles.cpp64 void RecentFiles::saveToStorage( QSettings& settings ) const in saveToStorage()
68 settings.beginGroup( "RecentFiles" ); in saveToStorage()
69 settings.setValue( "version", RECENTFILES_VERSION ); in saveToStorage()
70 settings.beginWriteArray( "filesHistory" ); in saveToStorage()
72 settings.setArrayIndex( i ); in saveToStorage()
73 settings.setValue( "name", recentFiles_.at( i ) ); in saveToStorage()
75 settings.endArray(); in saveToStorage()
76 settings.endGroup(); in saveToStorage()
79 void RecentFiles::retrieveFromStorage( QSettings& settings ) in retrieveFromStorage() argument
85 if ( settings.contains( "RecentFiles/version" ) ) { in retrieveFromStorage()
[all …]
H A Dfilterset.cpp173 void Filter::saveToStorage( QSettings& settings ) const in saveToStorage()
177 settings.setValue( "regexp", regexp_.pattern() ); in saveToStorage()
178settings.setValue( "ignore_case", regexp_.patternOptions().testFlag( QRegularExpression::CaseInsen… in saveToStorage()
179 settings.setValue( "fore_colour", foreColorName_ ); in saveToStorage()
180 settings.setValue( "back_colour", backColorName_ ); in saveToStorage()
183 void Filter::retrieveFromStorage( QSettings& settings ) in retrieveFromStorage() argument
187 regexp_ = QRegularExpression( settings.value( "regexp" ).toString(), in retrieveFromStorage()
188 getPatternOptions( settings.value( "ignore_case", false ).toBool() ) ); in retrieveFromStorage()
189 foreColorName_ = settings.value( "fore_colour" ).toString(); in retrieveFromStorage()
190 backColorName_ = settings.value( "back_colour" ).toString(); in retrieveFromStorage()
[all …]
H A Dversionchecker.cpp54 void VersionCheckerConfig::retrieveFromStorage( QSettings& settings ) in retrieveFromStorage() argument
56 if ( settings.contains( "versionchecker.enabled" ) ) in retrieveFromStorage()
57 enabled_ = settings.value( "versionchecker.enabled" ).toBool(); in retrieveFromStorage()
58 if ( settings.contains( "versionchecker.nextDeadline" ) ) in retrieveFromStorage()
59 next_deadline_ = settings.value( "versionchecker.nextDeadline" ).toLongLong(); in retrieveFromStorage()
62 void VersionCheckerConfig::saveToStorage( QSettings& settings ) const in saveToStorage()
64 settings.setValue( "versionchecker.enabled", enabled_ ); in saveToStorage()
65 settings.setValue( "versionchecker.nextDeadline", in saveToStorage()
H A Dfilterset.h57 void saveToStorage( QSettings& settings ) const;
58 void retrieveFromStorage( QSettings& settings );
81 virtual void saveToStorage( QSettings& settings ) const;
82 virtual void retrieveFromStorage( QSettings& settings );
H A Dpersistable.h32 virtual void saveToStorage( QSettings& settings ) const = 0;
33 virtual void retrieveFromStorage( QSettings& settings ) = 0;
H A Drecentfiles.h42 virtual void saveToStorage( QSettings& settings ) const;
43 virtual void retrieveFromStorage( QSettings& settings );
H A Dsavedsearches.h49 void saveToStorage( QSettings& settings ) const;
50 void retrieveFromStorage( QSettings& settings );
H A Dsessioninfo.h61 virtual void saveToStorage( QSettings& settings ) const;
62 virtual void retrieveFromStorage( QSettings& settings );
H A Dversionchecker.h48 virtual void saveToStorage( QSettings& settings ) const;
49 virtual void retrieveFromStorage( QSettings& settings );

12