streamDirectoryEntry_genre Class Reference

Data type representing a stream. More...

#include <streamdirectoryentry_genre.h>

Inheritance diagram for streamDirectoryEntry_genre:

Inheritance graph
[legend]
Collaboration diagram for streamDirectoryEntry_genre:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 streamDirectoryEntry_genre ()
virtual ~streamDirectoryEntry_genre ()
virtual bool canFetchMore () const
virtual QVariant data (const int column) const
virtual void fetchMore ()
virtual bool hasChildren () const

Public Attributes

bool internal_canFetchMore

Private Attributes

bool streamFetchingHasTerminated
bool streamsHaveYetBeenRequested


Detailed Description

Data type representing a stream.

This data type represents a genre inside of a tree structure.

Definition at line 29 of file streamdirectoryentry_genre.h.


Constructor & Destructor Documentation

streamDirectoryEntry_genre::streamDirectoryEntry_genre (  ) 

streamDirectoryEntry_genre::~streamDirectoryEntry_genre (  )  [virtual]

The destructor.

Definition at line 32 of file streamdirectoryentry_genre.cpp.


Member Function Documentation

bool streamDirectoryEntry_genre::canFetchMore (  )  const [virtual]

Returns:
whether this entry can fetch missing children through fetchMore()
The default implementation returns false. Reimplement this to provide custom behaviour.
See also:
fetchMore()

Reimplemented from streamDirectoryEntry.

Definition at line 45 of file streamdirectoryentry_genre.cpp.

References internal_canFetchMore.

Referenced by hasChildren().

Here is the caller graph for this function:

QVariant streamDirectoryEntry_genre::data ( const int  column  )  const [virtual]

Returns:
The data of this entry at the specified column, being formated.
Note:
This default implementation returns always an invalid QVariant. When deriving from this class you should reimplement this function to provide a useful behaviour.

Reimplemented from streamDirectoryEntry.

Definition at line 36 of file streamdirectoryentry_genre.cpp.

References streamDirectoryEntry::name().

Here is the call graph for this function:

void streamDirectoryEntry_genre::fetchMore (  )  [virtual]

Fetchs missing children entries.

The default implementation does nothing. Reimplement it for custom behavior.

See also:
canFetchMore()

Reimplemented from streamDirectoryEntry.

Definition at line 59 of file streamdirectoryentry_genre.cpp.

bool streamDirectoryEntry_genre::hasChildren (  )  const [virtual]

Returns:
whether there are streams for

Implements streamDirectoryEntry.

Definition at line 50 of file streamdirectoryentry_genre.cpp.

References canFetchMore(), and streamDirectoryEntry::childCount().

Here is the call graph for this function:


Member Data Documentation

Definition at line 41 of file streamdirectoryentry_genre.h.

Referenced by canFetchMore(), and streamDirectoryEntry_genre().

Definition at line 44 of file streamdirectoryentry_genre.h.

Referenced by streamDirectoryEntry_genre().

Definition at line 45 of file streamdirectoryentry_genre.h.

Referenced by streamDirectoryEntry_genre().


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

doxygen