00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef FillLinkListBox_h
00018 #define FillLinkListBox_h
00019 #include <qobject.h>
00020 #include <qthread.h>
00021 #include <qstring.h>
00022 #include <qpixmap.h>
00023 #include <qvaluelist.h>
00024 #include <qmutex.h>
00025
00026 class LinkListBox;
00027 class QListViewItem;
00028
00032 class FillLinkListBox: public QThread {
00033
00034 protected:
00035 QObject *parent;
00036 QString name;
00037 LinkListBox *box;
00038 QString query;
00039 QString cmd;
00040 QPixmap pixm;
00041 QListViewItem *parentitem;
00042
00043 void run();
00044
00045 public:
00053 FillLinkListBox(QObject *parent, QString name, LinkListBox *box, QString query, QString cmd, QPixmap pm=QPixmap(), QListViewItem *parentitem=0L);
00054 ~FillLinkListBox();
00055 };
00056
00057 #endif