libquentier 0.5.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
Public Member Functions | List of all members
quentier::NoteSearchQuery Class Reference
Inheritance diagram for quentier::NoteSearchQuery:
Inheritance graph
[legend]
Collaboration diagram for quentier::NoteSearchQuery:
Collaboration graph
[legend]

Public Member Functions

 NoteSearchQuery (const NoteSearchQuery &other)
 
 NoteSearchQuery (NoteSearchQuery &&other)
 
NoteSearchQueryoperator= (const NoteSearchQuery &other)
 
NoteSearchQueryoperator= (NoteSearchQuery &&other)
 
bool isEmpty () const
 
void clear ()
 
const QString queryString () const
 
bool setQueryString (const QString &queryString, ErrorString &error)
 
const 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 QVector< qint64 > & creationTimestamps () const
 
const QVector< qint64 > & negatedCreationTimestamps () const
 
bool hasAnyCreationTimestamp () const
 
bool hasNegatedAnyCreationTimestamp () const
 
const QVector< qint64 > & modificationTimestamps () const
 
const QVector< qint64 > & negatedModificationTimestamps () const
 
bool hasAnyModificationTimestamp () const
 
bool hasNegatedAnyModificationTimestamp () const
 
const QStringList & resourceMimeTypes () const
 
const QStringList & negatedResourceMimeTypes () const
 
bool hasAnyResourceMimeType () const
 
bool hasNegatedAnyResourceMimeType () const
 
const QVector< qint64 > & subjectDateTimestamps () const
 
const QVector< qint64 > & negatedSubjectDateTimestamps () const
 
bool hasAnySubjectDateTimestamp () const
 
bool hasNegatedAnySubjectDateTimestamp () const
 
const QVector< double > & latitudes () const
 
const QVector< double > & negatedLatitudes () const
 
bool hasAnyLatitude () const
 
bool hasNegatedAnyLatitude () const
 
const QVector< double > & longitudes () const
 
const QVector< double > & negatedLongitudes () const
 
bool hasAnyLongitude () const
 
bool hasNegatedAnyLongitude () const
 
const QVector< double > & altitudes () const
 
const QVector< 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 QVector< qint64 > & reminderOrders () const
 
const QVector< qint64 > & negatedReminderOrders () const
 
bool hasAnyReminderOrder () const
 
bool hasNegatedAnyReminderOrder () const
 
const QVector< qint64 > & reminderTimes () const
 
const QVector< qint64 > & negatedReminderTimes () const
 
bool hasAnyReminderTime () const
 
bool hasNegatedAnyReminderTime () const
 
const QVector< qint64 > & reminderDoneTimes () const
 
const QVector< 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
 
virtual QTextStream & print (QTextStream &strm) const override
 
- Public Member Functions inherited from quentier::Printable
virtual QTextStream & print (QTextStream &strm) const =0
 
virtual const QString toString () const
 

Additional Inherited Members

- Protected Member Functions inherited from quentier::Printable
 Printable (const Printable &other)
 
Printableoperator= (const Printable &other)
 

Member Function Documentation

◆ notebookModifier()

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

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

◆ print()

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

Implements quentier::Printable.

◆ queryString()

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

Returns the original non-parsed query string