Lines Matching refs:Prefs
23 TorrentFilter :: TorrentFilter( Prefs& prefs ):
33 initKeys << Prefs :: SORT_MODE
34 << Prefs :: FILTER_MODE
35 << Prefs :: FILTER_TRACKERS
36 << Prefs :: FILTER_TEXT;
50 case Prefs :: FILTER_TEXT:
51 case Prefs :: FILTER_MODE:
52 case Prefs :: FILTER_TRACKERS:
55 sort( 0, !myPrefs.getBool(Prefs::SORT_REVERSED) ? Qt::AscendingOrder : Qt::DescendingOrder );
57 case Prefs :: SORT_MODE:
58 case Prefs :: SORT_REVERSED:
59 sort( 0, myPrefs.getBool(Prefs::SORT_REVERSED) ? Qt::AscendingOrder : Qt::DescendingOrder );
86 switch( myPrefs.get<SortMode>(Prefs::SORT_MODE).mode() )
184 const FilterMode m = myPrefs.get<FilterMode>(Prefs::FILTER_MODE);
189 const QString trackers = myPrefs.getString(Prefs::FILTER_TRACKERS);
194 const QString text = myPrefs.getString( Prefs::FILTER_TEXT );