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

#include <netgrabbermanager.h>

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

Signals

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

Public Member Functions

 Search ()
 
 ~Search ()
 
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 ()
 
uint numReturned ()
 
uint numIndex ()
 
QString nextPageToken ()
 
QString prevPageToken ()
 
ResultItem::resultList GetVideoList ()
 

Private Slots

void slotProcessSearchExit (uint exitcode=0)
 

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 137 of file netgrabbermanager.h.

Constructor & Destructor Documentation

◆ Search()

Search::Search ( void  )

Definition at line 246 of file netgrabbermanager.cpp.

◆ ~Search()

Search::~Search ( )

Definition at line 251 of file netgrabbermanager.cpp.

Member Function Documentation

◆ resetSearch()

void Search::resetSearch ( void  )

Definition at line 295 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 260 of file netgrabbermanager.cpp.

◆ process()

void Search::process ( void  )

Definition at line 301 of file netgrabbermanager.cpp.

◆ GetData()

QByteArray Search::GetData ( )
inline

Definition at line 152 of file netgrabbermanager.h.

◆ SetData()

void Search::SetData ( QByteArray  data)

Definition at line 407 of file netgrabbermanager.cpp.

◆ numResults()

uint Search::numResults ( )
inline

Definition at line 155 of file netgrabbermanager.h.

◆ numReturned()

uint Search::numReturned ( )
inline

Definition at line 156 of file netgrabbermanager.h.

◆ numIndex()

uint Search::numIndex ( )
inline

Definition at line 157 of file netgrabbermanager.h.

◆ nextPageToken()

QString Search::nextPageToken ( )
inline

Definition at line 158 of file netgrabbermanager.h.

◆ prevPageToken()

QString Search::prevPageToken ( )
inline

Definition at line 159 of file netgrabbermanager.h.

◆ GetVideoList()

ResultItem::resultList Search::GetVideoList ( void  )
inline

Definition at line 161 of file netgrabbermanager.h.

◆ finishedSearch

void Search::finishedSearch ( Search item)
signal

Referenced by slotProcessSearchExit().

◆ searchTimedOut

void Search::searchTimedOut ( Search item)
signal

Referenced by slotProcessSearchExit().

◆ slotProcessSearchExit

void Search::slotProcessSearchExit ( uint  exitcode = 0)
privateslot

Definition at line 373 of file netgrabbermanager.cpp.

Referenced by executeSearch().

Friends And Related Function Documentation

◆ MRSSParser

friend class MRSSParser
friend

Definition at line 139 of file netgrabbermanager.h.

Member Data Documentation

◆ m_searchProcess

MythSystemLegacy* Search::m_searchProcess {nullptr}
private

Definition at line 165 of file netgrabbermanager.h.

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

◆ m_data

QByteArray Search::m_data
private

Definition at line 167 of file netgrabbermanager.h.

Referenced by SetData(), and slotProcessSearchExit().

◆ m_document

QDomDocument Search::m_document
private

Definition at line 168 of file netgrabbermanager.h.

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

◆ m_videoList

ResultItem::resultList Search::m_videoList
private

Definition at line 169 of file netgrabbermanager.h.

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

◆ m_numResults

uint Search::m_numResults {0}
private

Definition at line 171 of file netgrabbermanager.h.

Referenced by process().

◆ m_numReturned

uint Search::m_numReturned {0}
private

Definition at line 172 of file netgrabbermanager.h.

Referenced by process().

◆ m_numIndex

uint Search::m_numIndex {0}
private

Definition at line 173 of file netgrabbermanager.h.

Referenced by process().

◆ m_nextPageToken

QString Search::m_nextPageToken
private

Definition at line 175 of file netgrabbermanager.h.

Referenced by process().

◆ m_prevPageToken

QString Search::m_prevPageToken
private

Definition at line 176 of file netgrabbermanager.h.

Referenced by process().


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