Skip to content

Commit

Permalink
fix SIP build error and a warning
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11878 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 1, 2009
1 parent 5dca02a commit f9ffdc1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
50 changes: 25 additions & 25 deletions python/core/qgslabel.sip
Expand Up @@ -17,29 +17,29 @@ public:

/* Fields */
enum LabelField {
Text = 0,
Family,
Size,
Bold,
Italic,
Underline,
Color,
XCoordinate,
YCoordinate,
XOffset,
YOffset,
Angle,
Alignment,
BufferEnabled,
BufferSize,
BufferColor,
BufferBrush,
BorderWidth,
BorderColor,
BorderStyle,
MultilineEnabled,
LabelFieldCount
};
Text = 0,
Family,
Size,
Bold,
Italic,
Underline,
Color,
XCoordinate,
YCoordinate,
XOffset,
YOffset,
Angle,
Alignment,
BufferEnabled,
BufferSize,
BufferColor,
BufferBrush,
BorderWidth,
BorderColor,
BorderStyle,
MultilineEnabled,
LabelFieldCount
};

struct labelpoint {
QgsPoint p;
Expand Down Expand Up @@ -85,13 +85,13 @@ public:
* @note this will be deprecated in version 2 as it is
* badly named. Rather use attributes.
* @see labelAttributes method rather */
QgsLabelAttributes *layerAttributes( void );
QgsLabelAttributes *layerAttributes( );

/** Pointer to default attributes.
* @note this replaces the to-be-deprecated layerAttributes method.
* @note introduced in QGIS 1.4
*/
QgsLabelAttributes *labelAttributes( void );
QgsLabelAttributes *labelAttributes( );

//! Set label field
void setLabelField ( int attr, int fieldId );
Expand Down
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -4243,6 +4243,8 @@ bool QgisApp::loadComposersFromProject( const QString& projectFilePath )
composer->showMinimized();
composer->zoomFull();
}

return true;
}

void QgisApp::deletePrintComposers()
Expand Down

0 comments on commit f9ffdc1

Please sign in to comment.