QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QListWidgetItem.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QLISTWIDGETITEM_H
2 #define QTSCRIPTSHELL_QLISTWIDGETITEM_H
3 
4 #include <qlistwidget.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QListWidgetItem : public QListWidgetItem
9 {
10 public:
11  QtScriptShell_QListWidgetItem(QListWidget* view = 0, int type = Type);
12  QtScriptShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = 0, int type = Type);
13  QtScriptShell_QListWidgetItem(const QListWidgetItem& other);
14  QtScriptShell_QListWidgetItem(const QString& text, QListWidget* view = 0, int type = Type);
16 
17  QListWidgetItem* clone() const;
18  QVariant data(int role) const;
19  void setData(int role, const QVariant& value);
20 
21  QScriptValue __qtscript_self;
22 };
23 
24 #endif // QTSCRIPTSHELL_QLISTWIDGETITEM_H