MythTV  master
Signals | Public Member Functions | Private Slots | Private Attributes | Friends | List of all members
Search Class Reference

#include <libmythbase/netgrabbermanager.h>

Inheritance diagram for Search:
[legend]
Collaboration diagram for Search:
[legend]

Signals

void finishedSearch (Search *item)
 
void searchTimedOut (Search *item)
 

Public Member Functions

 Search ()
 
 ~Search () override
 
void resetSearch (void)
 
void executeSearch (const QString &script, const QString &query, const QString &pagenum="")
 
void process (void)
 
QByteArray GetData ()
 
void SetData (QByteArray data)
 
uint numResults () const
 
uint numReturned () const
 
uint numIndex () const
 
QString nextPageToken ()
 
QString prevPageToken ()
 
ResultItem::resultList GetVideoList ()
 

Private Slots

void slotProcessSearchExit (uint exitcode)
 
void slotProcessSearchExit (void)
 

Private Attributes

MythSystemLegacym_searchProcess {nullptr}
 
QByteArray m_data
 
QDomDocument m_document
 
ResultItem::resultList m_videoList
 
uint m_numResults {0}
 
uint m_numReturned {0}
 
uint m_numIndex {0}
 
QString m_nextPageToken
 
QString m_prevPageToken
 

Friends

class MRSSParser
 

Detailed Description

Definition at line 143 of file netgrabbermanager.h.

Constructor & Destructor Documentation

◆ Search()

Search::Search ( )

Definition at line 229 of file netgrabbermanager.cpp.

◆ ~Search()

Search::~Search ( )
override

Definition at line 234 of file netgrabbermanager.cpp.

Member Function Documentation

◆ resetSearch()

void Search::resetSearch ( void  )

Definition at line 278 of file netgrabbermanager.cpp.

Referenced by executeSearch(), and ~Search().

◆ executeSearch()

void Search::executeSearch ( const QString &  script,
const QString &  query,
const QString &  pagenum = "" 
)

Definition at line 243 of file netgrabbermanager.cpp.

◆ process()

void Search::process ( void  )

Definition at line 284 of file netgrabbermanager.cpp.

◆ GetData()

QByteArray Search::GetData ( )
inline

Definition at line 158 of file netgrabbermanager.h.

◆ SetData()

void Search::SetData ( QByteArray  data)

Definition at line 401 of file netgrabbermanager.cpp.

◆ numResults()

uint Search::numResults ( ) const
inline

Definition at line 161 of file netgrabbermanager.h.

◆ numReturned()

uint Search::numReturned ( ) const
inline

Definition at line 162 of file netgrabbermanager.h.

◆ numIndex()

uint Search::numIndex ( ) const
inline

Definition at line 163 of file netgrabbermanager.h.

◆ nextPageToken()

QString Search::nextPageToken ( )
inline

Definition at line 164 of file netgrabbermanager.h.

◆ prevPageToken()

QString Search::prevPageToken ( )
inline

Definition at line 165 of file netgrabbermanager.h.

◆ GetVideoList()

ResultItem::resultList Search::GetVideoList ( )
inline

Definition at line 167 of file netgrabbermanager.h.

◆ finishedSearch

void Search::finishedSearch ( Search item)
signal

◆ searchTimedOut

void Search::searchTimedOut ( Search item)
signal

◆ slotProcessSearchExit [1/2]

void Search::slotProcessSearchExit ( uint  exitcode)
privateslot

Definition at line 362 of file netgrabbermanager.cpp.

◆ slotProcessSearchExit [2/2]

void Search::slotProcessSearchExit ( void  )
privateslot

Definition at line 396 of file netgrabbermanager.cpp.

Referenced by executeSearch().

Friends And Related Function Documentation

◆ MRSSParser

friend class MRSSParser
friend

Definition at line 145 of file netgrabbermanager.h.

Member Data Documentation

◆ m_searchProcess

MythSystemLegacy* Search::m_searchProcess {nullptr}
private

Definition at line 171 of file netgrabbermanager.h.

Referenced by executeSearch(), slotProcessSearchExit(), and ~Search().

◆ m_data

QByteArray Search::m_data
private

Definition at line 173 of file netgrabbermanager.h.

Referenced by SetData(), and slotProcessSearchExit().

◆ m_document

QDomDocument Search::m_document
private

Definition at line 174 of file netgrabbermanager.h.

Referenced by process(), SetData(), and slotProcessSearchExit().

◆ m_videoList

ResultItem::resultList Search::m_videoList
private

Definition at line 175 of file netgrabbermanager.h.

Referenced by process(), resetSearch(), and Search().

◆ m_numResults

uint Search::m_numResults {0}
private

Definition at line 177 of file netgrabbermanager.h.

Referenced by process().

◆ m_numReturned

uint Search::m_numReturned {0}
private

Definition at line 178 of file netgrabbermanager.h.

Referenced by process().

◆ m_numIndex

uint Search::m_numIndex {0}
private

Definition at line 179 of file netgrabbermanager.h.

Referenced by process().

◆ m_nextPageToken

QString Search::m_nextPageToken
private

Definition at line 181 of file netgrabbermanager.h.

Referenced by process().

◆ m_prevPageToken

QString Search::m_prevPageToken
private

Definition at line 182 of file netgrabbermanager.h.

Referenced by process().


The documentation for this class was generated from the following files: