BibleTime
Classes | Namespaces | Typedefs | Enumerations | Functions
cswordmodulesearch.h File Reference
#include <memory>
#include <QMetaType>
#include <QString>
#include <vector>
#include "drivers/btmodulelist.h"
#include <listkey.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CSwordModuleSearch::ModuleSearchResult
 

Namespaces

 CSwordModuleSearch
 
 sword
 

Typedefs

using CSwordModuleSearch::ModuleResultList = std::vector< std::shared_ptr< sword::SWKey const > >
 
using CSwordModuleSearch::Results = std::vector< ModuleSearchResult >
 

Enumerations

enum  CSwordModuleSearch::SearchType { CSwordModuleSearch::AndType = 0 , CSwordModuleSearch::OrType = 1 , CSwordModuleSearch::FullType = 2 }
 

Functions

QString CSwordModuleSearch::highlightSearchedText (QString const &content, QString const &searchedText, bool plainSearchedText)
 
QDataStream & operator<< (QDataStream &out, const CSwordModuleSearch::SearchType &searchType)
 
QDataStream & operator>> (QDataStream &in, CSwordModuleSearch::SearchType &searchType)
 
QString CSwordModuleSearch::prepareSearchText (QString const &orig, SearchType const searchType)
 
Results CSwordModuleSearch::search (QString const &searchText, BtConstModuleList const &modules, sword::ListKey scope)
 

Function Documentation

◆ operator<<()

QDataStream& operator<< ( QDataStream &  out,
const CSwordModuleSearch::SearchType searchType 
)

Definition at line 355 of file cswordmodulesearch.cpp.

◆ operator>>()

QDataStream& operator>> ( QDataStream &  in,
CSwordModuleSearch::SearchType searchType 
)

Definition at line 360 of file cswordmodulesearch.cpp.