Lines Matching defs:query

234 		// no initial query, fall back on the default query template
242 // no default query template yet
367 BQuery query;
370 fBackground->GetByNamePredicate(&query);
371 query.GetPredicate(&predicate);
384 fBackground->GetByAttrPredicate(&query, dynamicDate);
385 query.GetPredicate(&predicate);
415 // save date/time info for recent query support and transient query killer
455 // write some useful info to help locate the volume to query
490 // default to query for everything
494 // write out all the dialog items as attributes so that the query can
537 // have to wait for the node monitor to force old query to close
549 // PRINT(("waiting for query window to quit, %d\n", timeOut));
551 // the old query window would not quit for some reason
599 // running query and to close the corresponding window
602 // change the name of the old query per users request
609 // create query file in the user's directory
674 // to the new query so that if the user
787 fQueryName = new BTextControl("query name", B_TRANSLATE("Query name:"),
1042 // query go if the user doesn't pick at least one
1192 // the query name was edited, make the query permanent
1232 // finish saving query template from a SaveAs panel
1272 bool query = false;
1279 query = true;
1287 query = true;
1293 if (query || queryTemplate)
1348 FindPanel::BuildAttrQuery(BQuery* query, bool& dynamicDate) const
1378 query->PushAttr(str);
1380 query->PushAttr(item->Label());
1384 query->PushString(textControl->Text(), true);
1398 query->PushDate(textControl->Text());
1415 query->PushUInt32(value);
1422 query->PushUInt32((uint32)StringToScalar(
1429 query->PushInt32((int32)StringToScalar(
1434 query->PushUInt64((uint64)StringToScalar(
1440 query->PushInt64(StringToScalar(
1449 query->PushFloat(floatVal);
1458 query->PushDouble(doubleVal);
1469 query->PushOp(theOperator);
1471 query->PushOp(B_EQ);
1482 query->PushOp(theOperator);
1485 query->PushOp(B_AND);
1492 FindPanel::PushMimeType(BQuery* query) const
1507 query->PushAttr(kAttrMIMEType);
1508 query->PushString(type);
1509 query->PushOp(B_EQ);
1510 query->PushOp(B_AND);
1516 FindPanel::GetByAttrPredicate(BQuery* query, bool& dynamicDate) const
1519 BuildAttrQuery(query, dynamicDate);
1520 PushMimeType(query);
1575 FindPanel::GetByNamePredicate(BQuery* query) const
1587 query->PushAttr("name");
1588 query->PushString(textControl->Text(), true);
1592 query->PushOp(B_EQ);
1594 query->PushOp(B_CONTAINS);
1596 PushMimeType(query);
1614 BQuery query;
1617 GetByAttrPredicate(&query, dummy);
1619 GetByNamePredicate(&query);
1621 query.GetPredicate(&buffer);
2006 BQuery query;
2007 query.SetVolume(&volume);
2008 query.SetPredicate("_trk/recentQuery == 1");
2009 if (query.Fetch() != B_OK)
2013 while (query.GetNextRef(&ref) == B_OK) {
2066 B_TRANSLATE("Save query as template" B_UTF8_ELLIPSIS), message);
2402 // get volumes to perform query on
3037 PRINT(("transient query killer done\n"));
3053 PRINT(("starting up transient query killer\n"));
3082 PRINT(("transient query killer: %s not a query\n", model.Name()));
3105 PRINT(("query %s, not old enough\n", model->Name()));
3117 // is this a temporary query
3119 PRINT(("query %s, not temporary\n", model->Name()));
3131 PRINT(("query %s, showing, can't delete\n", model->Name()));
3135 PRINT(("query %s, old, temporary, not shownig - deleting\n",
3233 // override to substitute the user-specified query name