Changeset View
Changeset View
Standalone View
Standalone View
krusader/Filter/filtersettings.cpp
Show First 20 Lines • Show All 251 Lines • ▼ Show 20 Line(s) | 243 | { | |||
---|---|---|---|---|---|
252 | t.tm_yday = d.dayOfYear() - 1; // actually ignored by mktime | 252 | t.tm_yday = d.dayOfYear() - 1; // actually ignored by mktime | ||
253 | t.tm_isdst = -1; // daylight saving time information isn't available | 253 | t.tm_isdst = -1; // daylight saving time information isn't available | ||
254 | 254 | | |||
255 | return mktime(&t); | 255 | return mktime(&t); | ||
256 | } | 256 | } | ||
257 | 257 | | |||
258 | KRQuery FilterSettings::toQuery() const | 258 | KRQuery FilterSettings::toQuery() const | ||
259 | { | 259 | { | ||
260 | if(!isValid()) | 260 | if (!isValid()) | ||
261 | return KRQuery(); | 261 | return KRQuery(); | ||
262 | 262 | | |||
263 | KRQuery query; | 263 | KRQuery query; | ||
264 | 264 | | |||
265 | ////////////// General Options ////////////// | 265 | ////////////// General Options ////////////// | ||
266 | 266 | | |||
267 | query.setNameFilter(searchFor, searchForCase); | 267 | query.setNameFilter(searchFor, searchForCase); | ||
268 | 268 | | |||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |