QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QImage.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QIMAGE_H
2 #define QTSCRIPTSHELL_QIMAGE_H
3 
4 #include <qimage.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QImage : public QImage
9 {
10 public:
12  QtScriptShell_QImage(const QImage& arg__1);
13  QtScriptShell_QImage(const QSize& size, QImage::Format format);
14  QtScriptShell_QImage(const QString& fileName, const char* format = 0);
15  QtScriptShell_QImage(const char* fileName, const char* format = 0);
16  QtScriptShell_QImage(const char** xpm);
17  QtScriptShell_QImage(const uchar* data, int width, int height, QImage::Format format);
18  QtScriptShell_QImage(const uchar* data, int width, int height, int bytesPerLine, QImage::Format format);
19  QtScriptShell_QImage(int width, int height, QImage::Format format);
20  QtScriptShell_QImage(uchar* data, int width, int height, QImage::Format format);
21  QtScriptShell_QImage(uchar* data, int width, int height, int bytesPerLine, QImage::Format format);
23 
24  int devType() const;
25  int metric(QPaintDevice::PaintDeviceMetric metric) const;
26  QPaintEngine* paintEngine() const;
27 
28  QScriptValue __qtscript_self;
29 };
30 
31 #endif // QTSCRIPTSHELL_QIMAGE_H