From 13d6f7f9230ec318d40f9e291f9231cd52cda5a3 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 3 Jan 2005 17:09:42 +0000 Subject: [PATCH] Patch to use -fvisibility svn path=/trunk/kdeedu/libkdeedu/; revision=375247 --- extdate/extdatepicker.h | 2 +- extdate/extdatetime.h | 5 +++-- extdate/extdatewidget.h | 2 +- kdeeducore/keduvocdata.h | 5 +++-- kdeeduplot/kplotobject.h | 8 +++++--- kdeeduplot/kplotwidget.h | 2 +- 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/extdate/extdatepicker.h b/extdate/extdatepicker.h index 6a5469b..03fe749 100644 --- a/extdate/extdatepicker.h +++ b/extdate/extdatepicker.h @@ -49,7 +49,7 @@ class ExtDateTable; * * @short A date selection widget. **/ -class ExtDatePicker: public QFrame +class KDE_EXPORT ExtDatePicker: public QFrame { Q_OBJECT // Q_PROPERTY( ExtDate date READ date WRITE setDate) diff --git a/extdate/extdatetime.h b/extdate/extdatetime.h index de0a6e6..aac9551 100644 --- a/extdate/extdatetime.h +++ b/extdate/extdatetime.h @@ -20,6 +20,7 @@ #include "qstring.h" #include "qnamespace.h" #include "qdatetime.h" +#include #define INVALID_DAY LONG_MIN @@ -29,7 +30,7 @@ extern void test2_unit(int y, int m, int d); -class ExtDate +class KDE_EXPORT ExtDate { public: ExtDate() { m_jd = INVALID_DAY; } @@ -119,7 +120,7 @@ private: ExtDateTime class *****************************************************************************/ -class ExtDateTime +class KDE_EXPORT ExtDateTime { public: ExtDateTime() {} // set null date and null time diff --git a/extdate/extdatewidget.h b/extdate/extdatewidget.h index e23b28f..1a21979 100644 --- a/extdate/extdatewidget.h +++ b/extdate/extdatewidget.h @@ -32,7 +32,7 @@ * @short A pushbutton to display or allow user selection of a date. * @version $Id$ */ -class ExtDateWidget : public QWidget +class KDE_EXPORT ExtDateWidget : public QWidget { Q_OBJECT // Q_PROPERTY( ExtDate date READ date WRITE setDate ) diff --git a/kdeeducore/keduvocdata.h b/kdeeducore/keduvocdata.h index 6fd0f56..99406bf 100644 --- a/kdeeducore/keduvocdata.h +++ b/kdeeducore/keduvocdata.h @@ -21,8 +21,9 @@ #include #include +#include -class KEduVocDataItem +class KDE_EXPORT KEduVocDataItem { public: KEduVocDataItem(); @@ -41,7 +42,7 @@ private: typedef QValueList KEduVocDataItemList; -class KEduVocData +class KDE_EXPORT KEduVocData { public: static KEduVocDataItemList parse(const QString &fileName); diff --git a/kdeeduplot/kplotobject.h b/kdeeduplot/kplotobject.h index f347007..f522a29 100644 --- a/kdeeduplot/kplotobject.h +++ b/kdeeduplot/kplotobject.h @@ -22,12 +22,14 @@ class QString; class QPainter; +#include + /**class DRect *@short equivalent of QRect with double x,y coordinates *@author Jason Harris *@version 1.0 */ -class DRect { +class KDE_EXPORT DRect { public: DRect() { DRect( 0.0, 0.0, 1.0, 1.0 ); } DRect( double x, double y, double w, double h ) { X = x; Y = y; W = w; H = h; } @@ -54,7 +56,7 @@ private: *@author Jason Harris *@version 1.0 */ -class DPoint { +class KDE_EXPORT DPoint { public: DPoint() { DPoint( 0.0, 0.0 ); } DPoint( double x, double y ) { setX( x ); setY( y ); } @@ -85,7 +87,7 @@ private: *about the object's appearance, depending on its type. There is a draw function *for plotting the object on a KPlotWidget's QPainter. */ -class KPlotObject{ +class KDE_EXPORT KPlotObject{ public: /**@enum PTYPE *The Type classification of the KPlotObject diff --git a/kdeeduplot/kplotwidget.h b/kdeeduplot/kplotwidget.h index e371bb6..999f138 100644 --- a/kdeeduplot/kplotwidget.h +++ b/kdeeduplot/kplotwidget.h @@ -37,7 +37,7 @@ class QPixmap; *tickmarks and labels, and a list of KPlotObjects to be drawn. */ -class KPlotWidget : public QWidget { +class KDE_EXPORT KPlotWidget : public QWidget { Q_OBJECT public: /**@short Constructor. Sets the primary x and y limits in data units. -- 2.47.3