Home
last modified time | relevance | path

Searched refs:mutedDictionaries (Results 1 – 10 of 10) sorted by relevance

/dports/textproc/goldendict/goldendict-73ec1b5/
H A Ddictionarybar.cc16 mutedDictionaries( 0 ), in DictionaryBar()
80 action->setChecked( mutedDictionaries ? !mutedDictionaries->contains( id ) : true ); in setDictionaries()
236 if( !mutedDictionaries ) in mutedDictionariesChanged()
257 if( !mutedDictionaries ) in actionWasTriggered()
292 *mutedDictionaries = storedMutedSet; in actionWasTriggered()
304 storedMutedSet = *mutedDictionaries; in actionWasTriggered()
313 mutedDictionaries->remove( dictId ); in actionWasTriggered()
315 mutedDictionaries->insert( dictId ); in actionWasTriggered()
330 if ( mutedDictionaries->contains( id ) ) in actionWasTriggered()
332 mutedDictionaries->remove( id ); in actionWasTriggered()
[all …]
H A Ddictionarybar.hh28 { mutedDictionaries = mutedDictionaries_; } in setMutedDictionaries()
30 { return mutedDictionaries; } in getMutedDictionaries()
53 Config::MutedDictionaries * mutedDictionaries; member in DictionaryBar
H A Dinstances.cc132 void Group::checkMutedDictionaries( Config::MutedDictionaries * mutedDictionaries ) const in checkMutedDictionaries()
139 if( mutedDictionaries->contains( id ) ) in checkMutedDictionaries()
142 * mutedDictionaries = temp; in checkMutedDictionaries()
H A Dconfig.hh93 Config::MutedDictionaries mutedDictionaries; // Disabled via dictionary bar member
102 mutedDictionaries == other.mutedDictionaries && in operator ==()
660 MutedDictionaries mutedDictionaries; // Disabled via dictionary bar member
H A Dinstances.hh45 void checkMutedDictionaries( Config::MutedDictionaries * mutedDictionaries ) const;
H A Dconfig.cc372 g.mutedDictionaries.insert( dicts.item( x ).toElement().text() ); in loadGroup()
381 MutedDictionaries loadMutedDictionaries( QDomNode mutedDictionaries ) in loadMutedDictionaries() argument
385 if ( !mutedDictionaries.isNull() ) in loadMutedDictionaries()
387 QDomNodeList nl = mutedDictionaries.toElement(). in loadMutedDictionaries()
398 MutedDictionaries const & mutedDictionaries ) in saveMutedDictionaries() argument
400 for( MutedDictionaries::const_iterator i = mutedDictionaries.begin(); in saveMutedDictionaries()
401 i != mutedDictionaries.end(); ++i ) in saveMutedDictionaries()
801 c.mutedDictionaries = loadMutedDictionaries( root.namedItem( "mutedDictionaries" ) ); in load()
1220 for( MutedDictionaries::const_iterator i = data.mutedDictionaries.begin(); in saveGroup()
1221 i != data.mutedDictionaries.end(); ++i ) in saveGroup()
[all …]
H A Dmainwindow.cc521 igrp->checkMutedDictionaries( &cfg.mutedDictionaries ); in MainWindow()
522 dictionaryBar.setMutedDictionaries( &cfg.mutedDictionaries ); in MainWindow()
528 igrp->checkMutedDictionaries( &grp->mutedDictionaries ); in MainWindow()
529 dictionaryBar.setMutedDictionaries( grp ? &grp->mutedDictionaries : 0 ); in MainWindow()
1436 dictionaryBar.setMutedDictionaries( &cfg.mutedDictionaries ); in updateDictionaryBar()
1535 if ( !mutedDictionaries->contains( in getActiveDicts()
2054 newCfg.groups[ x ].mutedDictionaries = grp->mutedDictionaries; in editDictionaries()
2227 igrp->checkMutedDictionaries( &cfg.mutedDictionaries ); in currentGroupChanged()
2228 dictionaryBar.setMutedDictionaries( &cfg.mutedDictionaries ); in currentGroupChanged()
2236 igrp->checkMutedDictionaries( &grp->mutedDictionaries ); in currentGroupChanged()
[all …]
H A Darticleview.cc997 Config::MutedDictionaries const * mutedDictionaries; in getMutedForGroup() local
999 mutedDictionaries = popupView ? &cfg.popupMutedDictionaries : &cfg.mutedDictionaries; in getMutedForGroup()
1001mutedDictionaries = grp ? ( popupView ? &grp->popupMutedDictionaries : &grp->mutedDictionaries ) :… in getMutedForGroup()
1002 if( !mutedDictionaries ) in getMutedForGroup()
1014 if ( mutedDictionaries->contains( id ) ) in getMutedForGroup()
H A Dscanpopup.cc820 Config::MutedDictionaries const * mutedDictionaries = dictionaryBar.getMutedDictionaries(); in getActiveDicts() local
821 if ( !dictionaryBar.toggleViewAction()->isChecked() || mutedDictionaries == 0 ) in getActiveDicts()
835 if ( !mutedDictionaries->contains( in getActiveDicts()
H A Dfulltextsearch.cc553 mutedDicts = &cfg.mutedDictionaries; in updateDictionaries()
555 mutedDicts = grp ? &grp->mutedDictionaries : 0; in updateDictionaries()