QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QTableWidgetItem.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QTABLEWIDGETITEM_H
2 #define QTSCRIPTSHELL_QTABLEWIDGETITEM_H
3 
4 #include <qtablewidget.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QTableWidgetItem : public QTableWidgetItem
9 {
10 public:
11  QtScriptShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type);
12  QtScriptShell_QTableWidgetItem(const QString& text, int type = Type);
13  QtScriptShell_QTableWidgetItem(const QTableWidgetItem& other);
14  QtScriptShell_QTableWidgetItem(int type = Type);
16 
17  QTableWidgetItem* 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_QTABLEWIDGETITEM_H