libquentier 0.8.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
quentier::local_storage::NoteSearchQuery Class Reference
Inheritance diagram for quentier::local_storage::NoteSearchQuery:
Collaboration diagram for quentier::local_storage::NoteSearchQuery:

Public Member Functions

 NoteSearchQuery (const NoteSearchQuery &other)
 NoteSearchQuery (NoteSearchQuery &&other) noexcept
NoteSearchQuery & operator= (const NoteSearchQuery &other)
NoteSearchQuery & operator= (NoteSearchQuery &&other) noexcept
bool isEmpty () const
void clear ()
QString queryString () const
bool setQueryString (const QString &queryString, ErrorString &error)
QString notebookModifier () const
bool hasAnyModifier () const
const QStringList & tagNames () const
const QStringList & negatedTagNames () const
bool hasAnyTag () const
bool hasNegatedAnyTag () const
const QStringList & titleNames () const
const QStringList & negatedTitleNames () const
bool hasAnyTitleName () const
bool hasNegatedAnyTitleName () const
const QList< qint64 > & creationTimestamps () const
const QList< qint64 > & negatedCreationTimestamps () const
bool hasAnyCreationTimestamp () const
bool hasNegatedAnyCreationTimestamp () const
const QList< qint64 > & modificationTimestamps () const
const QList< qint64 > & negatedModificationTimestamps () const
bool hasAnyModificationTimestamp () const
bool hasNegatedAnyModificationTimestamp () const
const QStringList & resourceMimeTypes () const
const QStringList & negatedResourceMimeTypes () const
bool hasAnyResourceMimeType () const
bool hasNegatedAnyResourceMimeType () const
const QList< qint64 > & subjectDateTimestamps () const
const QList< qint64 > & negatedSubjectDateTimestamps () const
bool hasAnySubjectDateTimestamp () const
bool hasNegatedAnySubjectDateTimestamp () const
const QList< double > & latitudes () const
const QList< double > & negatedLatitudes () const
bool hasAnyLatitude () const
bool hasNegatedAnyLatitude () const
const QList< double > & longitudes () const
const QList< double > & negatedLongitudes () const
bool hasAnyLongitude () const
bool hasNegatedAnyLongitude () const
const QList< double > & altitudes () const
const QList< double > & negatedAltitudes () const
bool hasAnyAltitude () const
bool hasNegatedAnyAltitude () const
const QStringList & authors () const
const QStringList & negatedAuthors () const
bool hasAnyAuthor () const
bool hasNegatedAnyAuthor () const
const QStringList & sources () const
const QStringList & negatedSources () const
bool hasAnySource () const
bool hasNegatedAnySource () const
const QStringList & sourceApplications () const
const QStringList & negatedSourceApplications () const
bool hasAnySourceApplication () const
bool hasNegatedAnySourceApplication () const
const QStringList & contentClasses () const
const QStringList & negatedContentClasses () const
bool hasAnyContentClass () const
bool hasNegatedAnyContentClass () const
const QStringList & placeNames () const
const QStringList & negatedPlaceNames () const
bool hasAnyPlaceName () const
bool hasNegatedAnyPlaceName () const
const QStringList & applicationData () const
const QStringList & negatedApplicationData () const
bool hasAnyApplicationData () const
bool hasNegatedAnyApplicationData () const
const QList< qint64 > & reminderOrders () const
const QList< qint64 > & negatedReminderOrders () const
bool hasAnyReminderOrder () const
bool hasNegatedAnyReminderOrder () const
const QList< qint64 > & reminderTimes () const
const QList< qint64 > & negatedReminderTimes () const
bool hasAnyReminderTime () const
bool hasNegatedAnyReminderTime () const
const QList< qint64 > & reminderDoneTimes () const
const QList< qint64 > & negatedReminderDoneTimes () const
bool hasAnyReminderDoneTime () const
bool hasNegatedAnyReminderDoneTime () const
bool hasUnfinishedToDo () const
bool hasNegatedUnfinishedToDo () const
bool hasFinishedToDo () const
bool hasNegatedFinishedToDo () const
bool hasAnyToDo () const
bool hasNegatedAnyToDo () const
bool hasEncryption () const
bool hasNegatedEncryption () const
const QStringList & contentSearchTerms () const
const QStringList & negatedContentSearchTerms () const
bool hasAnyContentSearchTerms () const
bool isMatcheable () const
QTextStream & print (QTextStream &strm) const override
Public Member Functions inherited from quentier::utility::Printable
QString toString () const

Member Function Documentation

◆ notebookModifier()

QString quentier::local_storage::NoteSearchQuery::notebookModifier ( ) const
nodiscard

If query string has "notebook:<notebook name>" scope modifier, this method returns the name of the notebook, otherwise it returns empty string

◆ print()

QTextStream & quentier::local_storage::NoteSearchQuery::print ( QTextStream & strm) const
overridevirtual

◆ queryString()

QString quentier::local_storage::NoteSearchQuery::queryString ( ) const
nodiscard

Returns the original non-parsed query string