@@ -159,33 +159,30 @@ class CORE_EXPORT QgsComposerItem: public QObject, public QGraphicsRectItem
159
159
bool _readXML ( const QDomElement& itemElem, const QDomDocument& doc );
160
160
161
161
/* * Whether this item has a frame or not.
162
- * @param none
163
162
* @return boolean - true if there is a frame around this item, otherwise false.
164
163
* @note deprecated since 1.8 dont use!
165
164
* @see hasFrame
166
165
*/
167
- bool frame () const {return hasFrame ();}
166
+ Q_DECL_DEPRECATED bool frame () const {return hasFrame ();}
168
167
/* * Whether this item has a frame or not.
169
- * @param none
170
- * @return boolean - true if there is a frame around this item, otherwise false.
168
+ * @returns true if there is a frame around this item, otherwise false.
171
169
* @note introduced since 1.8
172
170
* @see hasFrame
173
171
*/
174
172
bool hasFrame () const {return mFrame ;}
175
173
/* * Set whether this item has a frame drawn around it or not.
176
- * @param none
177
- * @return void
174
+ * @returns void
178
175
* @note deprecated since 1.8 dont use!
179
176
* @see hasFrame
180
177
*/
181
- void setFrame ( bool drawFrame ) { setFrameEnabled ( drawFrame );}
178
+ Q_DECL_DEPRECATED void setFrame ( bool drawFrame ) { setFrameEnabled ( drawFrame );}
182
179
/* * Set whether this item has a frame drawn around it or not.
183
- * @param none
184
- * @return void
180
+ * @param drawFrame draw frame
181
+ * @returns nothing
185
182
* @note deprecated since 1.8
186
183
* @see hasFrame
187
184
*/
188
- void setFrameEnabled ( bool drawFrame ) {mFrame = drawFrame;}
185
+ Q_DECL_DEPRECATED void setFrameEnabled ( bool drawFrame ) {mFrame = drawFrame;}
189
186
190
187
/* *Composite operations for item groups do nothing per default*/
191
188
virtual void addItem ( QgsComposerItem* item ) { Q_UNUSED ( item ); }
0 commit comments