Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

FillLinkListBox Class Reference

#include <filllinklistbox.h>

Collaboration diagram for FillLinkListBox:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FillLinkListBox (QObject *parent, QString name, LinkListBox *box, QString query, QString cmd, QPixmap pm=QPixmap(), QListViewItem *parentitem=0L)
 ~FillLinkListBox ()

Protected Member Functions

void run ()

Protected Attributes

QObject * parent
QString name
LinkListBoxbox
QString query
QString cmd
QPixmap pixm
QListViewItem * parentitem

Detailed Description

Fills a linklistbox with data. Uses its own thread so it doesn't block die gui. Sends an Event "ThreadFinishedEvent" when finished.

Definition at line 32 of file filllinklistbox.h.


Constructor & Destructor Documentation

FillLinkListBox::FillLinkListBox QObject *  parent,
QString  name,
LinkListBox box,
QString  query,
QString  cmd,
QPixmap  pm = QPixmap(),
QListViewItem *  parentitem = 0L
 

Parameters:
parent - receives the "ThreadFinishedEvent"
name - identifies the object
box - box to fill
query - sql query to execute. Must include the "no" field. The other fields are used to fill the box in their order of appereance.
cmd - command for the filllinklistboxitem

Definition at line 32 of file filllinklistbox.cpp.

FillLinkListBox::~FillLinkListBox  ) 
 

Definition at line 35 of file filllinklistbox.cpp.


Member Function Documentation

void FillLinkListBox::run  )  [protected]
 

Definition at line 39 of file filllinklistbox.cpp.

References box, cmd, filllinklistboxmutex, parentitem, pixm, and query.


Member Data Documentation

LinkListBox* FillLinkListBox::box [protected]
 

Definition at line 37 of file filllinklistbox.h.

Referenced by run().

QString FillLinkListBox::cmd [protected]
 

Definition at line 39 of file filllinklistbox.h.

Referenced by run().

QString FillLinkListBox::name [protected]
 

Definition at line 36 of file filllinklistbox.h.

QObject* FillLinkListBox::parent [protected]
 

Definition at line 35 of file filllinklistbox.h.

QListViewItem* FillLinkListBox::parentitem [protected]
 

Definition at line 41 of file filllinklistbox.h.

Referenced by run().

QPixmap FillLinkListBox::pixm [protected]
 

Definition at line 40 of file filllinklistbox.h.

Referenced by run().

QString FillLinkListBox::query [protected]
 

Definition at line 38 of file filllinklistbox.h.

Referenced by run().


The documentation for this class was generated from the following files:
Generated on Sat Mar 27 19:22:22 2004 for Literature by doxygen 1.3.6-20040222