[SCM] qgis branch, master, updated. a2ee769957385f4e084c5e8b6ba178a8c877d1db
Juergen E. Fischer
jef at norbit.de
Tue Mar 20 13:43:01 UTC 2012
The following commit has been merged in the master branch:
commit 3bb9496c99c2415c03c18c2f84d5c96b0a157693
Author: Juergen E. Fischer <jef at norbit.de>
Date: Wed Mar 7 07:50:18 2012 +0100
composer api doxygen fixes
diff --git a/src/core/composer/qgscomposeritem.h b/src/core/composer/qgscomposeritem.h
index 9f03760..015ad96 100644
--- a/src/core/composer/qgscomposeritem.h
+++ b/src/core/composer/qgscomposeritem.h
@@ -159,33 +159,30 @@ class CORE_EXPORT QgsComposerItem: public QObject, public QGraphicsRectItem
bool _readXML( const QDomElement& itemElem, const QDomDocument& doc );
/** Whether this item has a frame or not.
- * @param none
* @return boolean - true if there is a frame around this item, otherwise false.
* @note deprecated since 1.8 dont use!
* @see hasFrame
*/
- bool frame() const {return hasFrame();}
+ Q_DECL_DEPRECATED bool frame() const {return hasFrame();}
/** Whether this item has a frame or not.
- * @param none
- * @return boolean - true if there is a frame around this item, otherwise false.
+ * @returns true if there is a frame around this item, otherwise false.
* @note introduced since 1.8
* @see hasFrame
*/
bool hasFrame() const {return mFrame;}
/** Set whether this item has a frame drawn around it or not.
- * @param none
- * @return void
+ * @returns void
* @note deprecated since 1.8 dont use!
* @see hasFrame
*/
- void setFrame( bool drawFrame ) { setFrameEnabled( drawFrame );}
+ Q_DECL_DEPRECATED void setFrame( bool drawFrame ) { setFrameEnabled( drawFrame );}
/** Set whether this item has a frame drawn around it or not.
- * @param none
- * @return void
+ * @param drawFrame draw frame
+ * @returns nothing
* @note deprecated since 1.8
* @see hasFrame
*/
- void setFrameEnabled( bool drawFrame ) {mFrame = drawFrame;}
+ Q_DECL_DEPRECATED void setFrameEnabled( bool drawFrame ) {mFrame = drawFrame;}
/**Composite operations for item groups do nothing per default*/
virtual void addItem( QgsComposerItem* item ) { Q_UNUSED( item ); }
diff --git a/src/core/composer/qgscomposerlabel.h b/src/core/composer/qgscomposerlabel.h
index 2978633..fe1b0b6 100644
--- a/src/core/composer/qgscomposerlabel.h
+++ b/src/core/composer/qgscomposerlabel.h
@@ -47,22 +47,20 @@ class CORE_EXPORT QgsComposerLabel: public QgsComposerItem
QFont font() const;
void setFont( const QFont& f );
/** Accessor for the vertical alignment of the label
- * @param none
* @returns Qt::AlignmentFlag
*/
Qt::AlignmentFlag vAlign() const { return mVAlignment; }
/** Accessor for the horizontal alignment of the label
- * @param none
* @returns Qt::AlignmentFlag
*/
Qt::AlignmentFlag hAlign() const { return mHAlignment; }
/** Mutator for the horizontal alignment of the label
- * @param Qt::AlignmentFlag
+ * @param a alignment
* @returns void
*/
void setHAlign( Qt::AlignmentFlag a ) {mHAlignment = a;}
/** Mutator for the vertical alignment of the label
- * @param QQt::AlignmentFlag
+ * @param a alignment
* @returns void
*/
void setVAlign( Qt::AlignmentFlag a ) {mVAlignment = a;}
--
The Quantum GIS in Debian project
More information about the Pkg-grass-devel
mailing list