Skip to content

Commit

Permalink
add CORE_EXPORT to composer
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9127 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 23, 2008
1 parent ebc672a commit b2c7c2a
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposeritemwidget.cpp
Expand Up @@ -30,7 +30,7 @@ QgsComposerItemWidget::QgsComposerItemWidget(): QWidget(0), mItem(0)

}

QgsComposerItemWidget::QgsComposerItemWidget::~QgsComposerItemWidget()
QgsComposerItemWidget::~QgsComposerItemWidget()
{

}
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsmaptooladdfeature.cpp
Expand Up @@ -104,7 +104,7 @@ void QgsMapToolAddFeature::canvasReleaseEvent(QMouseEvent * e)
try
{
savePoint = toLayerCoords(vlayer, idPoint);
QgsDebugMsg("savePoint = " + savePoint.stringRep());
QgsDebugMsg("savePoint = " + savePoint.toString());
}
catch(QgsCsException &cse)
{
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposeritem.h
Expand Up @@ -29,7 +29,7 @@ class QqsComposition;
/** \ingroup MapComposer
* A item that forms part of a map composition.
*/
class QgsComposerItem: public QGraphicsRectItem
class CORE_EXPORT QgsComposerItem: public QGraphicsRectItem
{

public:
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposeritemgroup.h
Expand Up @@ -22,7 +22,7 @@
/** \ingroup MapComposer
* A container for grouping several QgsComposerItems
*/
class QgsComposerItemGroup: public QObject, public QgsComposerItem
class CORE_EXPORT QgsComposerItemGroup: public QObject, public QgsComposerItem
{
Q_OBJECT
public:
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerlabel.h
Expand Up @@ -22,7 +22,7 @@
/** \ingroup MapComposer
* A label that can be placed onto a map composition.
*/
class QgsComposerLabel: public QgsComposerItem
class CORE_EXPORT QgsComposerLabel: public QgsComposerItem
{
public:
QgsComposerLabel( QgsComposition *composition);
Expand Down
3 changes: 2 additions & 1 deletion src/core/composer/qgscomposerlegend.h
Expand Up @@ -23,10 +23,11 @@
#include <QObject>

class QgsSymbol;

/** \ingroup MapComposer
* A legend that can be placed onto a map composition
*/
class QgsComposerLegend: public QObject, public QgsComposerItem
class CORE_EXPORT QgsComposerLegend: public QObject, public QgsComposerItem
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposermap.h
Expand Up @@ -36,7 +36,7 @@ class QPainter;
* \brief Object representing map window.
*/
// NOTE: QgsComposerMapBase must be first, otherwise does not compile
class QgsComposerMap : /*public QWidget , private Ui::QgsComposerMapBase,*/ public QObject, public QgsComposerItem
class CORE_EXPORT QgsComposerMap : /*public QWidget , private Ui::QgsComposerMapBase,*/ public QObject, public QgsComposerItem
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerpicture.h
Expand Up @@ -25,7 +25,7 @@
/** \ingroup MapComposer
* A composer class that displays svg files or raster format (jpg, png, ...)
* */
class QgsComposerPicture: public QObject, public QgsComposerItem
class CORE_EXPORT QgsComposerPicture: public QObject, public QgsComposerItem
{
Q_OBJECT
public:
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerscalebar.h
Expand Up @@ -26,7 +26,7 @@ class QgsScaleBarStyle;
* A scale bar item that can be added to a map composition.
*/

class QgsComposerScaleBar: public QObject, public QgsComposerItem
class CORE_EXPORT QgsComposerScaleBar: public QObject, public QgsComposerItem
{

Q_OBJECT
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposition.h
Expand Up @@ -30,7 +30,7 @@ class QDomElement;
* Graphics scene for map printing. It manages the paper item which always
* is the item in the back (z-value 0).
* */
class QgsComposition: public QGraphicsScene
class CORE_EXPORT QgsComposition: public QGraphicsScene
{
public:

Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgsdoubleboxscalebarstyle.h
Expand Up @@ -22,7 +22,7 @@
/** \ingroup MapComposer
* Double box with alternating colors
*/
class QgsDoubleBoxScaleBarStyle: public QgsScaleBarStyle
class CORE_EXPORT QgsDoubleBoxScaleBarStyle: public QgsScaleBarStyle
{
public:
QgsDoubleBoxScaleBarStyle(const QgsComposerScaleBar* bar);
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgslegendmodel.h
Expand Up @@ -31,7 +31,7 @@ class QgsSymbol;
* A model that provides layers as root items. The classification items are
* children of the layer items.
*/
class QgsLegendModel: public QStandardItemModel
class CORE_EXPORT QgsLegendModel: public QStandardItemModel
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgsnumericscalebarstyle.h
Expand Up @@ -22,7 +22,7 @@
/** \ingroup MapComposer
* A scale bar style that draws text in the form of '1:XXXXX'
*/
class QgsNumericScaleBarStyle: public QgsScaleBarStyle
class CORE_EXPORT QgsNumericScaleBarStyle: public QgsScaleBarStyle
{
public:
QgsNumericScaleBarStyle(QgsComposerScaleBar* bar);
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgsscalebarstyle.h
Expand Up @@ -27,7 +27,7 @@ class QPainter;
* Abstraction of composer scale bar style. Subclasses draw themselves, have the
possibility to implement custom labeling and calculate corresponding box size.
*/
class QgsScaleBarStyle
class CORE_EXPORT QgsScaleBarStyle
{
public:
QgsScaleBarStyle(const QgsComposerScaleBar* bar);
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgssingleboxscalebarstyle.h
Expand Up @@ -23,7 +23,7 @@
* Scalebar style that draws a single box with alternating
* color for the segments.
*/
class QgsSingleBoxScaleBarStyle: public QgsScaleBarStyle
class CORE_EXPORT QgsSingleBoxScaleBarStyle: public QgsScaleBarStyle
{
public:
QgsSingleBoxScaleBarStyle(const QgsComposerScaleBar* bar);
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgsticksscalebarstyle.h
Expand Up @@ -22,7 +22,7 @@
/** \ingroup MapComposer
* A scale bar that draws segments using short ticks.
*/
class QgsTicksScaleBarStyle: public QgsScaleBarStyle
class CORE_EXPORT QgsTicksScaleBarStyle: public QgsScaleBarStyle
{
public:
enum TickPosition
Expand Down

0 comments on commit b2c7c2a

Please sign in to comment.