Skip to content

Commit e552707

Browse files
committed
Add export macros to classes and fix warning
1 parent e6d9880 commit e552707

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

src/core/composer/qgscomposerframe.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ bool QgsComposerFrame::readXML( const QDomElement& itemElem, const QDomDocument&
5757

5858
void QgsComposerFrame::paint( QPainter* painter, const QStyleOptionGraphicsItem* itemStyle, QWidget* pWidget )
5959
{
60+
Q_UNUSED( itemStyle );
61+
Q_UNUSED( pWidget );
62+
6063
if ( !painter )
6164
{
6265
return;

src/core/composer/qgscomposerframe.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class QgsComposition;
2222
class QgsComposerMultiFrame;
2323

2424
/**Frame for html, table, text which can be divided onto several frames*/
25-
class QgsComposerFrame: public QgsComposerItem
25+
class CORE_EXPORT QgsComposerFrame: public QgsComposerItem
2626
{
2727
public:
2828
QgsComposerFrame( QgsComposition* c, QgsComposerMultiFrame* mf, qreal x, qreal y, qreal width, qreal height );

src/core/composer/qgscomposerhtml.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class QWebPage;
2323

24-
class QgsComposerHtml: public QgsComposerMultiFrame
24+
class CORE_EXPORT QgsComposerHtml: public QgsComposerMultiFrame
2525
{
2626
Q_OBJECT
2727
public:

src/core/composer/qgscomposermultiframe.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class QRectF;
2828
class QPainter;
2929

3030
/**Abstract base class for composer entries with the ability to distribute the content to several frames (items)*/
31-
class QgsComposerMultiFrame: public QObject
31+
class CORE_EXPORT QgsComposerMultiFrame: public QObject
3232
{
3333
Q_OBJECT
3434
public:

src/core/composer/qgscomposermultiframecommand.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
class QgsComposerMultiFrame;
2525

26-
class QgsComposerMultiFrameCommand: public QUndoCommand
26+
class CORE_EXPORT QgsComposerMultiFrameCommand: public QUndoCommand
2727
{
2828
public:
2929
QgsComposerMultiFrameCommand( QgsComposerMultiFrame* multiFrame, const QString& text, QUndoCommand* parent = 0 );

0 commit comments

Comments
 (0)