Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef LAUNCHTHREADITEM_H
00028 #define LAUNCHTHREADITEM_H
00029
00030 #include <QAbstractItemModel>
00031
00032
00033 class LaunchThreadItem : public QAbstractItemModel
00034 {
00035 Q_OBJECT
00036 public:
00037 LaunchThreadItem(QObject * parent=0);
00038 ~LaunchThreadItem();
00039
00040 virtual int rowCount(const QModelIndex &parent=QModelIndex()) const;
00041 virtual int columnCount(const QModelIndex &parent=QModelIndex()) const;
00042 virtual QVariant data(const QModelIndex &index, int role) const;
00043 virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const;
00044 virtual QModelIndex parent (const QModelIndex & index) const;
00045 virtual QModelIndex index (int, int column, const QModelIndex & parent=QModelIndex()) const;
00046 virtual bool setData (const QModelIndex & index, const QVariant & value, int role=Qt::EditRole);
00047 virtual Qt::ItemFlags flags (const QModelIndex & ) const;
00048 public slots:
00049 void refresh();
00050 };
00051
00052 #endif // LAUNCHTHREADITEM_H