Skip to content

Commit

Permalink
Add export macros to classes and fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Aug 8, 2012
1 parent e6d9880 commit e552707
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/core/composer/qgscomposerframe.cpp
Expand Up @@ -57,6 +57,9 @@ bool QgsComposerFrame::readXML( const QDomElement& itemElem, const QDomDocument&

void QgsComposerFrame::paint( QPainter* painter, const QStyleOptionGraphicsItem* itemStyle, QWidget* pWidget )
{
Q_UNUSED( itemStyle );
Q_UNUSED( pWidget );

if ( !painter )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerframe.h
Expand Up @@ -22,7 +22,7 @@ class QgsComposition;
class QgsComposerMultiFrame;

/**Frame for html, table, text which can be divided onto several frames*/
class QgsComposerFrame: public QgsComposerItem
class CORE_EXPORT QgsComposerFrame: public QgsComposerItem
{
public:
QgsComposerFrame( QgsComposition* c, QgsComposerMultiFrame* mf, qreal x, qreal y, qreal width, qreal height );
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerhtml.h
Expand Up @@ -21,7 +21,7 @@

class QWebPage;

class QgsComposerHtml: public QgsComposerMultiFrame
class CORE_EXPORT QgsComposerHtml: public QgsComposerMultiFrame
{
Q_OBJECT
public:
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposermultiframe.h
Expand Up @@ -28,7 +28,7 @@ class QRectF;
class QPainter;

/**Abstract base class for composer entries with the ability to distribute the content to several frames (items)*/
class QgsComposerMultiFrame: public QObject
class CORE_EXPORT QgsComposerMultiFrame: public QObject
{
Q_OBJECT
public:
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposermultiframecommand.h
Expand Up @@ -23,7 +23,7 @@

class QgsComposerMultiFrame;

class QgsComposerMultiFrameCommand: public QUndoCommand
class CORE_EXPORT QgsComposerMultiFrameCommand: public QUndoCommand
{
public:
QgsComposerMultiFrameCommand( QgsComposerMultiFrame* multiFrame, const QString& text, QUndoCommand* parent = 0 );
Expand Down

0 comments on commit e552707

Please sign in to comment.