Eneboo - Documentación para desarrolladores
|
00001 /*************************************************************************** 00002 AQSCanvasPolygonalItem_p.h 00003 ------------------- 00004 begin : 06/10/2011 00005 copyright : (C) 2003-2011 by InfoSiAL S.L. 00006 email : mail@infosial.com 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; version 2 of the License. * 00012 ***************************************************************************/ 00013 /*************************************************************************** 00014 Este programa es software libre. Puede redistribuirlo y/o modificarlo 00015 bajo los términos de la Licencia Pública General de GNU en su 00016 versión 2, publicada por la Free Software Foundation. 00017 ***************************************************************************/ 00018 00019 #ifndef AQSCANVASPOLYGONALITEM_P_H_ 00020 #define AQSCANVASPOLYGONALITEM_P_H_ 00021 00022 #include "AQSCanvasItem_p.h" 00023 00024 class AQSCanvasPolygonalItem : public AQSCanvasItem 00025 { 00026 Q_OBJECT 00027 00028 AQ_DECLARE_AQS_VOID(CanvasPolygonalItem, CanvasItem); 00029 00030 //@AQ_BEGIN_DEF_PUB_SLOTS@ 00031 public slots: 00032 virtual void setPen(QPen *); 00033 virtual void setPen(AQSPen *); 00034 virtual void setBrush(QBrush *); 00035 virtual void setBrush(AQSBrush *); 00036 QPen *pen() const; 00037 QBrush *brush() const; 00038 virtual QPointArray *areaPoints() const; 00039 virtual QPointArray *areaPointsAdvanced() const; 00040 virtual QRect boundingRect() const; 00041 virtual int rtti() const; 00042 00043 protected: 00044 static void *construct(const QSArgumentList &args) { 00045 return 0; 00046 } 00047 //@AQ_END_DEF_PUB_SLOTS@ 00048 }; 00049 00050 //@AQ_BEGIN_IMP_PUB_SLOTS@ 00051 inline void AQSCanvasPolygonalItem::setPen(QPen *arg0) 00052 { 00053 AQ_CALL_VOID(setPen(*arg0)); 00054 } 00055 inline void AQSCanvasPolygonalItem::setPen(AQSPen *arg0) 00056 { 00057 AQ_CALL_VOID(setPen(*arg0)); 00058 } 00059 inline void AQSCanvasPolygonalItem::setBrush(QBrush *arg0) 00060 { 00061 AQ_CALL_VOID(setBrush(*arg0)); 00062 } 00063 inline void AQSCanvasPolygonalItem::setBrush(AQSBrush *arg0) 00064 { 00065 AQ_CALL_VOID(setBrush(*arg0)); 00066 } 00067 inline QPen *AQSCanvasPolygonalItem::pen() const 00068 { 00069 AQ_CALL_RET_PTR(pen(), QPen); 00070 } 00071 inline QBrush *AQSCanvasPolygonalItem::brush() const 00072 { 00073 AQ_CALL_RET_PTR(brush(), QBrush); 00074 } 00075 inline QPointArray *AQSCanvasPolygonalItem::areaPoints() const 00076 { 00077 AQ_CALL_RET_PTR(areaPoints(), QPointArray); 00078 } 00079 inline QPointArray *AQSCanvasPolygonalItem::areaPointsAdvanced() const 00080 { 00081 AQ_CALL_RET_PTR(areaPointsAdvanced(), QPointArray); 00082 } 00083 inline QRect AQSCanvasPolygonalItem::boundingRect() const 00084 { 00085 AQ_CALL_RET_V(boundingRect(), QRect); 00086 } 00087 inline int AQSCanvasPolygonalItem::rtti() const 00088 { 00089 AQ_CALL_RET_V(rtti(), int); 00090 } 00091 //@AQ_END_IMP_PUB_SLOTS@ 00092 00093 #endif /* AQSCANVASPOLYGONALITEM_P_H_ */ 00094 // @AQSVOIDPTR@