Changeset View
Changeset View
Standalone View
Standalone View
krusader/Filter/filtertabs.cpp
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Line(s) | 121 | { | |||
---|---|---|---|---|---|
122 | QListIterator<FilterBase *> it(filterList); | 122 | QListIterator<FilterBase *> it(filterList); | ||
123 | while (it.hasNext()) { | 123 | while (it.hasNext()) { | ||
124 | FilterBase *filter = it.next(); | 124 | FilterBase *filter = it.next(); | ||
125 | 125 | | |||
126 | filter->queryAccepted(); | 126 | filter->queryAccepted(); | ||
127 | } | 127 | } | ||
128 | } | 128 | } | ||
129 | 129 | | |||
130 | bool FilterTabs::fillQuery(KRQuery *query) | 130 | KRQuery FilterTabs::query() | ||
131 | { | 131 | { | ||
132 | *query = getSettings().toQuery(); | 132 | return getSettings().toQuery(); | ||
133 | | ||||
134 | return !query->isNull(); | | |||
135 | } | 133 | } | ||
136 | 134 | | |||
137 | FilterBase * FilterTabs::get(QString name) | 135 | FilterBase * FilterTabs::get(QString name) | ||
138 | { | 136 | { | ||
139 | QListIterator<FilterBase *> it(filterList); | 137 | QListIterator<FilterBase *> it(filterList); | ||
140 | while (it.hasNext()) { | 138 | while (it.hasNext()) { | ||
141 | FilterBase *filter = it.next(); | 139 | FilterBase *filter = it.next(); | ||
142 | 140 | | |||
Show All 13 Lines |