Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
jef-n committed Mar 9, 2012
1 parent ab85959 commit c6b9990
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions python/core/qgscomposeritem.sip
Expand Up @@ -207,7 +207,7 @@ class QgsComposerItem: QObject, QGraphicsRectItem
/** 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!
* @note deprecated since 1.8 don't use!
* @see hasFrame
*/
bool frame();
Expand All @@ -221,7 +221,7 @@ class QgsComposerItem: QObject, QGraphicsRectItem
/** Set whether this item has a frame drawn around it or not.
* @param none
* @return void
* @note deprecated since 1.8 dont use!
* @note deprecated since 1.8 don't use!
* @see hasFrame
*/
void setFrame( bool drawFrame );
Expand All @@ -243,7 +243,7 @@ class QgsComposerItem: QObject, QGraphicsRectItem
//painter down by the same factor for drawing

/**Draws Text. Takes care about all the composer specific issues (calculation to pixel, scaling of font and painter
to work arount the Qt font bug)*/
to work around the Qt font bug)*/
void drawText( QPainter* p, int x, int y, const QString& text, const QFont& font ) const;

/**Like the above, but with a rectangle for multiline text*/
Expand Down
2 changes: 2 additions & 0 deletions scripts/spelling.dat
Expand Up @@ -454,3 +454,5 @@ intersectons:intersections
secific:specific
writeable:writable
vaild:valid
opps:oops
arount:around
6 changes: 3 additions & 3 deletions src/core/composer/qgscomposeritem.h
Expand Up @@ -160,7 +160,7 @@ class CORE_EXPORT QgsComposerItem: public QObject, public QGraphicsRectItem

/** Whether this item has a frame or not.
* @return boolean - true if there is a frame around this item, otherwise false.
* @note deprecated since 1.8 dont use!
* @note deprecated since 1.8 don't use!
* @see hasFrame
*/
Q_DECL_DEPRECATED bool frame() const {return hasFrame();}
Expand All @@ -172,7 +172,7 @@ class CORE_EXPORT QgsComposerItem: public QObject, public QGraphicsRectItem
bool hasFrame() const {return mFrame;}
/** Set whether this item has a frame drawn around it or not.
* @returns void
* @note deprecated since 1.8 dont use!
* @note deprecated since 1.8 don't use!
* @see hasFrame
*/
Q_DECL_DEPRECATED void setFrame( bool drawFrame ) { setFrameEnabled( drawFrame );}
Expand Down Expand Up @@ -202,7 +202,7 @@ class CORE_EXPORT QgsComposerItem: public QObject, public QGraphicsRectItem
//painter down by the same factor for drawing

/**Draws Text. Takes care about all the composer specific issues (calculation to pixel, scaling of font and painter
to work arount the Qt font bug)*/
to work around the Qt font bug)*/
void drawText( QPainter* p, double x, double y, const QString& text, const QFont& font ) const;

/**Like the above, but with a rectangle for multiline text*/
Expand Down

0 comments on commit c6b9990

Please sign in to comment.