Searched refs:settings (Results 1 – 25 of 30) sorted by relevance
12
/glogg/glogg/src/ |
H A D | configuration.cpp |
|
H A D | sessioninfo.cpp |
|
H A D | savedsearches.cpp |
|
H A D | recentfiles.cpp |
|
H A D | filterset.cpp |
|
H A D | versionchecker.cpp |
|
H A D | filterset.h |
|
H A D | persistable.h |
|
H A D | recentfiles.h |
|
H A D | savedsearches.h |
|
H A D | sessioninfo.h |
|
H A D | versionchecker.h |
|
H A D | configuration.h |
|
/glogg/src/ |
H A D | configuration.cpp | 69 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 D | sessioninfo.cpp | 28 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 D | savedsearches.cpp | 84 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 D | recentfiles.cpp | 64 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 D | filterset.cpp | 173 void Filter::saveToStorage( QSettings& settings ) const in saveToStorage() 177 settings.setValue( "regexp", regexp_.pattern() ); in saveToStorage() 178 …settings.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 D | versionchecker.cpp | 54 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 D | filterset.h | 57 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 D | persistable.h | 32 virtual void saveToStorage( QSettings& settings ) const = 0; 33 virtual void retrieveFromStorage( QSettings& settings ) = 0;
|
H A D | recentfiles.h | 42 virtual void saveToStorage( QSettings& settings ) const; 43 virtual void retrieveFromStorage( QSettings& settings );
|
H A D | savedsearches.h | 49 void saveToStorage( QSettings& settings ) const; 50 void retrieveFromStorage( QSettings& settings );
|
H A D | sessioninfo.h | 61 virtual void saveToStorage( QSettings& settings ) const; 62 virtual void retrieveFromStorage( QSettings& settings );
|
H A D | versionchecker.h | 48 virtual void saveToStorage( QSettings& settings ) const; 49 virtual void retrieveFromStorage( QSettings& settings );
|
12