[Kst] extragear/graphics/kst/kst
Andras Mantia
amantia at kde.org
Thu Sep 22 19:52:41 CEST 2005
SVN commit 463010 by amantia:
Fix compile (gcc 4.0.2, KDE 3.5).
Still, lots of other classes and methods need the KST_EXPORT, but now I'm too tired to add them.
M +9 -8 dialoglauncher.h
M +2 -1 kst.h
M +2 -1 kst2dplot.h
M +2 -1 kstbasecurve.h
M +2 -1 kstrvector.h
M +2 -1 kstvcurve.h
M +2 -1 kstvector.h
M +2 -1 kstviewobject.h
--- trunk/extragear/graphics/kst/kst/dialoglauncher.h #463009:463010
@@ -18,23 +18,24 @@
#ifndef DIALOGLAUNCHER_H
#define DIALOGLAUNCHER_H
#include <qstring.h>
+#include "kst_export.h"
namespace KstDialogs {
- void showHistogramDialog(const QString& name);
+ KST_EXPORT void showHistogramDialog(const QString& name);
- void showPluginDialog(const QString& name);
+ KST_EXPORT void showPluginDialog(const QString& name);
- void showEquationDialog(const QString& name);
+ KST_EXPORT void showEquationDialog(const QString& name);
- void showCSDDialog(const QString& name);
+ KST_EXPORT void showCSDDialog(const QString& name);
- void showPSDDialog(const QString& name);
+ KST_EXPORT void showPSDDialog(const QString& name);
- void showMatrixDialog(const QString& name);
+ KST_EXPORT void showMatrixDialog(const QString& name);
- void showImageDialog(const QString& name);
+ KST_EXPORT void showImageDialog(const QString& name);
- void showCurveDialog(const QString& name);
+ KST_EXPORT void showCurveDialog(const QString& name);
}
#endif
--- trunk/extragear/graphics/kst/kst/kst.h #463009:463010
@@ -30,6 +30,7 @@
// application specific includes
#include "kst2dplot.h"
#include "ksteventmonitorentry.h"
+#include "kst_export.h"
//#include "statuslabel.h"
enum LegendType { LegendOn, LegendOff, LegendAuto };
@@ -83,7 +84,7 @@
* @author original Source Framework automatically generated by
* KDevelop, (c) The KDevelop Team. Modified by C. Barth Netterfield
*/
-class KstApp : public KMdiMainFrm {
+class KST_EXPORT KstApp : public KMdiMainFrm {
Q_OBJECT
public:
static void initialize(); // for main to call
--- trunk/extragear/graphics/kst/kst/kst2dplot.h #463009:463010
@@ -26,6 +26,7 @@
#include "kstlabel.h"
#include "kstplotdefines.h"
#include "kstviewwidget.h"
+#include "kst_export.h"
#include <qvaluestack.h>
@@ -78,7 +79,7 @@
};
-class Kst2DPlot : public KstPlotBase {
+class KST_EXPORT Kst2DPlot : public KstPlotBase {
Q_OBJECT
public:
Kst2DPlot(const QString& in_tag = "SomePlot",
--- trunk/extragear/graphics/kst/kst/kstbasecurve.h #463009:463010
@@ -22,6 +22,7 @@
#include <qvaluestack.h>
#include "kstdataobject.h"
+#include "kst_export.h"
/**A class for handling curves for kst
*@author C. Barth Netterfield
@@ -41,7 +42,7 @@
enum KstCurveType { KST_VCURVE, KST_HISTOGRAM, KST_IMAGE };
-class KstBaseCurve : public KstDataObject {
+class KST_EXPORT KstBaseCurve : public KstDataObject {
public:
KstBaseCurve();
KstBaseCurve(const QDomElement& e);
--- trunk/extragear/graphics/kst/kst/kstrvector.h #463009:463010
@@ -21,6 +21,7 @@
#include "kstvector.h"
#include "kstdatasource.h"
+#include "kst_export.h"
namespace Equation {
class Node;
@@ -30,7 +31,7 @@
*@author cbn
*/
-class KstRVector : public KstVector {
+class KST_EXPORT KstRVector : public KstVector {
public:
/** Create an RVECTOR */
KstRVector(KstDataSourcePtr file, const QString &field, const QString &tag,
--- trunk/extragear/graphics/kst/kst/kstvcurve.h #463009:463010
@@ -20,12 +20,13 @@
#include "kstbasecurve.h"
#include "kstpoint.h"
+#include "kst_export.h"
/**A class for handling curves for kst
*@author C. Barth Netterfield
*/
-class KstVCurve: public KstBaseCurve {
+class KST_EXPORT KstVCurve: public KstBaseCurve {
public:
KstVCurve(const QString &in_tag, KstVectorPtr in_X, KstVectorPtr in_Y,
KstVectorPtr in_EX, KstVectorPtr in_EY,
--- trunk/extragear/graphics/kst/kst/kstvector.h #463009:463010
@@ -22,6 +22,7 @@
#include <qdict.h>
#include <qguardedptr.h>
#include "kstscalar.h"
+#include "kst_export.h"
#define IS_POINT(x) (!isnan(x))
#define NOT_POINT(x) (isnan(x))
@@ -45,7 +46,7 @@
/**A class for handling data vectors for kst.
*@author cbn
*/
-class KstVector : public KstObject {
+class KST_EXPORT KstVector : public KstObject {
Q_OBJECT
public:
/**
--- trunk/extragear/graphics/kst/kst/kstviewobject.h #463009:463010
@@ -29,6 +29,7 @@
#include "kstobject.h"
#include "kstalignment.h"
+#include "kst_export.h"
class KPopupMenu;
class KstViewObject;
@@ -61,7 +62,7 @@
}
};
-class KstViewObject : public KstObject {
+class KST_EXPORT KstViewObject : public KstObject {
Q_OBJECT
protected:
KstViewObject(const QString& type);
More information about the Kst
mailing list