ChildCountThread Class Reference

#include <iconview.h>

Inheritance diagram for ChildCountThread:
MThread

List of all members.

Public Member Functions

 ChildCountThread (QObject *parent)
 ~ChildCountThread ()
void addFile (const QString &fileName)
void cancel ()

Protected Member Functions

void run ()
 Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.

Private Member Functions

bool moreWork ()
int getChildCount (const QString &fileName)

Private Attributes

QObject * m_parent
QStringList m_fileList
QMutex m_mutex

Detailed Description

Definition at line 179 of file iconview.h.


Constructor & Destructor Documentation

ChildCountThread::ChildCountThread ( QObject *  parent  ) 

Definition at line 1495 of file iconview.cpp.

ChildCountThread::~ChildCountThread (  ) 

Definition at line 1500 of file iconview.cpp.


Member Function Documentation

void ChildCountThread::addFile ( const QString &  fileName  ) 

Definition at line 1506 of file iconview.cpp.

void ChildCountThread::cancel (  ) 

Definition at line 1513 of file iconview.cpp.

Referenced by ~ChildCountThread().

void ChildCountThread::run ( void   )  [protected, virtual]

Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.

Note:
If you override this method you must call RunProlog before you do any work and RunEpilog before you exit the run method.

Reimplemented from MThread.

Definition at line 1520 of file iconview.cpp.

bool ChildCountThread::moreWork (  )  [private]

Definition at line 1549 of file iconview.cpp.

Referenced by run().

int ChildCountThread::getChildCount ( const QString &  fileName  )  [private]

Definition at line 1558 of file iconview.cpp.

Referenced by run().


Member Data Documentation

QObject* ChildCountThread::m_parent [private]

Definition at line 197 of file iconview.h.

Referenced by run().

QStringList ChildCountThread::m_fileList [private]

Definition at line 198 of file iconview.h.

Referenced by addFile(), cancel(), moreWork(), and run().

QMutex ChildCountThread::m_mutex [private]

Definition at line 199 of file iconview.h.

Referenced by addFile(), cancel(), moreWork(), and run().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:56 2012 for MythTV by  doxygen 1.6.3