View Issue Details

IDProjectCategoryView StatusLast Update
0002410ScribusOS-Win32public2005-09-25 20:52
Reporterjghali Assigned Toringerc 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86 LinuxOSFedora CoreOS Version3
Fixed in Version1.3.1cvs 
Summary0002410: Export symbols from main app (for win32 compat)
DescriptionAttached patch exports symbols from the main app, so plug-ins can use them. This is needed for win32 compat, amd is also a step along the way to -fvisibility support for gcc4.
TagsNo tags attached.
Patch

Relationships

related to 0000015 closedjghali Windows Port 
related to 0001961 closedringerc Limit symbol visibility in plug-ins for efficiency 
child of 0002398 closedjghali Get plugins to compile on Windows (win32) 

Activities

2005-08-10 09:07

 

scribusapi_exports_01.diff (107,567 bytes)   
Index: about.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/about.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 about.h
--- about.h	8 Mar 2005 09:19:35 -0000	1.1.2.1
+++ about.h	8 Aug 2005 15:06:11 -0000
@@ -9,7 +9,9 @@
 #include <qpushbutton.h>
 #include <qlayout.h>
 
-class About : public QDialog
+#include "scribusapi.h"
+
+class SCRIBUS_API About : public QDialog
 { 
     	Q_OBJECT
 
Index: actionmanager.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/actionmanager.h,v
retrieving revision 1.1.2.7
diff -u -r1.1.2.7 actionmanager.h
--- actionmanager.h	15 May 2005 23:38:06 -0000	1.1.2.7
+++ actionmanager.h	8 Aug 2005 15:06:11 -0000
@@ -21,6 +21,7 @@
 #include <qguardedptr.h>
 #include <qdict.h>
 
+#include "scribusapi.h"
 #include "scraction.h"
 
 class ScribusApp;
@@ -30,7 +31,7 @@
 /**
 @author Craig Bradney
 */
-class ActionManager : public QObject
+class SCRIBUS_API ActionManager : public QObject
 {
 	Q_OBJECT
 
Index: align.h
===================================================================
RCS file: /cvs/Scribus/scribus/align.h,v
retrieving revision 1.3.2.2
diff -u -r1.3.2.2 align.h
--- align.h	7 Apr 2005 23:48:16 -0000	1.3.2.2
+++ align.h	8 Aug 2005 15:06:12 -0000
@@ -9,11 +9,13 @@
 #include <qlabel.h>
 #include <qpushbutton.h>
 #include <qradiobutton.h>
+
+#include "scribusapi.h"
 #include "mspinbox.h"
 class ScribusDoc;
 class ScribusView;
 
-class Align : public QDialog
+class SCRIBUS_API Align : public QDialog
 {
 	Q_OBJECT
 
Index: aligndistribute.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/aligndistribute.h,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 aligndistribute.h
--- aligndistribute.h	1 Jul 2005 12:26:19 -0000	1.1.2.4
+++ aligndistribute.h	8 Aug 2005 15:06:12 -0000
@@ -19,6 +19,8 @@
 #include <qvariant.h>
 #include <qpixmap.h>
 #include <qdialog.h>
+
+#include "scribusapi.h"
 #include "scribusstructs.h"
 #include "scribusview.h"
 #include "scrpalettebase.h"
@@ -38,7 +40,7 @@
 class ScribusDoc;
 class UndoManager;
 
-class AlignDistributePalette : public ScrPaletteBase
+class SCRIBUS_API AlignDistributePalette : public ScrPaletteBase
 {
 	Q_OBJECT
 
Index: alignselect.h
===================================================================
RCS file: /cvs/Scribus/scribus/alignselect.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 alignselect.h
--- alignselect.h	24 May 2005 20:16:34 -0000	1.1.2.1
+++ alignselect.h	8 Aug 2005 15:06:12 -0000
@@ -6,7 +6,9 @@
 #include <qlayout.h>
 #include <qtooltip.h>
 
-class AlignSelect : public QButtonGroup
+#include "scribusapi.h"
+
+class SCRIBUS_API AlignSelect : public QButtonGroup
 {
 
 Q_OBJECT
Index: annot.h
===================================================================
RCS file: /cvs/Scribus/scribus/annot.h,v
retrieving revision 1.7.2.1
diff -u -r1.7.2.1 annot.h
--- annot.h	3 Jan 2005 14:08:45 -0000	1.7.2.1
+++ annot.h	8 Aug 2005 15:06:12 -0000
@@ -26,12 +26,14 @@
 #include <qlistbox.h>
 #include <qradiobutton.h>
 #include <qbuttongroup.h>
+
+#include "scribusapi.h"
 #include "pageitem.h"
 #include "navigator.h"
 #include "scribusview.h"
 #include <prefscontext.h>
 
-class Annot : public QDialog
+class SCRIBUS_API Annot : public QDialog
 { 
     Q_OBJECT
 
Index: annota.h
===================================================================
RCS file: /cvs/Scribus/scribus/annota.h,v
retrieving revision 1.4.2.1
diff -u -r1.4.2.1 annota.h
--- annota.h	16 Nov 2004 22:37:39 -0000	1.4.2.1
+++ annota.h	8 Aug 2005 15:06:12 -0000
@@ -20,11 +20,13 @@
 #include <qwidgetstack.h>
 #include <qlineedit.h>
 #include <qframe.h>
+
+#include "scribusapi.h"
 #include "pageitem.h"
 #include "navigator.h"
 #include "scribusview.h"
 
-class Annota : public QDialog
+class SCRIBUS_API Annota : public QDialog
 {
 	Q_OBJECT
 
Index: applytemplatedialog.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/applytemplatedialog.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 applytemplatedialog.h
--- applytemplatedialog.h	6 Jul 2005 20:58:31 -0000	1.1.2.1
+++ applytemplatedialog.h	8 Aug 2005 15:06:12 -0000
@@ -11,6 +11,8 @@
 
 #include <qvariant.h>
 #include <qdialog.h>
+
+#include "scribusapi.h"
 #include "scribusdoc.h"
 #include "page.h"
 
@@ -26,7 +28,7 @@
 class QSpinBox;
 class QPushButton;
 
-class ApplyMasterPageDialog : public QDialog
+class SCRIBUS_API ApplyMasterPageDialog : public QDialog
 {
 	Q_OBJECT
 
Index: arrowchooser.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/arrowchooser.h,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 arrowchooser.h
--- arrowchooser.h	3 Jan 2005 14:08:46 -0000	1.1.2.5
+++ arrowchooser.h	8 Aug 2005 15:06:12 -0000
@@ -2,9 +2,10 @@
 #define ARROWCHOOSER_H
 
 #include <qcombobox.h>
+#include "scribusapi.h"
 #include "scribusstructs.h"
 
-class ArrowChooser : public QComboBox
+class SCRIBUS_API ArrowChooser : public QComboBox
 {
     Q_OBJECT
 
Index: autoform.h
===================================================================
RCS file: /cvs/Scribus/scribus/autoform.h,v
retrieving revision 1.7.2.3
diff -u -r1.7.2.3 autoform.h
--- autoform.h	25 Mar 2005 00:22:11 -0000	1.7.2.3
+++ autoform.h	8 Aug 2005 15:06:12 -0000
@@ -3,13 +3,14 @@
 
 #include <qwidget.h>
 #include <qtoolbutton.h>
+#include "scribusapi.h"
 class QGridLayout;
 class QPopupMenu;
 class QPixmap;
 class AutoformButtonGroup;
 
 
-class Autoforms : public QToolButton
+class SCRIBUS_API Autoforms : public QToolButton
 {
     Q_OBJECT
 
Index: autoformbuttongroup.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/autoformbuttongroup.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 autoformbuttongroup.h
--- autoformbuttongroup.h	25 Mar 2005 00:22:11 -0000	1.1.2.1
+++ autoformbuttongroup.h	8 Aug 2005 15:06:12 -0000
@@ -4,12 +4,13 @@
 #include <qwidget.h>
 #include <qbuttongroup.h>
 #include <qtoolbutton.h>
+#include "scribusapi.h"
 class QGridLayout;
 class QPopupMenu;
 class QPixmap;
 
 
-class AutoformButtonGroup : public QButtonGroup
+class SCRIBUS_API AutoformButtonGroup : public QButtonGroup
 {
     Q_OBJECT
 
Index: bookmwin.h
===================================================================
RCS file: /cvs/Scribus/scribus/bookmwin.h,v
retrieving revision 1.3.2.2
diff -u -r1.3.2.2 bookmwin.h
--- bookmwin.h	16 May 2005 12:09:04 -0000	1.3.2.2
+++ bookmwin.h	8 Aug 2005 15:06:12 -0000
@@ -23,6 +23,8 @@
 #include <qevent.h>
 #include <qpoint.h>
 #include <qlayout.h>
+
+#include "scribusapi.h"
 #include "scribusview.h"
 #include "scribusdoc.h"
 #include "pageitem.h"
@@ -31,7 +33,7 @@
 *@author Franz Schmid
 */
 
-class BookMItem : public QListViewItem
+class SCRIBUS_API BookMItem : public QListViewItem
 {
 public:
 	BookMItem(QListViewItem* parent, struct ScribusDoc::BookMa *Bm);
@@ -56,7 +58,7 @@
 	int Pare;
 };
 
-class BookMView : public QListView
+class SCRIBUS_API BookMView : public QListView
 {
 	Q_OBJECT
 
Index: bookpalette.h
===================================================================
RCS file: /cvs/Scribus/scribus/bookpalette.h,v
retrieving revision 1.4.2.4
diff -u -r1.4.2.4 bookpalette.h
--- bookpalette.h	16 May 2005 12:09:04 -0000	1.4.2.4
+++ bookpalette.h	8 Aug 2005 15:06:12 -0000
@@ -19,13 +19,14 @@
 #define BOOKPALETTE_H
 
 #include <qlayout.h>
+#include "scribusapi.h"
 #include "scrpalettebase.h"
 #include "bookmwin.h"
 /**
   *@author Franz Schmid
   */
 
-class BookPalette : public ScrPaletteBase
+class SCRIBUS_API BookPalette : public ScrPaletteBase
 {
 	Q_OBJECT
 
Index: buttonicon.h
===================================================================
RCS file: /cvs/Scribus/scribus/buttonicon.h,v
retrieving revision 1.3
diff -u -r1.3 buttonicon.h
--- buttonicon.h	22 Jan 2004 00:44:39 -0000	1.3
+++ buttonicon.h	8 Aug 2005 15:06:12 -0000
@@ -9,9 +9,11 @@
 #include <qslider.h>
 #include <qlayout.h>
 #include <qtooltip.h>
+
+#include "scribusapi.h"
 #include "pageitem.h"
 
-class ButtonIcon : public QDialog
+class SCRIBUS_API ButtonIcon : public QDialog
 { 
     Q_OBJECT
 
Index: charselect.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/charselect.h,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 charselect.h
--- charselect.h	2 Jul 2005 07:42:27 -0000	1.1.2.3
+++ charselect.h	8 Aug 2005 15:06:12 -0000
@@ -2,6 +2,7 @@
 #define CHARSELECT_H
 
 #include <qdialog.h>
+#include "scribusapi.h"
 
 class QTimer;
 class QLabel;
@@ -15,7 +16,7 @@
 class ScribusApp;
 class FontCombo;
 
-class Zoom : public QDialog
+class SCRIBUS_API Zoom : public QDialog
 {
 Q_OBJECT
 
@@ -29,7 +30,7 @@
 
 class ChTable;
 
-class CharSelect : public QDialog
+class SCRIBUS_API CharSelect : public QDialog
 {
 	Q_OBJECT
 
@@ -101,7 +102,7 @@
 	QHBoxLayout* layout1;
 };
 
-class ChTable : public QTable
+class SCRIBUS_API ChTable : public QTable
 {
     Q_OBJECT
 
Index: checkDocument.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/checkDocument.h,v
retrieving revision 1.1.2.11
diff -u -r1.1.2.11 checkDocument.h
--- checkDocument.h	4 May 2005 23:27:10 -0000	1.1.2.11
+++ checkDocument.h	8 Aug 2005 15:06:12 -0000
@@ -5,6 +5,7 @@
 #include <qpixmap.h>
 #include <qdialog.h>
 
+#include "scribusapi.h"
 #include "scrpalettebase.h"
 
 class QVBoxLayout;
@@ -18,7 +19,7 @@
 class QPushButton;
 class ScribusDoc;
 
-class CheckDocument : public ScrPaletteBase
+class SCRIBUS_API CheckDocument : public ScrPaletteBase
 {
 	Q_OBJECT
 
Index: cmsprefs.h
===================================================================
RCS file: /cvs/Scribus/scribus/cmsprefs.h,v
retrieving revision 1.3.2.5
diff -u -r1.3.2.5 cmsprefs.h
--- cmsprefs.h	3 Apr 2005 21:35:01 -0000	1.3.2.5
+++ cmsprefs.h	8 Aug 2005 15:06:12 -0000
@@ -8,9 +8,10 @@
 #include <qlabel.h>
 #include <qlayout.h>
 #include <qtooltip.h>
+#include "scribusapi.h"
 #include "scribusstructs.h"
 
-class CMSPrefs : public QWidget
+class SCRIBUS_API CMSPrefs : public QWidget
 {
 	Q_OBJECT
 
Index: cmykfw.h
===================================================================
RCS file: /cvs/Scribus/scribus/cmykfw.h,v
retrieving revision 1.7.2.4
diff -u -r1.7.2.4 cmykfw.h
--- cmykfw.h	28 Jul 2005 19:12:35 -0000	1.7.2.4
+++ cmykfw.h	8 Aug 2005 15:06:12 -0000
@@ -25,11 +25,12 @@
 #include <qlistbox.h>
 
 class CMYKcolor;
+#include "scribusapi.h"
 #include "colorchart.h"
 #include "mspinbox.h"
 #include "scribusstructs.h"
 
-class CMYKChoose : public QDialog
+class SCRIBUS_API CMYKChoose : public QDialog
 {
 	Q_OBJECT
 
Index: colorchart.h
===================================================================
RCS file: /cvs/Scribus/scribus/colorchart.h,v
retrieving revision 1.2
diff -u -r1.2 colorchart.h
--- colorchart.h	22 Jan 2004 00:44:39 -0000	1.2
+++ colorchart.h	8 Aug 2005 15:06:12 -0000
@@ -20,12 +20,13 @@
 
 #include <qlabel.h>
 #include <qpixmap.h>
+#include "scribusapi.h"
 
 /**
   *@author Franz Schmid
   */
 
-class ColorChart : public QLabel  {
+class SCRIBUS_API ColorChart : public QLabel  {
 
 Q_OBJECT
 
Index: colorm.h
===================================================================
RCS file: /cvs/Scribus/scribus/colorm.h,v
retrieving revision 1.7.2.2
diff -u -r1.7.2.2 colorm.h
--- colorm.h	3 Jan 2005 14:08:47 -0000	1.7.2.2
+++ colorm.h	8 Aug 2005 15:06:12 -0000
@@ -18,10 +18,12 @@
 #include <qlabel.h>
 #include <qpopupmenu.h>
 #include <qcolor.h>
+
+#include "scribusapi.h"
 #include "scribusstructs.h"
 #include "query.h"
 
-class Farbmanager : public QDialog
+class SCRIBUS_API Farbmanager : public QDialog
 { 
 	Q_OBJECT
 
Index: commonstrings.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/commonstrings.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 commonstrings.h
--- commonstrings.h	7 Aug 2005 11:34:48 -0000	1.1.2.1
+++ commonstrings.h	8 Aug 2005 15:06:12 -0000
@@ -18,6 +18,7 @@
 
 #include <qobject.h>
 #include <qstring.h>
+#include "scribusapi.h"
 
 /*
  * A simple common strings class to reduce the string count and ease
@@ -34,7 +35,7 @@
  *    done initially.
  */
 
-class CommonStrings : public QObject
+class SCRIBUS_API CommonStrings : public QObject
 {
 	Q_OBJECT
 public:
Index: cpalette.h
===================================================================
RCS file: /cvs/Scribus/scribus/cpalette.h,v
retrieving revision 1.13.2.5
diff -u -r1.13.2.5 cpalette.h
--- cpalette.h	17 May 2005 12:20:01 -0000	1.13.2.5
+++ cpalette.h	8 Aug 2005 15:06:12 -0000
@@ -18,6 +18,7 @@
 #ifndef CPALETTE_H
 #define CPALETTE_H
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 #include "gradienteditor.h"
 
@@ -42,7 +43,7 @@
   *@author Franz Schmid
   */
 
-class Cpalette : public QWidget
+class SCRIBUS_API Cpalette : public QWidget
 {
 	Q_OBJECT
 public:
Index: cupsoptions.h
===================================================================
RCS file: /cvs/Scribus/scribus/cupsoptions.h,v
retrieving revision 1.3
diff -u -r1.3 cupsoptions.h
--- cupsoptions.h	24 Sep 2004 22:07:11 -0000	1.3
+++ cupsoptions.h	8 Aug 2005 15:06:13 -0000
@@ -25,13 +25,15 @@
 #include <qcombobox.h>
 #include <qptrlist.h>
 #include <qmap.h>
+
+#include "scribusapi.h"
 #include "prefscontext.h"
 
 /**
   *@author Franz Schmid
   */
 
-class CupsOptions : public QDialog
+class SCRIBUS_API CupsOptions : public QDialog
 {
     Q_OBJECT
 
Index: customfdialog.h
===================================================================
RCS file: /cvs/Scribus/scribus/customfdialog.h,v
retrieving revision 1.6.2.1
diff -u -r1.6.2.1 customfdialog.h
--- customfdialog.h	11 Dec 2004 13:34:41 -0000	1.6.2.1
+++ customfdialog.h	8 Aug 2005 15:06:13 -0000
@@ -29,10 +29,13 @@
 #include <qtoolbutton.h>
 #include <qcombobox.h>
 #include <qstring.h>
+
+#include "scribusapi.h"
+
 /**
   *@author Franz Schmid
   */
-class ImIconProvider : public QFileIconProvider
+class SCRIBUS_API ImIconProvider : public QFileIconProvider
 {
     Q_OBJECT
     QStringList fmts;
@@ -51,7 +54,7 @@
     const QPixmap * pixmap(const QFileInfo &fi);
 };
 
-class FDialogPreview : public QLabel, public QFilePreview
+class SCRIBUS_API FDialogPreview : public QLabel, public QFilePreview
 {
     Q_OBJECT
 public:
@@ -62,7 +65,7 @@
 	virtual void previewUrl(const QUrl &url);
 };
 
-class CustomFDialog : public QFileDialog
+class SCRIBUS_API CustomFDialog : public QFileDialog
 {
     Q_OBJECT
 public: 
Index: dcolor.h
===================================================================
RCS file: /cvs/Scribus/scribus/dcolor.h,v
retrieving revision 1.4.2.3
diff -u -r1.4.2.3 dcolor.h
--- dcolor.h	3 Jan 2005 14:08:47 -0000	1.4.2.3
+++ dcolor.h	8 Aug 2005 15:06:13 -0000
@@ -15,7 +15,9 @@
 class QPushbutton;
 class QCombobox;
 
-class DelColor : public QDialog
+#include "scribusapi.h"
+
+class SCRIBUS_API DelColor : public QDialog
 { 
     Q_OBJECT
 
Index: deferredtask.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/deferredtask.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 deferredtask.h
--- deferredtask.h	3 Aug 2005 12:32:39 -0000	1.1.2.2
+++ deferredtask.h	8 Aug 2005 15:06:13 -0000
@@ -3,6 +3,7 @@
 
 #include "qobject.h"
 #include "qstring.h"
+#include "scribusapi.h"
 
 class QTimer;
 
@@ -27,7 +28,7 @@
 // is deleted (and it hasn't yet been deleted). Otherwise, delete it when
 // you're done with it. You should not delete it without cancelling it first.
 //
-class DeferredTask : public QObject
+class SCRIBUS_API DeferredTask : public QObject
 {
 	Q_OBJECT
 
Index: delpages.h
===================================================================
RCS file: /cvs/Scribus/scribus/delpages.h,v
retrieving revision 1.2.2.2
diff -u -r1.2.2.2 delpages.h
--- delpages.h	19 Nov 2004 22:28:58 -0000	1.2.2.2
+++ delpages.h	8 Aug 2005 15:06:13 -0000
@@ -9,13 +9,15 @@
 #ifndef DELPAGES_H
 #define DELPAGES_H
 
+#include "scribusapi.h"
+
 class QDialog;
 class QLabel;
 class QLayout;
 class QPushbutton;
 class QSpinbox;
 
-class DelPages : public QDialog
+class SCRIBUS_API DelPages : public QDialog
 { 
     Q_OBJECT
 
Index: docinfo.h
===================================================================
RCS file: /cvs/Scribus/scribus/docinfo.h,v
retrieving revision 1.5.2.3
diff -u -r1.5.2.3 docinfo.h
--- docinfo.h	23 May 2005 17:18:37 -0000	1.5.2.3
+++ docinfo.h	8 Aug 2005 15:06:13 -0000
@@ -15,12 +15,13 @@
 #include <qlineedit.h>
 #include <qmultilineedit.h>
 
+#include "scribusapi.h"
 #include "documentinformation.h"
 
 /*! The DocInfos class is now part of the ReformDoc multi widgets storage.
 See reformdoc.h as reference. The return values are handled via. getDocInfo()
 method. It can be used as standalone widget. */
-class DocInfos : public QTabWidget
+class SCRIBUS_API DocInfos : public QTabWidget
 {
     Q_OBJECT
 
Index: documentchecker.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/documentchecker.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 documentchecker.h
--- documentchecker.h	6 May 2005 21:05:56 -0000	1.1.2.1
+++ documentchecker.h	8 Aug 2005 15:06:13 -0000
@@ -18,9 +18,10 @@
 #ifndef DOCUMENTCHECKER_H
 #define DOCUMENTCHECKER_H
 
+#include "scribusapi.h"
 class ScribusDoc;
 
-class DocumentChecker
+class SCRIBUS_API DocumentChecker
 {
 	public:
 		void checkDocument(ScribusDoc *currDoc);
Index: documentinformation.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/documentinformation.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 documentinformation.h
--- documentinformation.h	26 Apr 2005 19:03:00 -0000	1.1.2.2
+++ documentinformation.h	8 Aug 2005 15:06:13 -0000
@@ -17,8 +17,9 @@
 #define DOCUMENTINFORMATION_H
 
 #include <qstring.h>
+#include "scribusapi.h"
 
-class DocumentInformation
+class SCRIBUS_API DocumentInformation
 {
 	public:
 		DocumentInformation();
Index: druck.h
===================================================================
RCS file: /cvs/Scribus/scribus/druck.h,v
retrieving revision 1.8.2.1
diff -u -r1.8.2.1 druck.h
--- druck.h	9 Apr 2005 13:28:26 -0000	1.8.2.1
+++ druck.h	8 Aug 2005 15:06:13 -0000
@@ -9,6 +9,7 @@
 #ifndef DRUCK_H
 #define DRUCK_H
 
+#include "scribusapi.h"
 #include "prefscontext.h"
 #include <qdialog.h>
 #include <qbuttongroup.h>
@@ -24,7 +25,7 @@
 #include <qtooltip.h>
 #include <qcheckbox.h>
 
-class AdvOptions : public QDialog
+class SCRIBUS_API AdvOptions : public QDialog
 {
 	Q_OBJECT
 
@@ -49,7 +50,7 @@
 	QHBoxLayout* Layout2;
 };
 
-class Druck : public QDialog
+class SCRIBUS_API Druck : public QDialog
 {
 	Q_OBJECT
 
Index: edit1format.h
===================================================================
RCS file: /cvs/Scribus/scribus/edit1format.h,v
retrieving revision 1.11.2.16
diff -u -r1.11.2.16 edit1format.h
--- edit1format.h	15 Jul 2005 23:14:43 -0000	1.11.2.16
+++ edit1format.h	8 Aug 2005 15:06:13 -0000
@@ -12,6 +12,8 @@
 #include <qtooltip.h>
 #include <qcheckbox.h>
 #include <qcombobox.h>
+
+#include "scribusapi.h"
 #include "scribusstructs.h"
 #include "mspinbox.h"
 #include "fontcombo.h"
@@ -24,7 +26,7 @@
 class PageItem;
 
 
-class EditStyle : public QDialog
+class SCRIBUS_API EditStyle : public QDialog
 {
 	Q_OBJECT
 
Index: editformats.h
===================================================================
RCS file: /cvs/Scribus/scribus/editformats.h,v
retrieving revision 1.9.2.4
diff -u -r1.9.2.4 editformats.h
--- editformats.h	15 Jul 2005 23:14:43 -0000	1.9.2.4
+++ editformats.h	8 Aug 2005 15:06:13 -0000
@@ -9,10 +9,11 @@
 #include <qtooltip.h>
 #include <qmap.h>
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 class ScribusDoc;
 
-class ChooseStyles : public QDialog
+class SCRIBUS_API ChooseStyles : public QDialog
 {
 	Q_OBJECT
 
@@ -31,7 +32,7 @@
 
 };
 
-class StilFormate : public QDialog
+class SCRIBUS_API StilFormate : public QDialog
 {
 	Q_OBJECT
 
Index: editor.h
===================================================================
RCS file: /cvs/Scribus/scribus/editor.h,v
retrieving revision 1.4
diff -u -r1.4 editor.h
--- editor.h	24 Sep 2004 22:07:11 -0000	1.4
+++ editor.h	8 Aug 2005 15:06:13 -0000
@@ -8,10 +8,12 @@
 #include <qtooltip.h>
 #include <qpopupmenu.h>
 #include <qmenubar.h>
+
+#include "scribusapi.h"
 #include "scribusview.h"
 #include "prefscontext.h"
 
-class Editor : public QDialog
+class SCRIBUS_API Editor : public QDialog
 { 
     Q_OBJECT
 
Index: effectsdialog.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/effectsdialog.h,v
retrieving revision 1.1.2.8
diff -u -r1.1.2.8 effectsdialog.h
--- effectsdialog.h	5 May 2005 10:02:52 -0000	1.1.2.8
+++ effectsdialog.h	8 Aug 2005 15:06:13 -0000
@@ -6,6 +6,8 @@
 #include <qdialog.h>
 #include <qvaluelist.h>
 #include <qmap.h>
+
+#include "scribusapi.h"
 #include "pageitem.h"
 class QVBoxLayout;
 class QHBoxLayout;
@@ -23,7 +25,7 @@
 class QSlider;
 class MSpinBox;
 
-class EffectsDialog : public QDialog
+class SCRIBUS_API EffectsDialog : public QDialog
 {
 	Q_OBJECT
 
Index: extimageprops.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/extimageprops.h,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 extimageprops.h
--- extimageprops.h	27 Apr 2005 23:11:19 -0000	1.1.2.4
+++ extimageprops.h	8 Aug 2005 15:06:13 -0000
@@ -16,10 +16,12 @@
 class QListBoxItem;
 class QCheckBox;
 class QPushButton;
+
+#include "scribusapi.h"
 #include "scribus.h"
 #include "scimage.h"
 
-class ExtImageProps : public QDialog
+class SCRIBUS_API ExtImageProps : public QDialog
 {
 	Q_OBJECT
 
Index: fileloader.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/fileloader.h,v
retrieving revision 1.1.2.14
diff -u -r1.1.2.14 fileloader.h
--- fileloader.h	15 Jul 2005 23:14:43 -0000	1.1.2.14
+++ fileloader.h	8 Aug 2005 15:06:13 -0000
@@ -3,6 +3,8 @@
 #include <qstring.h>
 #include <qvaluelist.h>
 #include <qmap.h>
+
+#include "scribusapi.h"
 #include "scribusstructs.h"
 
 class QDomElement;
@@ -13,7 +15,7 @@
 class SCFonts;
 class PrefsManager;
 
-class FileLoader
+class SCRIBUS_API FileLoader
 {
 public:
 	FileLoader(QString fileName, ScribusApp* app);
Index: filesearch.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/filesearch.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 filesearch.h
--- filesearch.h	3 Aug 2005 10:27:30 -0000	1.1.2.2
+++ filesearch.h	8 Aug 2005 15:06:13 -0000
@@ -1,6 +1,7 @@
 #ifndef _FILESEARCH_H
 #define _FILESEARCH_H
 
+#include "scribusapi.h"
 #include "deferredtask.h"
 #include <qstringlist.h>
 #include <qvaluestack.h>
@@ -13,7 +14,7 @@
 // letting you get on with other things and take action when you're informed
 // that the search is complete.
 // A FileSearch is single use.
-class FileSearch : public DeferredTask
+class SCRIBUS_API FileSearch : public DeferredTask
 {
 	Q_OBJECT
 
Index: fileunzip.h
===================================================================
RCS file: /cvs/Scribus/scribus/fileunzip.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 fileunzip.h
--- fileunzip.h	5 Jul 2005 06:36:03 -0000	1.1.2.2
+++ fileunzip.h	8 Aug 2005 15:06:13 -0000
@@ -22,6 +22,7 @@
 #define FILEUNZIP_H
 
 #include "scconfig.h"
+#include "scribusapi.h"
 
 #include <zlib.h>
 #include <qstring.h>
@@ -33,7 +34,7 @@
  * constructor FileUnzip(QString) takes a zip file as a parameter and method
  * getFile(QString) extracts the path to the extracted file.
  */
-class FileUnzip
+class SCRIBUS_API FileUnzip
 {
 private:
 	QString zipFile;
Index: filewatcher.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/filewatcher.h,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 filewatcher.h
--- filewatcher.h	13 Jan 2005 22:07:11 -0000	1.1.2.3
+++ filewatcher.h	8 Aug 2005 15:06:13 -0000
@@ -8,7 +8,9 @@
 #include <qdatetime.h>
 #include <qvaluelist.h>
 
-class FileWatcher : public QObject
+#include "scribusapi.h"
+
+class SCRIBUS_API FileWatcher : public QObject
 {
 	Q_OBJECT
 
Index: fmitem.h
===================================================================
RCS file: /cvs/Scribus/scribus/fmitem.h,v
retrieving revision 1.4
diff -u -r1.4 fmitem.h
--- fmitem.h	22 Jan 2004 00:44:39 -0000	1.4
+++ fmitem.h	8 Aug 2005 15:06:13 -0000
@@ -23,11 +23,14 @@
 #include <qfont.h>
 #include <qstring.h>
 #include <qmenudata.h>
+
+#include "scribusapi.h"
+
 /**
   *@author Franz Schmid
   */
 
-class FmItem : public QCustomMenuItem 
+class SCRIBUS_API FmItem : public QCustomMenuItem 
 {
 public: 
 	FmItem(const QString& s, const QFont& f);
Index: fontcombo.h
===================================================================
RCS file: /cvs/Scribus/scribus/fontcombo.h,v
retrieving revision 1.5.2.7
diff -u -r1.5.2.7 fontcombo.h
--- fontcombo.h	15 Jul 2005 23:14:43 -0000	1.5.2.7
+++ fontcombo.h	8 Aug 2005 15:06:13 -0000
@@ -23,6 +23,7 @@
 #include <qlayout.h>
 #include <qwidget.h>
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 class QListBoxItem;
 class QFont;
@@ -34,7 +35,7 @@
   *@author Franz Schmid
   */
 
-class FontListItem : public QListBoxItem
+class SCRIBUS_API FontListItem : public QListBoxItem
 {
 public:
     FontListItem(QComboBox* parent, QString f, QFont fo);
@@ -51,7 +52,7 @@
     QString fontName;
 };
 
-class FontCombo : public QComboBox  
+class SCRIBUS_API FontCombo : public QComboBox  
 {
 public:
 	FontCombo(QWidget* pa);
@@ -62,7 +63,7 @@
 	PrefsManager* prefsManager;
 };
 
-class FontComboH : public QWidget
+class SCRIBUS_API FontComboH : public QWidget
 {
 
 	Q_OBJECT
Index: fontprefs.h
===================================================================
RCS file: /cvs/Scribus/scribus/fontprefs.h,v
retrieving revision 1.4.2.7
diff -u -r1.4.2.7 fontprefs.h
--- fontprefs.h	15 Jul 2005 23:14:43 -0000	1.4.2.7
+++ fontprefs.h	8 Aug 2005 15:06:13 -0000
@@ -12,12 +12,13 @@
 #include <qcombobox.h>
 #include <qlistbox.h>
 #include <qlistview.h>
+#include "scribusapi.h"
 #include "scribusstructs.h"
 #include "prefsmanager.h"
 
 class ScribusDoc;
 
-class FontPrefs : public QTabWidget
+class SCRIBUS_API FontPrefs : public QTabWidget
 {
 	Q_OBJECT
 
Index: fontreplacedialog.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/fontreplacedialog.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 fontreplacedialog.h
--- fontreplacedialog.h	15 Jul 2005 23:14:43 -0000	1.1.2.2
+++ fontreplacedialog.h	8 Aug 2005 15:06:13 -0000
@@ -12,9 +12,10 @@
 class QTable;
 class QCheckBox;
 class QPushButton;
+#include "scribusapi.h"
 #include "scribusstructs.h"
 
-class FontReplaceDialog : public QDialog
+class SCRIBUS_API FontReplaceDialog : public QDialog
 {
 	Q_OBJECT
 
Index: fparser.h
===================================================================
RCS file: /cvs/Scribus/scribus/fparser.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 fparser.h
--- fparser.h	16 Nov 2004 22:37:39 -0000	1.1.2.1
+++ fparser.h	8 Aug 2005 15:06:13 -0000
@@ -16,7 +16,9 @@
 #include <iostream>
 #endif
 
-class FunctionParser
+#include "scribusapi.h"
+
+class SCRIBUS_API FunctionParser
 {
 public:
     enum ParseErrorType
Index: fpoint.h
===================================================================
RCS file: /cvs/Scribus/scribus/fpoint.h,v
retrieving revision 1.4.2.4
diff -u -r1.4.2.4 fpoint.h
--- fpoint.h	19 Apr 2005 22:10:18 -0000	1.4.2.4
+++ fpoint.h	8 Aug 2005 15:06:13 -0000
@@ -19,11 +19,12 @@
 #define FPOINT_H
 
 #include <qpoint.h>
+#include "scribusapi.h"
 /**
   *@author Franz Schmid
   */
 
-class FPoint
+class SCRIBUS_API FPoint
 {
 public: 
 	FPoint() {};
Index: fpointarray.h
===================================================================
RCS file: /cvs/Scribus/scribus/fpointarray.h,v
retrieving revision 1.4.2.4
diff -u -r1.4.2.4 fpointarray.h
--- fpointarray.h	19 Apr 2005 22:10:18 -0000	1.4.2.4
+++ fpointarray.h	8 Aug 2005 15:06:13 -0000
@@ -21,13 +21,14 @@
 #include <qmemarray.h>
 #include <qwmatrix.h>
 #include <qpoint.h>
+#include "scribusapi.h"
 #include "fpoint.h"
 
 /**
   *@author Franz Schmid
   */
 
-class FPointArray : private QMemArray<FPoint>
+class SCRIBUS_API FPointArray : private QMemArray<FPoint>
 {
 public: 
 	FPointArray() : count(0), capacity(0) {};
Index: frameedit.h
===================================================================
RCS file: /cvs/Scribus/scribus/frameedit.h,v
retrieving revision 1.8.2.5
diff -u -r1.8.2.5 frameedit.h
--- frameedit.h	17 May 2005 12:51:12 -0000	1.8.2.5
+++ frameedit.h	8 Aug 2005 15:06:14 -0000
@@ -10,13 +10,14 @@
 #include <qcheckbox.h>
 #include <qspinbox.h>
 
+#include "scribusapi.h"
 #include "scrpalettebase.h"
 #include "mspinbox.h"
 
 class ScribusDoc;
 class ScribusView;
 
-class NodePalette : public ScrPaletteBase
+class SCRIBUS_API NodePalette : public ScrPaletteBase
 {
 	Q_OBJECT
 
Index: gradienteditor.h
===================================================================
RCS file: /cvs/Scribus/scribus/gradienteditor.h,v
retrieving revision 1.3
diff -u -r1.3 gradienteditor.h
--- gradienteditor.h	31 May 2004 11:43:57 -0000	1.3
+++ gradienteditor.h	8 Aug 2005 15:06:14 -0000
@@ -23,9 +23,11 @@
 #include <qspinbox.h>
 #include <qlayout.h>
 #include <qtooltip.h>
+
+#include "scribusapi.h"
 #include "vgradient.h"
 
-class GradientPreview : public QLabel
+class SCRIBUS_API GradientPreview : public QLabel
 {
 	Q_OBJECT
 
@@ -56,7 +58,7 @@
 	void gradientChanged();
 };
 
-class GradientEditor : public QLabel
+class SCRIBUS_API GradientEditor : public QLabel
 {
 	Q_OBJECT
 
Index: gtaction.h
===================================================================
RCS file: /cvs/Scribus/scribus/gtaction.h,v
retrieving revision 1.5.2.8
diff -u -r1.5.2.8 gtaction.h
--- gtaction.h	15 Jul 2005 23:14:43 -0000	1.5.2.8
+++ gtaction.h	8 Aug 2005 15:06:14 -0000
@@ -28,6 +28,7 @@
 #include <qstring.h>
 class PageItem;
 class PrefsManager;
+#include "scribusapi.h"
 #include "gtfont.h"
 #include "gtframestyle.h"
 #include "gtparagraphstyle.h"
@@ -35,7 +36,7 @@
 
 typedef QMap<QString, QString> FontFamilyMap;
 
-class gtAction
+class SCRIBUS_API gtAction
 {
 private:
 	PageItem *textFrame;
Index: gtdialogs.h
===================================================================
RCS file: /cvs/Scribus/scribus/gtdialogs.h,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 gtdialogs.h
--- gtdialogs.h	14 Jan 2005 23:40:45 -0000	1.3.2.1
+++ gtdialogs.h	8 Aug 2005 15:06:14 -0000
@@ -37,9 +37,11 @@
 #include <qtextcodec.h>
 #include <qtoolbutton.h>
 #include <qtooltip.h>
+
+#include "scribusapi.h"
 #include "prefscontext.h"
 
-class gtFileDialog : public QFileDialog
+class SCRIBUS_API gtFileDialog : public QFileDialog
 {
 	Q_OBJECT
 private:
@@ -60,7 +62,7 @@
 	void slotHome();
 };
 
-class gtImporterDialog : public QDialog
+class SCRIBUS_API gtImporterDialog : public QDialog
 {
 	Q_OBJECT
 private:
@@ -74,7 +76,7 @@
 	QString getImporter();
 };
 
-class gtDialogs
+class SCRIBUS_API gtDialogs
 {
 private:
 	gtFileDialog* fdia;
Index: gtfont.h
===================================================================
RCS file: /cvs/Scribus/scribus/gtfont.h,v
retrieving revision 1.4.2.4
diff -u -r1.4.2.4 gtfont.h
--- gtfont.h	17 Jun 2005 12:46:05 -0000	1.4.2.4
+++ gtfont.h	8 Aug 2005 15:06:14 -0000
@@ -24,6 +24,7 @@
 #include <vector>
 
 #include <qstring.h>
+#include "scribusapi.h"
 
 enum FontEffect {
 	NORMAL,
@@ -81,7 +82,7 @@
 	Font will do the font search in Scribus and in case a font
 	cannot be found it will launch the font substitution dialog.
 */
-class gtFont
+class SCRIBUS_API gtFont
 {
 private:
 	QString name;
Index: gtframestyle.h
===================================================================
RCS file: /cvs/Scribus/scribus/gtframestyle.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 gtframestyle.h
--- gtframestyle.h	14 Jan 2005 23:40:45 -0000	1.1.2.1
+++ gtframestyle.h	8 Aug 2005 15:06:14 -0000
@@ -21,9 +21,10 @@
 #ifndef GTFRAMESTYLE_H
 #define GTFRAMESTYLE_H
 
+#include "scribusapi.h"
 #include "gtparagraphstyle.h"
 
-class gtFrameStyle : public gtParagraphStyle
+class SCRIBUS_API gtFrameStyle : public gtParagraphStyle
 {
 private:
 	int     columns;
Index: gtgettext.h
===================================================================
RCS file: /cvs/Scribus/scribus/gtgettext.h,v
retrieving revision 1.2.2.8
diff -u -r1.2.2.8 gtgettext.h
--- gtgettext.h	5 Jul 2005 16:45:57 -0000	1.2.2.8
+++ gtgettext.h	8 Aug 2005 15:06:14 -0000
@@ -31,6 +31,7 @@
 #include <qstringlist.h>
 
 #include "scconfig.h"
+#include "scribusapi.h"
 #include "gtdialogs.h"
 #include "gtwriter.h"
 #include "scfonts.h"
@@ -45,7 +46,7 @@
 /*
 	GetText handles the open file dialog and importer plugins loading and launching.
 */
-class gtGetText
+class SCRIBUS_API gtGetText
 {
 private:
 	std::vector<ImporterData> importers;
Index: gtmeasure.h
===================================================================
RCS file: /cvs/Scribus/scribus/gtmeasure.h,v
retrieving revision 1.3.2.6
diff -u -r1.3.2.6 gtmeasure.h
--- gtmeasure.h	28 Jun 2005 21:39:43 -0000	1.3.2.6
+++ gtmeasure.h	8 Aug 2005 15:06:14 -0000
@@ -23,9 +23,10 @@
 
 #include <qstring.h>
 
+#include "scribusapi.h"
 #include "units.h"
 
-class gtMeasure
+class SCRIBUS_API gtMeasure
 {
 private:
 	gtMeasure();
Index: gtparagraphstyle.h
===================================================================
RCS file: /cvs/Scribus/scribus/gtparagraphstyle.h,v
retrieving revision 1.3.2.2
diff -u -r1.3.2.2 gtparagraphstyle.h
--- gtparagraphstyle.h	28 May 2005 16:15:19 -0000	1.3.2.2
+++ gtparagraphstyle.h	8 Aug 2005 15:06:14 -0000
@@ -22,6 +22,7 @@
 #define GTPARAGRAPHSTYLE_H
 
 #include <qvaluelist.h>
+#include "scribusapi.h"
 #include "gtstyle.h"
 #include "pageitem.h"
 
@@ -42,7 +43,7 @@
 	CENTER_T
 };
 
-class gtParagraphStyle : public gtStyle
+class SCRIBUS_API gtParagraphStyle : public gtStyle
 {
 private:
 	void init();
Index: gtstyle.h
===================================================================
RCS file: /cvs/Scribus/scribus/gtstyle.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 gtstyle.h
--- gtstyle.h	14 Jan 2005 23:40:45 -0000	1.1.2.1
+++ gtstyle.h	8 Aug 2005 15:06:14 -0000
@@ -22,9 +22,10 @@
 #define GTSTYLE_H
 
 #include <qstring.h>
+#include "scribusapi.h"
 #include "gtfont.h"
 
-class gtStyle 
+class SCRIBUS_API gtStyle 
 {
 protected:
 	QString name;
Index: gtwriter.h
===================================================================
RCS file: /cvs/Scribus/scribus/gtwriter.h,v
retrieving revision 1.4.2.2
diff -u -r1.4.2.2 gtwriter.h
--- gtwriter.h	14 Mar 2005 22:59:15 -0000	1.4.2.2
+++ gtwriter.h	8 Aug 2005 15:06:14 -0000
@@ -21,6 +21,7 @@
 #ifndef GTWRITER_H
 #define GTWRITER_H
 
+#include "scribusapi.h"
 #include "gtaction.h"
 #include "gtfont.h"
 #include "gtframestyle.h"
@@ -32,7 +33,7 @@
 /*
 	gtWriter handles the writing to the scribus text frame.
 */
-class gtWriter 
+class SCRIBUS_API gtWriter 
 {
 public:
 	gtWriter(bool append);
Index: guidemanager.h
===================================================================
RCS file: /cvs/Scribus/scribus/guidemanager.h,v
retrieving revision 1.5.2.9
diff -u -r1.5.2.9 guidemanager.h
--- guidemanager.h	22 May 2005 15:56:26 -0000	1.5.2.9
+++ guidemanager.h	8 Aug 2005 15:06:14 -0000
@@ -11,6 +11,7 @@
 #include <qtooltip.h>
 #include <qhbuttongroup.h>
 
+#include "scribusapi.h"
 #include "mspinbox.h"
 
 
@@ -23,7 +24,7 @@
 \author Alessandro Rimoldi
 \author Franz Schmid
 */
-class GuideManager : public QDialog
+class SCRIBUS_API GuideManager : public QDialog
 {
     Q_OBJECT
 
Index: helpbrowser.h
===================================================================
RCS file: /cvs/Scribus/scribus/helpbrowser.h,v
retrieving revision 1.4.2.8
diff -u -r1.4.2.8 helpbrowser.h
--- helpbrowser.h	29 Apr 2005 16:20:45 -0000	1.4.2.8
+++ helpbrowser.h	8 Aug 2005 15:06:14 -0000
@@ -27,6 +27,8 @@
 #include <qdialog.h>
 #include <qstring.h>
 
+#include "scribusapi.h"
+
 class QVBoxLayout;
 class QHBoxLayout;
 class QGridLayout;
@@ -53,7 +55,7 @@
 
 
 /*! \brief This is the Help dialog for Scribus. */
-class HelpBrowser : public QWidget
+class SCRIBUS_API HelpBrowser : public QWidget
 {
 	Q_OBJECT
 
Index: hruler.h
===================================================================
RCS file: /cvs/Scribus/scribus/hruler.h,v
retrieving revision 1.9.2.8
diff -u -r1.9.2.8 hruler.h
--- hruler.h	30 Jul 2005 07:10:53 -0000	1.9.2.8
+++ hruler.h	8 Aug 2005 15:06:14 -0000
@@ -20,6 +20,8 @@
 
 #include <qwidget.h>
 #include <qpainter.h>
+
+#include "scribusapi.h"
 #include "pageitem.h"
 
 class ScribusView;
@@ -30,7 +32,7 @@
 *@author Franz Schmid
 */
 
-class Hruler : public QWidget  
+class SCRIBUS_API Hruler : public QWidget  
 {
 	Q_OBJECT
 
Index: hyask.h
===================================================================
RCS file: /cvs/Scribus/scribus/hyask.h,v
retrieving revision 1.2.2.1
diff -u -r1.2.2.1 hyask.h
--- hyask.h	10 Apr 2005 13:38:38 -0000	1.2.2.1
+++ hyask.h	8 Aug 2005 15:06:14 -0000
@@ -7,7 +7,9 @@
 #include <qlayout.h>
 #include <qtooltip.h>
 
-class WortEdit : public QLineEdit
+#include "scribusapi.h"
+
+class SCRIBUS_API WortEdit : public QLineEdit
 {
     Q_OBJECT
 public:
@@ -16,7 +18,7 @@
 	void keyPressEvent(QKeyEvent *k);
 };
 
-class HyAsk : public QDialog
+class SCRIBUS_API HyAsk : public QDialog
 { 
     Q_OBJECT
 
Index: hyphenator.h
===================================================================
RCS file: /cvs/Scribus/scribus/hyphenator.h,v
retrieving revision 1.6.2.1
diff -u -r1.6.2.1 hyphenator.h
--- hyphenator.h	30 Jun 2005 21:57:01 -0000	1.6.2.1
+++ hyphenator.h	8 Aug 2005 15:06:14 -0000
@@ -3,6 +3,8 @@
 
 #include <qobject.h>
 #include <qtextcodec.h>
+
+#include "scribusapi.h"
 #include "hyphen.h"
 class ScribusDoc;
 class ScribusApp;
@@ -12,7 +14,7 @@
 This class is the core of the Scribus hyphenation system.
 */
 
-class Hyphenator : public QObject
+class SCRIBUS_API Hyphenator : public QObject
 {
     Q_OBJECT
 
Index: hysettings.h
===================================================================
RCS file: /cvs/Scribus/scribus/hysettings.h,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 hysettings.h
--- hysettings.h	4 Dec 2004 15:01:01 -0000	1.3.2.1
+++ hysettings.h	8 Aug 2005 15:06:14 -0000
@@ -9,7 +9,9 @@
 #include <qlayout.h>
 #include <qtooltip.h>
 
-class HySettings : public QWidget
+#include "scribusapi.h"
+
+class SCRIBUS_API HySettings : public QWidget
 { 
     Q_OBJECT
 
Index: insertTable.h
===================================================================
RCS file: /cvs/Scribus/scribus/insertTable.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 insertTable.h
--- insertTable.h	25 Mar 2005 00:22:11 -0000	1.1.2.1
+++ insertTable.h	8 Aug 2005 15:06:14 -0000
@@ -10,7 +10,9 @@
 #include <qtooltip.h>
 #include <qwhatsthis.h>
 
-class InsertTable : public QDialog
+#include "scribusapi.h"
+
+class SCRIBUS_API InsertTable : public QDialog
 {
 	Q_OBJECT
 
Index: inspage.h
===================================================================
RCS file: /cvs/Scribus/scribus/inspage.h,v
retrieving revision 1.1.1.1.2.6
diff -u -r1.1.1.1.2.6 inspage.h
--- inspage.h	26 Jul 2005 23:10:13 -0000	1.1.1.1.2.6
+++ inspage.h	8 Aug 2005 15:06:14 -0000
@@ -9,6 +9,8 @@
 #ifndef INSPAGE_H
 #define INSPAGE_H
 
+#include "scribusapi.h"
+
 class QDialog;
 class QComboBox;
 class QLayout;
@@ -20,7 +22,7 @@
 class MSpinBox;
 class ScribusDoc;
 
-class InsPage : public QDialog
+class SCRIBUS_API InsPage : public QDialog
 {
 	Q_OBJECT
 
Index: javadocs.h
===================================================================
RCS file: /cvs/Scribus/scribus/javadocs.h,v
retrieving revision 1.3.2.2
diff -u -r1.3.2.2 javadocs.h
--- javadocs.h	8 Dec 2004 15:17:25 -0000	1.3.2.2
+++ javadocs.h	8 Aug 2005 15:06:14 -0000
@@ -7,10 +7,11 @@
 #include <qlayout.h>
 #include <qtooltip.h>
 
+#include "scribusapi.h"
 class ScribusDoc;
 class ScribusView;
 
-class JavaDocs : public QDialog
+class SCRIBUS_API JavaDocs : public QDialog
 { 
     Q_OBJECT
 
Index: keymanager.h
===================================================================
RCS file: /cvs/Scribus/scribus/keymanager.h,v
retrieving revision 1.2.2.5
diff -u -r1.2.2.5 keymanager.h
--- keymanager.h	22 Feb 2005 10:50:25 -0000	1.2.2.5
+++ keymanager.h	8 Aug 2005 15:06:14 -0000
@@ -1,6 +1,7 @@
 #ifndef KEYMANAGER_H
 #define KEYMANAGER_H
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 
 #include <qmap.h>
@@ -20,7 +21,7 @@
 class QComboBox;
 class QEvent;
 
-class KeyManager : public QWidget
+class SCRIBUS_API KeyManager : public QWidget
 {
 	Q_OBJECT
 
Index: langmgr.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/langmgr.h,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 langmgr.h
--- langmgr.h	25 Apr 2005 14:49:42 -0000	1.1.2.3
+++ langmgr.h	8 Aug 2005 15:06:14 -0000
@@ -18,8 +18,9 @@
 
 #include <qmap.h>
 #include <qstring.h>
+#include "scribusapi.h"
 
-class LanguageManager
+class SCRIBUS_API LanguageManager
 {
 public:
 	LanguageManager() {};
Index: layers.h
===================================================================
RCS file: /cvs/Scribus/scribus/layers.h,v
retrieving revision 1.8.2.11
diff -u -r1.8.2.11 layers.h
--- layers.h	5 Aug 2005 20:44:23 -0000	1.8.2.11
+++ layers.h	8 Aug 2005 15:06:14 -0000
@@ -6,6 +6,7 @@
 #include <qvaluelist.h>
 #include <qcheckbox.h>
 
+#include "scribusapi.h"
 #include "scrpalettebase.h"
 
 class QPushButton;
@@ -15,7 +16,7 @@
 class QHeader;
 
 
-class LayerTable : public QTable
+class SCRIBUS_API LayerTable : public QTable
 {
 	Q_OBJECT
 
@@ -30,7 +31,7 @@
 	void updtName(int);
 };
 
-class LayerPalette : public ScrPaletteBase
+class SCRIBUS_API LayerPalette : public ScrPaletteBase
 {
 	Q_OBJECT
 
Index: linecombo.h
===================================================================
RCS file: /cvs/Scribus/scribus/linecombo.h,v
retrieving revision 1.2
diff -u -r1.2 linecombo.h
--- linecombo.h	22 Jan 2004 00:44:39 -0000	1.2
+++ linecombo.h	8 Aug 2005 15:06:14 -0000
@@ -21,11 +21,13 @@
 #include <qcombobox.h>
 #include <qpixmap.h>
 
+#include "scribusapi.h"
+
 /**
   *@author Franz Schmid
   */
 
-class LineCombo : public QComboBox  
+class SCRIBUS_API LineCombo : public QComboBox  
 {
 public: 
 	LineCombo(QWidget* pa);
Index: lineformats.h
===================================================================
RCS file: /cvs/Scribus/scribus/lineformats.h,v
retrieving revision 1.6.2.1
diff -u -r1.6.2.1 lineformats.h
--- lineformats.h	8 Dec 2004 15:17:25 -0000	1.6.2.1
+++ lineformats.h	8 Aug 2005 15:06:15 -0000
@@ -3,6 +3,7 @@
 
 #include <qdialog.h>
 
+#include "scribusapi.h"
 #include "multiline.h"
 #include "scribusstructs.h"
 
@@ -12,7 +13,7 @@
 class QHBoxLayout;
 class ScribusDoc;
 
-class LineFormate : public QDialog
+class SCRIBUS_API LineFormate : public QDialog
 {
 	Q_OBJECT
 
Index: linkbutton.h
===================================================================
RCS file: /cvs/Scribus/scribus/linkbutton.h,v
retrieving revision 1.2
diff -u -r1.2 linkbutton.h
--- linkbutton.h	22 Jan 2004 00:44:39 -0000	1.2
+++ linkbutton.h	8 Aug 2005 15:06:15 -0000
@@ -19,12 +19,13 @@
 #define LINKBUTTON_H
 
 #include <qtoolbutton.h>
+#include "scribusapi.h"
 
 /**
   *@author Franz Schmid
   */
 
-class LinkButton : public QToolButton  
+class SCRIBUS_API LinkButton : public QToolButton  
 {
 public: 
 	LinkButton(QWidget *pa);
Index: loremipsum.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/loremipsum.h,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 loremipsum.h
--- loremipsum.h	10 Jul 2005 17:51:09 -0000	1.1.2.3
+++ loremipsum.h	8 Aug 2005 15:06:15 -0000
@@ -13,6 +13,8 @@
 #include <qvariant.h>
 #include <qdialog.h>
 
+#include "scribusapi.h"
+
 class QVBoxLayout;
 class QHBoxLayout;
 class QGridLayout;
@@ -47,7 +49,7 @@
 This helper class reads one ile
 \author Petr Vanek <petr@yarpen.cz>
  */
-class LoremParser
+class SCRIBUS_API LoremParser
 {
 	public:
 		/*! parse a XML file with given name
@@ -72,7 +74,7 @@
 };
 
 
-class LoremManager : public QDialog
+class SCRIBUS_API LoremManager : public QDialog
 {
 	Q_OBJECT
 
Index: margindialog.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/margindialog.h,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 margindialog.h
--- margindialog.h	2 Aug 2005 21:32:40 -0000	1.1.2.4
+++ margindialog.h	8 Aug 2005 15:06:15 -0000
@@ -1,6 +1,8 @@
 #ifndef MARGINDIALOG_H
 #define MARGINDIALOG_H
 
+#include "scribusapi.h"
+
 class QDialog;
 class QLayout;
 class QGroupBox;
@@ -12,7 +14,7 @@
 class MarginWidget;
 class ScribusDoc;
 
-class MarginDialog : public QDialog
+class SCRIBUS_API MarginDialog : public QDialog
 {
 	Q_OBJECT
 
Index: marginWidget.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/marginWidget.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 marginWidget.h
--- marginWidget.h	31 Jul 2005 20:58:22 -0000	1.1.2.2
+++ marginWidget.h	8 Aug 2005 15:06:15 -0000
@@ -4,13 +4,15 @@
 #include <qlayout.h>
 #include <qgroupbox.h>
 #include <qlabel.h>
+
+#include "scribusapi.h"
 #include "scribusstructs.h"
 class MSpinBox;
 
 /*! Widget for Margins setting.
 Used e.g. in "New Doc Dialog" or "Preferences".
 */
-class MarginWidget : public QGroupBox
+class SCRIBUS_API MarginWidget : public QGroupBox
 {
 	Q_OBJECT
 
Index: measurements.h
===================================================================
RCS file: /cvs/Scribus/scribus/measurements.h,v
retrieving revision 1.3.2.4
diff -u -r1.3.2.4 measurements.h
--- measurements.h	16 May 2005 12:16:25 -0000	1.3.2.4
+++ measurements.h	8 Aug 2005 15:06:15 -0000
@@ -1,6 +1,7 @@
 #ifndef MEASUREMENTS_H
 #define MEASUREMENTS_H
 
+#include "scribusapi.h"
 #include "scrpalettebase.h"
 
 class QVBoxLayout;
@@ -9,7 +10,7 @@
 class QLabel;
 class QVariant;
 
-class Measurements : public ScrPaletteBase
+class SCRIBUS_API Measurements : public ScrPaletteBase
 {
 	Q_OBJECT
 
Index: menumanager.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/menumanager.h,v
retrieving revision 1.1.2.12
diff -u -r1.1.2.12 menumanager.h
--- menumanager.h	14 May 2005 19:42:20 -0000	1.1.2.12
+++ menumanager.h	8 Aug 2005 15:06:15 -0000
@@ -22,13 +22,14 @@
 
 class QPopupMenu;
 
+#include "scribusapi.h"
 class ScrAction;
 class ScrPopupMenu;
 
 /**
 @author Craig Bradney
 */
-class MenuManager : public QObject
+class SCRIBUS_API MenuManager : public QObject
 {
 	Q_OBJECT
 public:
Index: mergedoc.h
===================================================================
RCS file: /cvs/Scribus/scribus/mergedoc.h,v
retrieving revision 1.7.2.2
diff -u -r1.7.2.2 mergedoc.h
--- mergedoc.h	20 Nov 2004 01:28:51 -0000	1.7.2.2
+++ mergedoc.h	8 Aug 2005 15:06:15 -0000
@@ -2,6 +2,7 @@
 #define MERGEDOC_H
 
 #include <qdialog.h>
+#include "scribusapi.h"
 class QPushButton;
 class QLabel;
 class QLineEdit;
@@ -17,7 +18,7 @@
 class QGridLayout;
 
 
-class MergeDoc : public QDialog
+class SCRIBUS_API MergeDoc : public QDialog
 {
 	Q_OBJECT
 
Index: missing.h
===================================================================
RCS file: /cvs/Scribus/scribus/missing.h,v
retrieving revision 1.4.2.5
diff -u -r1.4.2.5 missing.h
--- missing.h	15 Jul 2005 23:14:43 -0000	1.4.2.5
+++ missing.h	8 Aug 2005 15:06:15 -0000
@@ -8,9 +8,10 @@
 class QPushButton;
 class FontCombo;
 class ScribusDoc;
+#include "scribusapi.h"
 #include "scribusstructs.h"
 
-class MissingFont : public QDialog
+class SCRIBUS_API MissingFont : public QDialog
 {
     Q_OBJECT
 
Index: movepage.h
===================================================================
RCS file: /cvs/Scribus/scribus/movepage.h,v
retrieving revision 1.2.2.3
diff -u -r1.2.2.3 movepage.h
--- movepage.h	19 Nov 2004 22:28:58 -0000	1.2.2.3
+++ movepage.h	8 Aug 2005 15:06:15 -0000
@@ -8,7 +8,9 @@
 class QSpinBox;
 class QLayout;
 
-class MovePages : public QDialog
+#include "scribusapi.h"
+
+class SCRIBUS_API MovePages : public QDialog
 { 
     Q_OBJECT
 
Index: mpalette.h
===================================================================
RCS file: /cvs/Scribus/scribus/mpalette.h,v
retrieving revision 1.37.2.35
diff -u -r1.37.2.35 mpalette.h
--- mpalette.h	15 Jul 2005 23:14:43 -0000	1.37.2.35
+++ mpalette.h	8 Aug 2005 15:06:15 -0000
@@ -22,6 +22,8 @@
 #include <qtimer.h>
 #include <qtoolbox.h>
 #include <qpopupmenu.h>
+
+#include "scribusapi.h"
 #include "scrpalettebase.h"
 #include "mspinbox.h"
 #include "pageitem.h"
@@ -40,7 +42,7 @@
 class UserActionSniffer;
 extern bool CMSavail;
 
-class LabelButton : public QLabel
+class SCRIBUS_API LabelButton : public QLabel
 {
 	Q_OBJECT
 
@@ -65,7 +67,7 @@
 	virtual void mouseReleaseEvent(QMouseEvent *);
 };
 
-class NameWidget : public QLineEdit
+class SCRIBUS_API NameWidget : public QLineEdit
 {
 	Q_OBJECT
 
@@ -80,7 +82,7 @@
 	virtual void focusOutEvent(QFocusEvent *);
 };
 
-class Mpalette : public ScrPaletteBase
+class SCRIBUS_API Mpalette : public ScrPaletteBase
 {
 	Q_OBJECT
 
@@ -446,7 +448,7 @@
 	int idColorsItem;
 };
 
-class UserActionSniffer : public QObject
+class SCRIBUS_API UserActionSniffer : public QObject
 {
 	Q_OBJECT
 
Index: mspinbox.h
===================================================================
RCS file: /cvs/Scribus/scribus/mspinbox.h,v
retrieving revision 1.7.2.3
diff -u -r1.7.2.3 mspinbox.h
--- mspinbox.h	5 Mar 2005 15:07:30 -0000	1.7.2.3
+++ mspinbox.h	8 Aug 2005 15:06:15 -0000
@@ -19,12 +19,13 @@
 #define MSPINBOX_H
 
 #include <qspinbox.h>
+#include "scribusapi.h"
 
 /**
   *@author Franz Schmid
   */
 
-class MSpinBox : public QSpinBox  
+class SCRIBUS_API MSpinBox : public QSpinBox  
 {
 	Q_OBJECT
 	
Index: multiline.h
===================================================================
RCS file: /cvs/Scribus/scribus/multiline.h,v
retrieving revision 1.6.2.2
diff -u -r1.6.2.2 multiline.h
--- multiline.h	8 Dec 2004 15:17:25 -0000	1.6.2.2
+++ multiline.h	8 Aug 2005 15:06:15 -0000
@@ -15,6 +15,7 @@
 #include <qpixmap.h>
 #include <qlineedit.h>
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 
 #include "linecombo.h"
@@ -22,7 +23,7 @@
 
 class ScribusDoc;
 
-class MultiLine : public QDialog
+class SCRIBUS_API MultiLine : public QDialog
 {
 	Q_OBJECT
 
Index: muster.h
===================================================================
RCS file: /cvs/Scribus/scribus/muster.h,v
retrieving revision 1.3.2.11
diff -u -r1.3.2.11 muster.h
--- muster.h	10 Jul 2005 07:35:14 -0000	1.3.2.11
+++ muster.h	8 Aug 2005 15:06:15 -0000
@@ -8,10 +8,11 @@
 class QHBoxLayout;
 class QVBoxLayout;
 
+#include "scribusapi.h"
 class ScribusDoc;
 class ScribusView;
 
-class MasterPagesPalette : public QDialog
+class SCRIBUS_API MasterPagesPalette : public QDialog
 {
 	Q_OBJECT
 
Index: navigator.h
===================================================================
RCS file: /cvs/Scribus/scribus/navigator.h,v
retrieving revision 1.5.2.1
diff -u -r1.5.2.1 navigator.h
--- navigator.h	8 Dec 2004 15:17:25 -0000	1.5.2.1
+++ navigator.h	8 Aug 2005 15:06:15 -0000
@@ -20,13 +20,15 @@
 
 #include <qlabel.h>
 #include <qpixmap.h>
+
+#include "scribusapi.h"
 class ScribusView;
 
 /**
   *@author Franz Schmid
   */
 
-class Navigator : public QLabel  
+class SCRIBUS_API Navigator : public QLabel  
 {
 	Q_OBJECT
 
Index: newfile.h
===================================================================
RCS file: /cvs/Scribus/scribus/newfile.h,v
retrieving revision 1.5.2.13
diff -u -r1.5.2.13 newfile.h
--- newfile.h	31 Jul 2005 13:12:50 -0000	1.5.2.13
+++ newfile.h	8 Aug 2005 15:06:15 -0000
@@ -15,6 +15,8 @@
 #include <qtabwidget.h>
 #include <qframe.h>
 #include <qlistbox.h>
+
+#include "scribusapi.h"
 #include "mspinbox.h"
 #include "customfdialog.h"
 
@@ -24,7 +26,7 @@
 class MarginWidget;
 class PageLayouts;
 
-class NewDoc : public QDialog
+class SCRIBUS_API NewDoc : public QDialog
 {
 	Q_OBJECT
 
Index: newtemp.h
===================================================================
RCS file: /cvs/Scribus/scribus/newtemp.h,v
retrieving revision 1.2.2.2
diff -u -r1.2.2.2 newtemp.h
--- newtemp.h	8 Dec 2004 15:17:25 -0000	1.2.2.2
+++ newtemp.h	8 Aug 2005 15:06:15 -0000
@@ -7,9 +7,11 @@
 #include <qlineedit.h>
 #include <qpushbutton.h>
 #include <qcombobox.h>
+
+#include "scribusapi.h"
 class ScribusDoc;
 
-class NewTm : public QDialog
+class SCRIBUS_API NewTm : public QDialog
 {
     Q_OBJECT
 
Index: page.h
===================================================================
RCS file: /cvs/Scribus/scribus/page.h,v
retrieving revision 1.53.2.15
diff -u -r1.53.2.15 page.h
--- page.h	26 Jul 2005 23:10:13 -0000	1.53.2.15
+++ page.h	8 Aug 2005 15:06:15 -0000
@@ -22,6 +22,7 @@
 #include "qvaluelist.h"
 #include "qptrlist.h"
 
+#include "scribusapi.h"
 #include "undoobject.h"
 #include "scribusstructs.h"
 #include "pageitem.h"
@@ -32,7 +33,7 @@
 /**
   *@author Franz Schmid
   */
-class Page : public UndoObject
+class SCRIBUS_API Page : public UndoObject
 {
 public:
 	Page(double x, double y, double b, double h);
Index: pageitem.h
===================================================================
RCS file: /cvs/Scribus/scribus/pageitem.h,v
retrieving revision 1.26.2.88
diff -u -r1.26.2.88 pageitem.h
--- pageitem.h	7 Aug 2005 20:04:02 -0000	1.26.2.88
+++ pageitem.h	8 Aug 2005 15:06:15 -0000
@@ -25,6 +25,8 @@
 #include <qpixmap.h>
 #include <qvaluestack.h>
 #include <qvaluelist.h>
+
+#include "scribusapi.h"
 #include "scpainter.h"
 #include "undoobject.h"
 #include "scimage.h"
@@ -37,7 +39,7 @@
   *@author Franz Schmid
   */
 
-class PageItem : public QObject, public UndoObject
+class SCRIBUS_API PageItem : public QObject, public UndoObject
 {
 	Q_OBJECT
 
Index: pagelayout.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/pagelayout.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 pagelayout.h
--- pagelayout.h	31 Jul 2005 13:12:50 -0000	1.1.2.1
+++ pagelayout.h	8 Aug 2005 15:06:15 -0000
@@ -3,6 +3,7 @@
 
 #include <qvariant.h>
 #include <qgroupbox.h>
+#include "scribusapi.h"
 
 class QVBoxLayout;
 class QHBoxLayout;
@@ -11,7 +12,7 @@
 class QLabel;
 class QSpinBox;
 
-class PageLayouts : public QGroupBox
+class SCRIBUS_API PageLayouts : public QGroupBox
 {
 	Q_OBJECT
 
Index: pageselector.h
===================================================================
RCS file: /cvs/Scribus/scribus/pageselector.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 pageselector.h
--- pageselector.h	16 May 2005 16:11:40 -0000	1.1.2.1
+++ pageselector.h	8 Aug 2005 15:06:15 -0000
@@ -5,6 +5,7 @@
 #include <qpixmap.h>
 #include <qwidget.h>
 #include <qvalidator.h>
+#include "scribusapi.h"
 
 class QVBoxLayout;
 class QHBoxLayout;
@@ -13,7 +14,7 @@
 class QLabel;
 class QPushButton;
 
-class PageSelector : public QWidget
+class SCRIBUS_API PageSelector : public QWidget
 {
 	Q_OBJECT
 
Index: pagesize.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/pagesize.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 pagesize.h
--- pagesize.h	23 Feb 2005 21:25:53 -0000	1.1.2.1
+++ pagesize.h	8 Aug 2005 15:06:15 -0000
@@ -19,6 +19,7 @@
 #include <qmap.h>
 #include <qpair.h>
 #include <qstring.h>
+#include "scribusapi.h"
 
 struct PageSizeInfo
 {
@@ -30,7 +31,7 @@
 
 typedef QMap<QString, PageSizeInfo > PageSizeInfoMap;
 
-class PageSize
+class SCRIBUS_API PageSize
 {
 public:
 	PageSize(const QString);
Index: pdfoptions.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/pdfoptions.h,v
retrieving revision 1.1.2.8
diff -u -r1.1.2.8 pdfoptions.h
--- pdfoptions.h	28 Apr 2005 05:59:15 -0000	1.1.2.8
+++ pdfoptions.h	8 Aug 2005 15:06:15 -0000
@@ -11,9 +11,8 @@
 #include "qstring.h"
 #include "qmap.h"
 #include "qvaluelist.h"
-
-struct LPIData;
-struct PDFPresentationData;
+#include "scribusapi.h"
+#include "scribusstructs.h"
 
 /**
  * @brief PDF Options struture. Capable of verifying its self, but otherwise largely
@@ -25,7 +24,7 @@
  *
  * @sa PDFOptionsIO
  */
-class PDFOptions
+class SCRIBUS_API PDFOptions
 {
 public:
 
Index: pdfoptionsio.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/pdfoptionsio.h,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 pdfoptionsio.h
--- pdfoptionsio.h	28 Apr 2005 04:30:23 -0000	1.1.2.5
+++ pdfoptionsio.h	8 Aug 2005 15:06:15 -0000
@@ -1,6 +1,7 @@
 #ifndef PDFOPTIONSIO_H
 #define PDFOPTIONSIO_H
 
+#include "scribusapi.h"
 #include "pdfoptions.h"
 #include "qdom.h"
 
@@ -36,7 +37,7 @@
  *
  * @sa PDFOptions
  */
-class PDFOptionsIO
+class SCRIBUS_API PDFOptionsIO
 {
 public:
 	/**
Index: pdfopts.h
===================================================================
RCS file: /cvs/Scribus/scribus/pdfopts.h,v
retrieving revision 1.9.2.10
diff -u -r1.9.2.10 pdfopts.h
--- pdfopts.h	8 Jul 2005 22:26:53 -0000	1.9.2.10
+++ pdfopts.h	8 Aug 2005 15:06:16 -0000
@@ -10,6 +10,8 @@
 #include <qtooltip.h>
 #include <qmap.h>
 #include <qvaluelist.h>
+
+#include "scribusapi.h"
 #include "tabpdfoptions.h"
 
 /**
@@ -25,7 +27,7 @@
  * Most of the guts of the dialog actually come from TabPDFOptions, which
  * is also used by the preferences dialog.
  */
-class PDF_Opts : public QDialog
+class SCRIBUS_API PDF_Opts : public QDialog
 {
 	Q_OBJECT
 
Index: picsearch.h
===================================================================
RCS file: /cvs/Scribus/scribus/picsearch.h,v
retrieving revision 1.2.2.2
diff -u -r1.2.2.2 picsearch.h
--- picsearch.h	13 Jul 2005 16:03:07 -0000	1.2.2.2
+++ picsearch.h	8 Aug 2005 15:06:16 -0000
@@ -10,7 +10,9 @@
 #include <qtooltip.h>
 #include <qstringlist.h>
 
-class PicSearch : public QDialog
+#include "scribusapi.h"
+
+class SCRIBUS_API PicSearch : public QDialog
 { 
     Q_OBJECT
 
Index: picstatus.h
===================================================================
RCS file: /cvs/Scribus/scribus/picstatus.h,v
retrieving revision 1.2.2.7
diff -u -r1.2.2.7 picstatus.h
--- picstatus.h	13 Jul 2005 16:56:12 -0000	1.2.2.7
+++ picstatus.h	8 Aug 2005 15:06:16 -0000
@@ -10,11 +10,13 @@
 #include <qheader.h>
 #include <qptrlist.h>
 #include <qvaluelist.h>
+
+#include "scribusapi.h"
 class ScribusDoc;
 class ScribusView;
 class FileSearch;
 
-class PicStatus : public QDialog
+class SCRIBUS_API PicStatus : public QDialog
 { 
     Q_OBJECT
 
Index: pluginmanager.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/pluginmanager.h,v
retrieving revision 1.1.2.11
diff -u -r1.1.2.11 pluginmanager.h
--- pluginmanager.h	1 Jul 2005 15:09:42 -0000	1.1.2.11
+++ pluginmanager.h	8 Aug 2005 15:06:16 -0000
@@ -4,6 +4,8 @@
 #include <qobject.h>
 #include <qstring.h>
 #include <qmap.h>
+
+#include "scribusapi.h"
 #include "scribus.h"
 
 /**
@@ -16,7 +18,7 @@
  *
  */
 
-class PluginManager : public QObject
+class SCRIBUS_API PluginManager : public QObject
 {
 
 	Q_OBJECT
Index: polygonwidget.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/polygonwidget.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 polygonwidget.h
--- polygonwidget.h	16 Jan 2005 15:28:39 -0000	1.1.2.2
+++ polygonwidget.h	8 Aug 2005 15:06:16 -0000
@@ -10,7 +10,9 @@
 #include <qtooltip.h>
 #include <qpixmap.h>
 
-class PolygonWidget : public QWidget
+#include "scribusapi.h"
+
+class SCRIBUS_API PolygonWidget : public QWidget
 {
 	Q_OBJECT
 
Index: polyprops.h
===================================================================
RCS file: /cvs/Scribus/scribus/polyprops.h,v
retrieving revision 1.3.2.2
diff -u -r1.3.2.2 polyprops.h
--- polyprops.h	16 Jan 2005 15:28:39 -0000	1.3.2.2
+++ polyprops.h	8 Aug 2005 15:06:16 -0000
@@ -5,9 +5,11 @@
 #include <qpushbutton.h>
 #include <qlayout.h>
 #include <qpixmap.h>
+
+#include "scribusapi.h"
 class PolygonWidget;
 
-class PolygonProps : public QDialog
+class SCRIBUS_API PolygonProps : public QDialog
 {
 	Q_OBJECT
 
Index: prefs.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/prefs.h,v
retrieving revision 1.1.2.17
diff -u -r1.1.2.17 prefs.h
--- prefs.h	2 Aug 2005 23:26:35 -0000	1.1.2.17
+++ prefs.h	8 Aug 2005 15:06:16 -0000
@@ -22,6 +22,7 @@
 
 class QListView;
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 
 #include "mspinbox.h"
@@ -44,7 +45,7 @@
 
 #include "langmgr.h"
 
-class Preferences : public PrefsDialogBase
+class SCRIBUS_API Preferences : public PrefsDialogBase
 {
     	Q_OBJECT
 
Index: prefscontext.h
===================================================================
RCS file: /cvs/Scribus/scribus/prefscontext.h,v
retrieving revision 1.2.2.2
diff -u -r1.2.2.2 prefscontext.h
--- prefscontext.h	14 Jan 2005 23:40:45 -0000	1.2.2.2
+++ prefscontext.h	8 Aug 2005 15:06:16 -0000
@@ -24,12 +24,14 @@
 #include <string>
 #include <qmap.h>
 #include <qstring.h>
+
+#include "scribusapi.h"
 #include "prefstable.h"
 
 typedef QMap<QString, QString> AttributeMap;
 typedef QMap<QString, PrefsTable*> TableMap;
 
-class PrefsContext
+class SCRIBUS_API PrefsContext
 {
 private:
 	QString name;
Index: prefsdialogbase.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/prefsdialogbase.h,v
retrieving revision 1.1.2.7
diff -u -r1.1.2.7 prefsdialogbase.h
--- prefsdialogbase.h	10 Apr 2005 22:58:24 -0000	1.1.2.7
+++ prefsdialogbase.h	8 Aug 2005 15:06:16 -0000
@@ -8,6 +8,8 @@
 #include <qwidgetstack.h>
 #include <qwidget.h>
 
+#include "scribusapi.h"
+
 class QVBoxLayout;
 class QHBoxLayout;
 class QGridLayout;
@@ -15,7 +17,7 @@
 class QPushButton;
 class QLabel;
 
-class PrefsDialogBase : public QDialog
+class SCRIBUS_API PrefsDialogBase : public QDialog
 {
 	Q_OBJECT
 
Index: prefsfile.h
===================================================================
RCS file: /cvs/Scribus/scribus/prefsfile.h,v
retrieving revision 1.2.2.1
diff -u -r1.2.2.1 prefsfile.h
--- prefsfile.h	14 Jan 2005 23:40:45 -0000	1.2.2.1
+++ prefsfile.h	8 Aug 2005 15:06:16 -0000
@@ -23,11 +23,13 @@
 
 #include <qmap.h>
 #include <qtextstream.h>
+
+#include "scribusapi.h"
 #include "prefscontext.h"
 
 typedef QMap<QString, PrefsContext*> ContextMap;
 
-class PrefsFile
+class SCRIBUS_API PrefsFile
 {
 private:
 	QString prefsFilePath;
Index: prefsmanager.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/prefsmanager.h,v
retrieving revision 1.1.2.9
diff -u -r1.1.2.9 prefsmanager.h
--- prefsmanager.h	29 Jul 2005 11:26:51 -0000	1.1.2.9
+++ prefsmanager.h	8 Aug 2005 15:06:16 -0000
@@ -16,6 +16,7 @@
 
 #include <qobject.h>
 
+#include "scribusapi.h"
 #include "prefsstructs.h"
 
 class PrefsFile;
@@ -28,7 +29,7 @@
   * TODO Move prefsFile in here from scribus.cpp and stop passing it in for convert12Preferences
   * TODO Lots more :)
   */
-class PrefsManager : public QObject
+class SCRIBUS_API PrefsManager : public QObject
 {
 Q_OBJECT
 public:
Index: prefsreader.h
===================================================================
RCS file: /cvs/Scribus/scribus/prefsreader.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 prefsreader.h
--- prefsreader.h	14 Jan 2005 23:40:45 -0000	1.1.2.1
+++ prefsreader.h	8 Aug 2005 15:06:16 -0000
@@ -24,11 +24,13 @@
 #include <vector>
 #include <qstring.h>
 #include <qxml.h>
+
+#include "scribusapi.h"
 #include "prefscontext.h"
 #include "prefsfile.h"
 #include "prefstable.h"
 
-class PrefsReader : public QXmlDefaultHandler
+class SCRIBUS_API PrefsReader : public QXmlDefaultHandler
 {
 private:
 	ContextMap* aContexts;
Index: prefsstructs.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/prefsstructs.h,v
retrieving revision 1.1.2.7
diff -u -r1.1.2.7 prefsstructs.h
--- prefsstructs.h	31 Jul 2005 13:12:50 -0000	1.1.2.7
+++ prefsstructs.h	8 Aug 2005 13:22:52 -0000
@@ -7,6 +7,7 @@
 
 #include <qcolor.h>
 #include "scribusstructs.h"
+#include "pdfoptions.h"
 #include "scfonts.h"
 
 struct checkerPrefs
Index: prefstable.h
===================================================================
RCS file: /cvs/Scribus/scribus/prefstable.h,v
retrieving revision 1.2.2.2
diff -u -r1.2.2.2 prefstable.h
--- prefstable.h	18 Jun 2005 15:06:02 -0000	1.2.2.2
+++ prefstable.h	8 Aug 2005 15:06:16 -0000
@@ -27,9 +27,11 @@
 #include <qstring.h>
 #include <qstringlist.h>
 
+#include "scribusapi.h"
+
 typedef std::vector<QStringList*> Table;
 
-class PrefsTable
+class SCRIBUS_API PrefsTable
 {
 private:
  QString name;
Index: query.h
===================================================================
RCS file: /cvs/Scribus/scribus/query.h,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 query.h
--- query.h	21 Nov 2004 21:58:40 -0000	1.3.2.1
+++ query.h	8 Aug 2005 15:06:16 -0000
@@ -18,7 +18,9 @@
 class QVBoxLayout;
 class QHBoxLayout;
 
-class Query : public QDialog
+#include "scribusapi.h"
+
+class SCRIBUS_API Query : public QDialog
 {
     Q_OBJECT
 
Index: reformdoc.h
===================================================================
RCS file: /cvs/Scribus/scribus/reformdoc.h,v
retrieving revision 1.5.2.37
diff -u -r1.5.2.37 reformdoc.h
--- reformdoc.h	2 Aug 2005 21:32:40 -0000	1.5.2.37
+++ reformdoc.h	8 Aug 2005 15:06:16 -0000
@@ -13,6 +13,7 @@
 #include <qtoolbutton.h>
 #include <qcolor.h>
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 #include "prefsdialogbase.h"
 
@@ -34,7 +35,7 @@
 class MarginWidget;
 class PageLayouts;
 
-class ReformDoc : public PrefsDialogBase
+class SCRIBUS_API ReformDoc : public PrefsDialogBase
 {
 	Q_OBJECT
 
Index: rulermover.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/rulermover.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 rulermover.h
--- rulermover.h	24 Jul 2005 11:36:57 -0000	1.1.2.1
+++ rulermover.h	8 Aug 2005 15:06:16 -0000
@@ -19,9 +19,11 @@
 #define RULERMOVER_H
 
 #include <qwidget.h>
+
+#include "scribusapi.h"
 class ScribusView;
 
-class RulerMover : public QWidget
+class SCRIBUS_API RulerMover : public QWidget
 {
 	Q_OBJECT
 
Index: sccolor.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/sccolor.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 sccolor.h
--- sccolor.h	28 Jul 2005 19:12:35 -0000	1.1.2.1
+++ sccolor.h	8 Aug 2005 15:06:16 -0000
@@ -18,6 +18,7 @@
 #ifndef SCCOLOR_H
 #define SCCOLOR_H
 
+#include "scribusapi.h"
 
 #include <qcolor.h>
 class QString;
@@ -35,7 +36,7 @@
 	colorModelCMYK
 };
 
-class ScColor 
+class SCRIBUS_API ScColor 
 {
 public:
 	ScColor();
Index: scfontmetrics.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/scfontmetrics.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 scfontmetrics.h
--- scfontmetrics.h	19 Jun 2005 18:07:09 -0000	1.1.2.2
+++ scfontmetrics.h	8 Aug 2005 15:06:16 -0000
@@ -7,6 +7,7 @@
 #include FT_OUTLINE_H
 #include FT_GLYPH_H
 
+#include "scribusapi.h"
 #include "fpoint.h"
 #include "fpointarray.h"
 #include "libpdf/pdflib.h"
@@ -14,14 +15,14 @@
 class Foi;
 class Scribusdoc;
 
-int setBestEncoding(FT_Face face);
-FPointArray traceChar(FT_Face face, uint chr, int chs, double *x, double *y, bool *err);
-QPixmap FontSample(Foi * fnt, int s, QString ts, QColor back, bool force = false);
-QPixmap fontSamples(Foi * fnt, int s, QString ts, QColor back);
-bool GlyNames(Foi * fnt, QMap<uint, QString> *GList);
-bool GlyIndex(Foi * fnt, QMap<uint, PDFlib::GlNamInd> *GListInd);
-double Cwidth(ScribusDoc *currentDoc, Foi* name, QString ch, int Siz, QString ch2 = " ");
-double RealCWidth(ScribusDoc *currentDoc, Foi* name, QString ch, int Siz);
-double RealCAscent(ScribusDoc *currentDoc, Foi* name, QString ch, int Size);
-double RealCHeight(ScribusDoc *currentDoc, Foi* name, QString ch, int Size);
-double RealFHeight(ScribusDoc *currentDoc, Foi* name, int Size);
+int SCRIBUS_API setBestEncoding(FT_Face face);
+FPointArray SCRIBUS_API traceChar(FT_Face face, uint chr, int chs, double *x, double *y, bool *err);
+QPixmap SCRIBUS_API FontSample(Foi * fnt, int s, QString ts, QColor back, bool force = false);
+QPixmap SCRIBUS_API fontSamples(Foi * fnt, int s, QString ts, QColor back);
+bool SCRIBUS_API GlyNames(Foi * fnt, QMap<uint, QString> *GList);
+bool SCRIBUS_API GlyIndex(Foi * fnt, QMap<uint, PDFlib::GlNamInd> *GListInd);
+double SCRIBUS_API Cwidth(ScribusDoc *currentDoc, Foi* name, QString ch, int Siz, QString ch2 = " ");
+double SCRIBUS_API RealCWidth(ScribusDoc *currentDoc, Foi* name, QString ch, int Siz);
+double SCRIBUS_API RealCAscent(ScribusDoc *currentDoc, Foi* name, QString ch, int Size);
+double SCRIBUS_API RealCHeight(ScribusDoc *currentDoc, Foi* name, QString ch, int Size);
+double SCRIBUS_API RealFHeight(ScribusDoc *currentDoc, Foi* name, int Size);
Index: scfonts.h
===================================================================
RCS file: /cvs/Scribus/scribus/scfonts.h,v
retrieving revision 1.4.2.8
diff -u -r1.4.2.8 scfonts.h
--- scfonts.h	5 Jul 2005 06:36:03 -0000	1.4.2.8
+++ scfonts.h	8 Aug 2005 15:06:16 -0000
@@ -12,6 +12,8 @@
 #include FT_OUTLINE_H
 #include FT_GLYPH_H
 // #include <qpixmap.h>
+
+#include "scribusapi.h"
 #include "fpointarray.h"
 #include "scconfig.h"
 
@@ -40,7 +42,7 @@
 		so there are no extra cleaning-up chores to take care of.
 */
 
-class Foi
+class SCRIBUS_API Foi
 {
 	public:
 		enum FontType { TYPE0, TYPE1, TYPE3, TTF, CFF, OTF, UNKNOWN_TYPE };
@@ -111,7 +113,7 @@
    is not a major problem.
 */
 
-class SCFonts : public QDict<Foi>
+class SCRIBUS_API SCFonts : public QDict<Foi>
 {
 	public:
 		SCFonts() : QDict<Foi>(), FontPath(true)
Index: scfonts_ttf.h
===================================================================
RCS file: /cvs/Scribus/scribus/scfonts_ttf.h,v
retrieving revision 1.2.2.1
diff -u -r1.2.2.1 scfonts_ttf.h
--- scfonts_ttf.h	29 May 2005 20:19:37 -0000	1.2.2.1
+++ scfonts_ttf.h	8 Aug 2005 15:06:16 -0000
@@ -1,6 +1,7 @@
 #ifndef SCFONTS_TTF_H
 #define SCFONTS_TTF_H
 
+#include "scribusapi.h"
 #include "scfonts.h"
 
 /*
@@ -9,7 +10,7 @@
 	Implements: RealName() and EmbedFont().
 */
 
-class Foi_ttf : public Foi
+class SCRIBUS_API Foi_ttf : public Foi
 {
 	public:
 		Foi_ttf(QString scname, QString path, bool embedps) :
Index: scimage.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/scimage.h,v
retrieving revision 1.1.2.16
diff -u -r1.1.2.16 scimage.h
--- scimage.h	28 Jul 2005 19:12:35 -0000	1.1.2.16
+++ scimage.h	8 Aug 2005 15:06:16 -0000
@@ -2,6 +2,7 @@
 #define SCIMAGE_H
 
 #include "scconfig.h"
+#include "scribusapi.h"
 
 #include <setjmp.h>
 #include <cstdlib>
@@ -37,7 +38,7 @@
 	#include <tiffio.h>
 #endif
 
-class ScImage : public QImage
+class SCRIBUS_API ScImage : public QImage
 {
 public:
 	ScImage();
Index: scmenu.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/scmenu.h,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 scmenu.h
--- scmenu.h	14 May 2005 19:42:20 -0000	1.1.2.5
+++ scmenu.h	8 Aug 2005 15:06:16 -0000
@@ -21,7 +21,9 @@
 class QPopupMenu;
 class ScrAction;
 
-class ScrPopupMenu : public QObject
+#include "scribusapi.h"
+
+class SCRIBUS_API ScrPopupMenu : public QObject
 {
 	Q_OBJECT
 	public:
Index: scpainter.h
===================================================================
RCS file: /cvs/Scribus/scribus/scpainter.h,v
retrieving revision 1.7.2.8
diff -u -r1.7.2.8 scpainter.h
--- scpainter.h	5 Jul 2005 05:42:20 -0000	1.7.2.8
+++ scpainter.h	8 Aug 2005 15:06:16 -0000
@@ -29,6 +29,8 @@
 #include <qvaluestack.h>
 #include <qcolor.h>
 #include <qfont.h>
+
+#include "scribusapi.h"
 #include "fpoint.h"
 #include "fpointarray.h"
 #include "vgradient.h"
@@ -52,7 +54,7 @@
 struct _ArtSVP;
 struct _ArtGradientStop;
 
-class ScPainter
+class SCRIBUS_API ScPainter
 {
 public:
 	ScPainter( QPaintDevice *target, unsigned int w = 0, unsigned int h = 0, unsigned int x = 0, unsigned int y = 0 );
Index: scpaths.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/scpaths.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 scpaths.h
--- scpaths.h	6 Jul 2005 20:07:16 -0000	1.1.2.2
+++ scpaths.h	8 Aug 2005 15:06:17 -0000
@@ -2,8 +2,10 @@
 #define SCPATHS_H
 
 #include "qstring.h"
+#include "qstringlist.h"
+#include "scribusapi.h"
 
-class ScPaths
+class SCRIBUS_API ScPaths
 {
 public:
 	/**
Index: scpreview.h
===================================================================
RCS file: /cvs/Scribus/scribus/scpreview.h,v
retrieving revision 1.5.2.4
diff -u -r1.5.2.4 scpreview.h
--- scpreview.h	28 Jul 2005 19:12:35 -0000	1.5.2.4
+++ scpreview.h	8 Aug 2005 15:06:17 -0000
@@ -1,6 +1,7 @@
 #ifndef SCPREVIEW_H
 #define SCPREVIEW_H
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 #include "scpainter.h"
 
@@ -8,7 +9,7 @@
 class ScColor;
 class PrefsManager;
 
-class ScPreview
+class SCRIBUS_API ScPreview
 {
 public:
 	ScPreview();
Index: scraction.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/scraction.h,v
retrieving revision 1.1.2.16
diff -u -r1.1.2.16 scraction.h
--- scraction.h	9 Jun 2005 23:28:05 -0000	1.1.2.16
+++ scraction.h	8 Aug 2005 15:06:17 -0000
@@ -17,12 +17,12 @@
 #define SCRACTION_H
 
 #include <qaction.h>
-
+#include "scribusapi.h"
 
 /**
 @author Craig Bradney
 */
-class ScrAction : public QAction
+class SCRIBUS_API ScrAction : public QAction
 {
 	Q_OBJECT
 
Index: scrap.h
===================================================================
RCS file: /cvs/Scribus/scribus/scrap.h,v
retrieving revision 1.10.2.8
diff -u -r1.10.2.8 scrap.h
--- scrap.h	15 Jul 2005 23:14:43 -0000	1.10.2.8
+++ scrap.h	8 Aug 2005 15:06:17 -0000
@@ -17,10 +17,12 @@
 #include <qtooltip.h>
 #include <qpixmap.h>
 #include <qdragobject.h>
+
+#include "scribusapi.h"
 #include "scrpalettebase.h"
 #include "scribusstructs.h"
 
-class BibView : public QIconView
+class SCRIBUS_API BibView : public QIconView
 {
 	Q_OBJECT
 
@@ -49,7 +51,7 @@
 	virtual QDragObject *dragObject();
 };
 
-class Biblio : public ScrPaletteBase
+class SCRIBUS_API Biblio : public ScrPaletteBase
 {
 	Q_OBJECT
 
Index: scribus.h
===================================================================
RCS file: /cvs/Scribus/scribus/scribus.h,v
retrieving revision 1.60.2.128
diff -u -r1.60.2.128 scribus.h
--- scribus.h	6 Aug 2005 22:57:38 -0000	1.60.2.128
+++ scribus.h	8 Aug 2005 15:06:12 -0000
@@ -51,6 +51,7 @@
 #include <qprocess.h>
 
 // application specific includes
+#include "scribusapi.h"
 #include "scribusview.h"
 #include "scribusdoc.h"
 #include "scribuswin.h"
@@ -96,7 +97,7 @@
   * and statusbar. For the main view, an instance of class ScribusView is
   * created which creates your view.
   */
-class ScribusApp : public QMainWindow, public UndoObject
+class SCRIBUS_API ScribusApp : public QMainWindow, public UndoObject
 {
 	Q_OBJECT
 
Index: scribusapp.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/scribusapp.h,v
retrieving revision 1.1.2.7
diff -u -r1.1.2.7 scribusapp.h
--- scribusapp.h	15 Jul 2005 23:14:43 -0000	1.1.2.7
+++ scribusapp.h	8 Aug 2005 15:06:17 -0000
@@ -18,9 +18,10 @@
 #include <qapplication.h>
 #include <qstring.h>
 
+#include "scribusapi.h"
 class ScribusApp;
 
-class ScribusQApp : public QApplication
+class SCRIBUS_API ScribusQApp : public QApplication
 {
 	Q_OBJECT
 
Index: scribusdoc.h
===================================================================
RCS file: /cvs/Scribus/scribus/scribusdoc.h,v
retrieving revision 1.49.2.67
diff -u -r1.49.2.67 scribusdoc.h
--- scribusdoc.h	5 Aug 2005 20:44:23 -0000	1.49.2.67
+++ scribusdoc.h	8 Aug 2005 15:06:17 -0000
@@ -33,6 +33,7 @@
 #include <qstringlist.h>
 #include <qtimer.h>
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 #include "prefsstructs.h"
 #include "documentinformation.h"
@@ -54,7 +55,7 @@
   * the Document Class
   */
 
-class ScribusDoc : public QObject, public UndoObject
+class SCRIBUS_API ScribusDoc : public QObject, public UndoObject
 {
 public:
 	ScribusDoc();
Index: scribusstructs.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/scribusstructs.h,v
retrieving revision 1.1.2.77
diff -u -r1.1.2.77 scribusstructs.h
--- scribusstructs.h	4 Aug 2005 17:53:26 -0000	1.1.2.77
+++ scribusstructs.h	8 Aug 2005 13:21:53 -0000
@@ -18,7 +18,6 @@
 #include "vgradient.h"
 #include "pageitem.h"
 #include "scraction.h"
-#include "pdfoptions.h"
 
 /* Struktur fuer Pageitem Text */
 struct ScText
Index: scribusview.h
===================================================================
RCS file: /cvs/Scribus/scribus/scribusview.h,v
retrieving revision 1.14.2.68
diff -u -r1.14.2.68 scribusview.h
--- scribusview.h	6 Aug 2005 10:33:46 -0000	1.14.2.68
+++ scribusview.h	8 Aug 2005 15:06:12 -0000
@@ -31,6 +31,7 @@
 #include <qprogressdialog.h>
 #include <qspinbox.h>
 // application specific includes
+#include "scribusapi.h"
 #include "scribusdoc.h"
 #include "scribusstructs.h"
 #include "scpainter.h"
@@ -41,14 +42,13 @@
 class RulerMover;
 #include "mspinbox.h"
 #include "pageselector.h"
-
-extern QPixmap loadIcon(QString nam);
+#include "util.h"
 
 /**
  * This class provides an incomplete base for your application view.
  */
 
-class ScribusView : public QScrollView
+class SCRIBUS_API ScribusView : public QScrollView
 {
 	Q_OBJECT
 
Index: scribuswin.h
===================================================================
RCS file: /cvs/Scribus/scribus/scribuswin.h,v
retrieving revision 1.4.2.5
diff -u -r1.4.2.5 scribuswin.h
--- scribuswin.h	28 Jul 2005 21:38:57 -0000	1.4.2.5
+++ scribuswin.h	8 Aug 2005 15:06:12 -0000
@@ -22,14 +22,15 @@
 #include <qmessagebox.h>
 #include <qlayout.h>
 #include <qframe.h>
-#include "scribusview.h"
+class ScribusView;
 class ScribusDoc;
+#include "scribusapi.h"
 #include "muster.h"
 /**
   *@author Franz Schmid
   */
 
-class ScribusWin : public QMainWindow
+class SCRIBUS_API ScribusWin : public QMainWindow
 {
 	Q_OBJECT
 
Index: scribusXml.h
===================================================================
RCS file: /cvs/Scribus/scribus/scribusXml.h,v
retrieving revision 1.12.2.12
diff -u -r1.12.2.12 scribusXml.h
--- scribusXml.h	29 Jul 2005 11:26:51 -0000	1.12.2.12
+++ scribusXml.h	8 Aug 2005 15:06:17 -0000
@@ -9,6 +9,7 @@
 #ifndef _SCRIBUS_CONFIG_
 #define _SCRIBUS_CONFIG_
 
+#include "scribusapi.h"
 #include "scribusview.h"
 #include <qvaluelist.h>
 #include <qdom.h>
@@ -16,7 +17,7 @@
 
 class PrefsManager;
 
-class ScriXmlDoc : public QObject
+class SCRIBUS_API ScriXmlDoc : public QObject
 {
 Q_OBJECT
 public:
Index: scrpalettebase.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/scrpalettebase.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 scrpalettebase.h
--- scrpalettebase.h	22 Feb 2005 10:50:28 -0000	1.1.2.1
+++ scrpalettebase.h	8 Aug 2005 15:06:17 -0000
@@ -23,9 +23,10 @@
 #include <qdialog.h>
 #include <qkeysequence.h>
 
+#include "scribusapi.h"
 class PrefsContext;
 
-class ScrPaletteBase : public QDialog
+class SCRIBUS_API ScrPaletteBase : public QDialog
 {
 	Q_OBJECT
 
Index: search.h
===================================================================
RCS file: /cvs/Scribus/scribus/search.h,v
retrieving revision 1.6.2.4
diff -u -r1.6.2.4 search.h
--- search.h	15 Jul 2005 23:14:45 -0000	1.6.2.4
+++ search.h	8 Aug 2005 15:06:17 -0000
@@ -4,6 +4,7 @@
 #include <qvariant.h>
 #include <qdialog.h>
 
+#include "scribusapi.h"
 #include "scribusstructs.h"
 class QVBoxLayout;
 class QHBoxLayout;
@@ -23,7 +24,7 @@
 class ScribusDoc;
 class PageItem;
 
-class SearchReplace : public QDialog
+class SCRIBUS_API SearchReplace : public QDialog
 {
 	Q_OBJECT
 
Index: seiten.h
===================================================================
RCS file: /cvs/Scribus/scribus/seiten.h,v
retrieving revision 1.4.2.6
diff -u -r1.4.2.6 seiten.h
--- seiten.h	16 May 2005 11:57:15 -0000	1.4.2.6
+++ seiten.h	8 Aug 2005 15:06:17 -0000
@@ -22,10 +22,12 @@
 #include <qdragobject.h>
 #include <qevent.h>
 #include <qsplitter.h>
+
+#include "scribusapi.h"
 #include "scrpalettebase.h"
 #include "scribusview.h"
 
-class SeDrag : public QStoredDrag
+class SCRIBUS_API SeDrag : public QStoredDrag
 {
 public:
     SeDrag( QString s, QWidget * parent = 0, const char * name = 0 );
@@ -35,7 +37,7 @@
     static bool decode( QDropEvent* e, QString& s );
 };
 
-class SeItem : public QTableItem
+class SCRIBUS_API SeItem : public QTableItem
 {
 public:
 	SeItem(QTable* parent, QString text, QPixmap Pix, bool ss);
@@ -44,7 +46,7 @@
 	bool Side;
 };
 
-class SeList : public QListBox
+class SCRIBUS_API SeList : public QListBox
 {
     Q_OBJECT
 
@@ -68,7 +70,7 @@
 	void mouseMoveEvent(QMouseEvent* e);
 };
 
-class SeView : public QTable
+class SCRIBUS_API SeView : public QTable
 {
     Q_OBJECT
 
@@ -104,7 +106,7 @@
 	virtual void contentsMouseMoveEvent(QMouseEvent* e);
 };
 
-class TrashBin : public QLabel
+class SCRIBUS_API TrashBin : public QLabel
 {
     Q_OBJECT
 
@@ -122,7 +124,7 @@
 	void DelMaster(QString);
 };
 
-class SeitenPal : public ScrPaletteBase
+class SCRIBUS_API SeitenPal : public ScrPaletteBase
 { 
     Q_OBJECT
 
Index: selfield.h
===================================================================
RCS file: /cvs/Scribus/scribus/selfield.h,v
retrieving revision 1.2.2.1
diff -u -r1.2.2.1 selfield.h
--- selfield.h	15 May 2005 10:30:41 -0000	1.2.2.1
+++ selfield.h	8 Aug 2005 15:06:17 -0000
@@ -7,10 +7,12 @@
 #include <qpushbutton.h>
 #include <qlayout.h>
 #include <qtooltip.h>
+
+#include "scribusapi.h"
 #include "pageitem.h"
 #include "scribusview.h"
 
-class SelectFields : public QDialog
+class SCRIBUS_API SelectFields : public QDialog
 {
 	Q_OBJECT
 
Index: serializer.h
===================================================================
RCS file: /cvs/Scribus/scribus/serializer.h,v
retrieving revision 1.4
diff -u -r1.4 serializer.h
--- serializer.h	5 Jun 2003 22:06:14 -0000	1.4
+++ serializer.h	8 Aug 2005 15:06:17 -0000
@@ -19,12 +19,13 @@
 #define SERIALIZER_H
 
 #include <qstring.h>
+#include "scribusapi.h"
 #include "scribusview.h"
 /**
   *@author Franz Schmid
   */
 
-class Serializer {
+class SCRIBUS_API Serializer {
 public: 
 	Serializer(QString name);
 	~Serializer() {};
Index: shadebutton.h
===================================================================
RCS file: /cvs/Scribus/scribus/shadebutton.h,v
retrieving revision 1.1
diff -u -r1.1 shadebutton.h
--- shadebutton.h	25 Jan 2004 22:20:27 -0000	1.1
+++ shadebutton.h	8 Aug 2005 15:06:17 -0000
@@ -3,8 +3,9 @@
 
 #include <qtoolbutton.h>
 #include <qpopupmenu.h>
+#include "scribusapi.h"
 
-class ShadeButton : public QToolButton
+class SCRIBUS_API ShadeButton : public QToolButton
 {
 
 Q_OBJECT
Index: spalette.h
===================================================================
RCS file: /cvs/Scribus/scribus/spalette.h,v
retrieving revision 1.4.2.1
diff -u -r1.4.2.1 spalette.h
--- spalette.h	23 Nov 2004 00:09:17 -0000	1.4.2.1
+++ spalette.h	8 Aug 2005 15:06:17 -0000
@@ -20,13 +20,14 @@
 
 #include <qcombobox.h>
 #include <qlayout.h>
+#include "scribusapi.h"
 class ScribusDoc;
 
 /**
   *@author Franz Schmid
   */
 
-class Spalette : public QComboBox  
+class SCRIBUS_API Spalette : public QComboBox  
 {
 	Q_OBJECT
 
Index: splash.h
===================================================================
RCS file: /cvs/Scribus/scribus/splash.h,v
retrieving revision 1.2
diff -u -r1.2 splash.h
--- splash.h	22 Jan 2004 00:44:39 -0000	1.2
+++ splash.h	8 Aug 2005 15:06:17 -0000
@@ -3,8 +3,9 @@
 
 #include <qpixmap.h>
 #include <qwidget.h>
+#include "scribusapi.h"
 
-class SplashScreen : public QWidget
+class SCRIBUS_API SplashScreen : public QWidget
 {
 public:
 	SplashScreen();
Index: story.h
===================================================================
RCS file: /cvs/Scribus/scribus/story.h,v
retrieving revision 1.27.2.26
diff -u -r1.27.2.26 story.h
--- story.h	15 Jul 2005 23:14:45 -0000	1.27.2.26
+++ story.h	8 Aug 2005 15:06:17 -0000
@@ -34,6 +34,8 @@
 #include <qlayout.h>
 #include <qsplitter.h>
 #include <qcheckbox.h>
+
+#include "scribusapi.h"
 #include "pageitem.h"
 #include "mspinbox.h"
 #include "spalette.h"
@@ -67,7 +69,7 @@
 			PageItem* cembedded;
 		   };
 
-class SEditor : public QTextEdit
+class SCRIBUS_API SEditor : public QTextEdit
 {
 	Q_OBJECT
 
@@ -147,7 +149,7 @@
 	void PasteAvail();
 };
 
-class SideBar : public QLabel
+class SCRIBUS_API SideBar : public QLabel
 {
 	Q_OBJECT
 
@@ -179,7 +181,7 @@
 	void editStyles();
 };
 
-class SToolBColorF : public QToolBar
+class SCRIBUS_API SToolBColorF : public QToolBar
 {
 	Q_OBJECT
 
@@ -201,7 +203,7 @@
 	void NewColor(int, int);
 };
 
-class SToolBColorS : public QToolBar
+class SCRIBUS_API SToolBColorS : public QToolBar
 {
 	Q_OBJECT
 
@@ -223,7 +225,7 @@
 	void NewColor(int, int);
 };
 
-class SToolBStyle : public QToolBar
+class SCRIBUS_API SToolBStyle : public QToolBar
 {
 	Q_OBJECT
 
@@ -257,7 +259,7 @@
 	void newStyle(int);
 };
 
-class SToolBAlign : public QToolBar
+class SCRIBUS_API SToolBAlign : public QToolBar
 {
 	Q_OBJECT
 
@@ -277,7 +279,7 @@
 	void newStyle(int);
 };
 
-class SToolBFont : public QToolBar
+class SCRIBUS_API SToolBFont : public QToolBar
 {
 	Q_OBJECT
 
@@ -306,7 +308,7 @@
 	void NewScaleV(int);
 };
 
-class StoryEditor : public QMainWindow
+class SCRIBUS_API StoryEditor : public QMainWindow
 {
 	Q_OBJECT
 
Index: styleselect.h
===================================================================
RCS file: /cvs/Scribus/scribus/styleselect.h,v
retrieving revision 1.2.2.10
diff -u -r1.2.2.10 styleselect.h
--- styleselect.h	12 Jun 2005 16:51:18 -0000	1.2.2.10
+++ styleselect.h	8 Aug 2005 15:06:17 -0000
@@ -8,7 +8,9 @@
 class QLabel;
 class QPopupMenu;
 
-class StrikeValues : public QGroupBox
+#include "scribusapi.h"
+
+class SCRIBUS_API StrikeValues : public QGroupBox
 {
     Q_OBJECT
 
@@ -27,7 +29,7 @@
 	QGridLayout* group1Layout;
 };
 
-class UnderlineValues : public QGroupBox
+class SCRIBUS_API UnderlineValues : public QGroupBox
 {
     Q_OBJECT
 
@@ -46,7 +48,7 @@
 	QGridLayout* group1Layout;
 };
 
-class OutlineValues : public QGroupBox
+class SCRIBUS_API OutlineValues : public QGroupBox
 {
     Q_OBJECT
 
@@ -63,7 +65,7 @@
 	QGridLayout* group1Layout;
 };
 
-class ShadowValues : public QGroupBox
+class SCRIBUS_API ShadowValues : public QGroupBox
 {
     Q_OBJECT
 
@@ -82,7 +84,7 @@
 	QGridLayout* group1Layout;
 };
 
-class StyleSelect : public QWidget
+class SCRIBUS_API StyleSelect : public QWidget
 {
 
 	Q_OBJECT
Index: tabcheckdoc.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/tabcheckdoc.h,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 tabcheckdoc.h
--- tabcheckdoc.h	15 Jul 2005 23:14:45 -0000	1.1.2.5
+++ tabcheckdoc.h	8 Aug 2005 15:06:17 -0000
@@ -4,6 +4,7 @@
 #include <qvariant.h>
 #include <qwidget.h>
 
+#include "scribusapi.h"
 #include "prefsstructs.h"
 class QVBoxLayout;
 class QHBoxLayout;
@@ -14,7 +15,7 @@
 class QSpinBox;
 class QPushButton;
 
-class TabCheckDoc : public QWidget
+class SCRIBUS_API TabCheckDoc : public QWidget
 {
 	Q_OBJECT
 
Index: tabguides.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/tabguides.h,v
retrieving revision 1.1.2.8
diff -u -r1.1.2.8 tabguides.h
--- tabguides.h	4 Apr 2005 22:35:58 -0000	1.1.2.8
+++ tabguides.h	8 Aug 2005 15:06:17 -0000
@@ -1,6 +1,8 @@
 #ifndef TABGUIDES_H
 #define TABGUIDES_H
 
+#include "scribusapi.h"
+
 #include <qvariant.h>
 #include <qwidget.h>
 class QGridLayout;
@@ -16,7 +18,7 @@
 class QCheckBox;
 class QColor;
 
-class TabGuides : public QWidget
+class SCRIBUS_API TabGuides : public QWidget
 {
 	Q_OBJECT
 
Index: tabmanager.h
===================================================================
RCS file: /cvs/Scribus/scribus/tabmanager.h,v
retrieving revision 1.5.2.4
diff -u -r1.5.2.4 tabmanager.h
--- tabmanager.h	28 May 2005 16:15:19 -0000	1.5.2.4
+++ tabmanager.h	8 Aug 2005 15:06:17 -0000
@@ -4,6 +4,8 @@
 #include <qvariant.h>
 #include <qdialog.h>
 #include <qvaluelist.h>
+
+#include "scribusapi.h"
 #include "pageitem.h"
 
 class QVBoxLayout;
@@ -11,7 +13,7 @@
 class QPushButton;
 class Tabruler;
 
-class TabManager : public QDialog
+class SCRIBUS_API TabManager : public QDialog
 {
 	Q_OBJECT
 
Index: tabpdfoptions.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/tabpdfoptions.h,v
retrieving revision 1.1.2.6
diff -u -r1.1.2.6 tabpdfoptions.h
--- tabpdfoptions.h	21 Apr 2005 08:27:03 -0000	1.1.2.6
+++ tabpdfoptions.h	8 Aug 2005 15:06:17 -0000
@@ -1,5 +1,6 @@
 #ifndef TABPDF_OPTS_H
 #define TABPDF_OPTS_H
+
 #include <qtabwidget.h>
 #include <qwidget.h>
 #include <qlayout.h>
@@ -19,12 +20,14 @@
 #include <qtoolbutton.h>
 #include <qlineedit.h>
 #include <qlabel.h>
+
+#include "scribusapi.h"
 #include "bookmwin.h"
 #include "mspinbox.h"
 
 class PDFOptions;
 
-class TabPDFOptions : public QTabWidget
+class SCRIBUS_API TabPDFOptions : public QTabWidget
 {
 	Q_OBJECT
 
Index: tabruler.h
===================================================================
RCS file: /cvs/Scribus/scribus/tabruler.h,v
retrieving revision 1.2.2.8
diff -u -r1.2.2.8 tabruler.h
--- tabruler.h	6 Jun 2005 10:13:58 -0000	1.2.2.8
+++ tabruler.h	8 Aug 2005 15:06:17 -0000
@@ -4,6 +4,7 @@
 #include <qvariant.h>
 #include <qwidget.h>
 
+#include "scribusapi.h"
 #include "pageitem.h"
 
 class QVBoxLayout;
@@ -15,7 +16,7 @@
 class MSpinBox;
 class QToolButton;
 
-class RulerT : public QWidget
+class SCRIBUS_API RulerT : public QWidget
 {
 	Q_OBJECT
 
@@ -66,7 +67,7 @@
 	double iter, iter2;
 };
 
-class Tabruler : public QWidget
+class SCRIBUS_API Tabruler : public QWidget
 {
 	Q_OBJECT
 
Index: tabtools.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/tabtools.h,v
retrieving revision 1.1.2.10
diff -u -r1.1.2.10 tabtools.h
--- tabtools.h	15 Jul 2005 23:14:45 -0000	1.1.2.10
+++ tabtools.h	8 Aug 2005 15:06:17 -0000
@@ -11,6 +11,8 @@
 #include <qcheckbox.h>
 #include <qradiobutton.h>
 #include <qwidgetstack.h>
+
+#include "scribusapi.h"
 #include "scfonts.h"
 class LinkButton;
 class QSpinBox;
@@ -21,7 +23,7 @@
 class LineCombo;
 class ScribusDoc;
 
-class TabTools : public QWidget
+class SCRIBUS_API TabTools : public QWidget
 {
 	Q_OBJECT
 
Index: tabtypography.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/tabtypography.h,v
retrieving revision 1.1.2.11
diff -u -r1.1.2.11 tabtypography.h
--- tabtypography.h	27 May 2005 09:02:23 -0000	1.1.2.11
+++ tabtypography.h	8 Aug 2005 15:06:17 -0000
@@ -3,13 +3,14 @@
 
 #include <qvariant.h>
 #include <qwidget.h>
+#include "scribusapi.h"
 class QGridLayout;
 class QGroupBox;
 class QLabel;
 class MSpinBox;
 class QSpinBox;
 
-class TabTypograpy : public QWidget
+class SCRIBUS_API TabTypograpy : public QWidget
 {
 	Q_OBJECT
 
Index: tocgenerator.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/tocgenerator.h,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 tocgenerator.h
--- tocgenerator.h	13 Jun 2005 19:36:09 -0000	1.1.2.2
+++ tocgenerator.h	8 Aug 2005 15:06:17 -0000
@@ -17,13 +17,14 @@
 
 #include <qobject.h>
 
+#include "scribusapi.h"
 class ScribusDoc;
 class PageItem;
 
 /**
 @author Craig Bradney
 */
-class TOCGenerator : public QObject
+class SCRIBUS_API TOCGenerator : public QObject
 {
 	Q_OBJECT
 	public:
Index: tree.h
===================================================================
RCS file: /cvs/Scribus/scribus/tree.h,v
retrieving revision 1.9.2.10
diff -u -r1.9.2.10 tree.h
--- tree.h	16 May 2005 11:50:11 -0000	1.9.2.10
+++ tree.h	8 Aug 2005 15:06:18 -0000
@@ -13,6 +13,7 @@
 #include <qvaluelist.h>
 #include <qpixmap.h>
 
+#include "scribusapi.h"
 #include "scrpalettebase.h"
 
 class QVBoxLayout;
@@ -24,7 +25,7 @@
 class ScribusDoc;
 class PageItem;
 
-class Tree : public ScrPaletteBase
+class SCRIBUS_API Tree : public ScrPaletteBase
 {
 	Q_OBJECT
 
Index: undogui.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/undogui.h,v
retrieving revision 1.1.2.17
diff -u -r1.1.2.17 undogui.h
--- undogui.h	16 May 2005 16:11:41 -0000	1.1.2.17
+++ undogui.h	8 Aug 2005 15:06:18 -0000
@@ -21,6 +21,7 @@
 #ifndef UNDOGUI_H
 #define UNDOGUI_H
 
+#include "scribusapi.h"
 #include "undoobject.h"
 #include "undostate.h"
 #include <vector>
@@ -51,7 +52,7 @@
  * @author Riku Leino  tsoots@gmail.com
  * @date December 2004
  */
-class UndoGui : public QWidget
+class SCRIBUS_API UndoGui : public QWidget
 {
 	Q_OBJECT
 
@@ -132,7 +133,7 @@
  * @author Riku Leino tsoots@gmail.com
  * @date December 2004
  */
-class UndoWidget : public UndoGui
+class SCRIBUS_API UndoWidget : public UndoGui
 {
 	Q_OBJECT
 
@@ -238,7 +239,7 @@
  * @author Riku Leino tsoots@gmail.com
  * @date December 2004
  */
-class UndoPalette : public UndoGui
+class SCRIBUS_API UndoPalette : public UndoGui
 {
 	Q_OBJECT
 
Index: undomanager.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/undomanager.h,v
retrieving revision 1.1.2.62
diff -u -r1.1.2.62 undomanager.h
--- undomanager.h	21 May 2005 13:01:26 -0000	1.1.2.62
+++ undomanager.h	8 Aug 2005 15:06:18 -0000
@@ -26,6 +26,8 @@
 #include <qobject.h>
 #include <qpixmap.h>
 #include <qstring.h>
+
+#include "scribusapi.h"
 #include "undostate.h"
 #include "undoobject.h"
 
@@ -54,7 +56,7 @@
  * @author Riku Leino tsoots@gmail.com
  * @date December 2004
  */
-class UndoManager : public QObject
+class SCRIBUS_API UndoManager : public QObject
 {
 	Q_OBJECT
 
Index: undoobject.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/undoobject.h,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 undoobject.h
--- undoobject.h	10 Mar 2005 12:40:50 -0000	1.1.2.3
+++ undoobject.h	8 Aug 2005 15:06:18 -0000
@@ -23,6 +23,8 @@
 
 #include <qstring.h>
 #include <qpixmap.h>
+
+#include "scribusapi.h"
 #include "undostate.h"
 
 /**
@@ -46,7 +48,7 @@
  * @author Riku Leino tsoots@gmail.com
  * @date December 2004
  */
-class UndoObject
+class SCRIBUS_API UndoObject
 {
 private:
 	/** @brief id number to be used with the next UndoObject */
@@ -124,7 +126,7 @@
 	virtual void restore(UndoState* state, bool isUndo) = 0;
 };
 
-class DummyUndoObject : public UndoObject
+class SCRIBUS_API DummyUndoObject : public UndoObject
 {
 public:
 	DummyUndoObject() {};
Index: undostate.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/undostate.h,v
retrieving revision 1.1.2.7
diff -u -r1.1.2.7 undostate.h
--- undostate.h	15 Feb 2005 21:36:17 -0000	1.1.2.7
+++ undostate.h	8 Aug 2005 15:06:18 -0000
@@ -24,6 +24,8 @@
 #include <qmap.h>
 #include <qpixmap.h>
 #include <qstring.h>
+
+#include "scribusapi.h"
 class PageItem;
 
 /**
@@ -41,7 +43,7 @@
  * @author Riku Leino tsoots@gmail.com
  * @date December 2004
  */
-class UndoState
+class SCRIBUS_API UndoState
 {
 private:
 	/** @brief Name of the state (action) (f.e. Move object) */
@@ -110,7 +112,7 @@
  * @author Riku Leino tsoots@gmail.com
  * @date December 2004
  */
-class SimpleState : public UndoState
+class SCRIBUS_API SimpleState : public UndoState
 {
 private:
 	/** @brief QMap to store key-value pairs */
Index: util.h
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/util.h,v
retrieving revision 1.1.2.9
diff -u -r1.1.2.9 util.h
--- util.h	4 Aug 2005 22:53:32 -0000	1.1.2.9
+++ util.h	8 Aug 2005 15:09:16 -0000
@@ -12,6 +12,7 @@
 #include <qpoint.h>
 #include <qdom.h>
 
+#include "scribusapi.h"
 #include <libpdf/pdflib.h>
 
 class ScribusDoc;
@@ -21,54 +22,53 @@
 class PageItem;
 class FPointArray;
 struct Layer;
-class FPointArray;
 class Foi;
 
-QColor SetColor(ScribusDoc *currentDoc, QString color, int shad);
-void GetItemProps(bool newVersion, QDomElement *obj, struct CopyPasteBuffer *OB);
-QStringList sortQStringList(QStringList aList);
-void ReOrderText(ScribusDoc *currentDoc, ScribusView *view);
-void WordAndPara(PageItem *currItem, int *w, int *p, int *c, int *wN, int *pN, int *cN);
-void CopyPageItem(struct CopyPasteBuffer *Buffer, PageItem *currItem);
-bool overwrite(QWidget *parent, QString filename);
-FPoint getMaxClipF(FPointArray* Clip);
-FPoint getMinClipF(FPointArray* Clip);
-QString Path2Relative(QString Path);
-QPixmap LoadPDF(QString fn, int Page, int Size, int *w, int *h);
-QByteArray ComputeMD5Sum(QByteArray *in);
-char *toHex( uchar u );
-QString String2Hex(QString *in, bool lang = true);
-QString CompressStr(QString *in);
-void Level2Layer(ScribusDoc *currentDoc, struct Layer *ll, int Level);
+QColor SCRIBUS_API SetColor(ScribusDoc *currentDoc, QString color, int shad);
+void SCRIBUS_API GetItemProps(bool newVersion, QDomElement *obj, struct CopyPasteBuffer *OB);
+QStringList SCRIBUS_API sortQStringList(QStringList aList);
+void SCRIBUS_API ReOrderText(ScribusDoc *currentDoc, ScribusView *view);
+void SCRIBUS_API WordAndPara(PageItem *currItem, int *w, int *p, int *c, int *wN, int *pN, int *cN);
+void SCRIBUS_API CopyPageItem(struct CopyPasteBuffer *Buffer, PageItem *currItem);
+bool SCRIBUS_API overwrite(QWidget *parent, QString filename);
+FPoint SCRIBUS_API getMaxClipF(FPointArray* Clip);
+FPoint SCRIBUS_API getMinClipF(FPointArray* Clip);
+QString SCRIBUS_API Path2Relative(QString Path);
+QPixmap SCRIBUS_API LoadPDF(QString fn, int Page, int Size, int *w, int *h);
+QByteArray SCRIBUS_API ComputeMD5Sum(QByteArray *in);
+char SCRIBUS_API *toHex( uchar u );
+QString SCRIBUS_API String2Hex(QString *in, bool lang = true);
+QString SCRIBUS_API CompressStr(QString *in);
+void SCRIBUS_API Level2Layer(ScribusDoc *currentDoc, struct Layer *ll, int Level);
 //int Layer2Level(ScribusDoc *currentDoc, int LayerNr);
-void BezierPoints(QPointArray *ar, QPoint n1, QPoint n2, QPoint n3, QPoint n4);
-double xy2Deg(double x, double y);
-QPointArray FlattenPath(FPointArray ina, QValueList<uint> &Segs);
-QPointArray RegularPolygon(double w, double h, uint c, bool star, double factor, double rota);
-FPointArray RegularPolygonF(double w, double h, uint c, bool star, double factor, double rota);
-QPixmap * getSmallPixmap(QColor rgb);
-QPixmap * getWidePixmap(QColor rgb);
-QPixmap loadIcon(QString nam);
-uint getDouble(QString in, bool raw);
-bool loadText(QString nam, QString *Buffer);
-double QStodouble(QString in);
-int QStoInt(QString in);
-QString GetAttr(QDomElement *el, QString at, QString def="0");
-QImage ProofImage(QImage *Im);
-int System(const QStringList & args);
-int callGS(const QStringList& args_in, const QString device="");
-int callGS(const QString& args_in, const QString device="");
+void SCRIBUS_API BezierPoints(QPointArray *ar, QPoint n1, QPoint n2, QPoint n3, QPoint n4);
+double SCRIBUS_API xy2Deg(double x, double y);
+QPointArray SCRIBUS_API FlattenPath(FPointArray ina, QValueList<uint> &Segs);
+QPointArray SCRIBUS_API RegularPolygon(double w, double h, uint c, bool star, double factor, double rota);
+FPointArray SCRIBUS_API RegularPolygonF(double w, double h, uint c, bool star, double factor, double rota);
+QPixmap SCRIBUS_API *getSmallPixmap(QColor rgb);
+QPixmap SCRIBUS_API *getWidePixmap(QColor rgb);
+QPixmap SCRIBUS_API loadIcon(QString nam);
+uint SCRIBUS_API getDouble(QString in, bool raw);
+bool SCRIBUS_API loadText(QString nam, QString *Buffer);
+double SCRIBUS_API QStodouble(QString in);
+int SCRIBUS_API QStoInt(QString in);
+QString SCRIBUS_API GetAttr(QDomElement *el, QString at, QString def="0");
+QImage SCRIBUS_API ProofImage(QImage *Im);
+int SCRIBUS_API System(const QStringList & args);
+int SCRIBUS_API callGS(const QStringList& args_in, const QString device="");
+int SCRIBUS_API callGS(const QString& args_in, const QString device="");
 // Return gs version. If gs couldn't be found or there was a problem parsing output, return false
 // (in which case minor and major have undefined values).
-QString getGSVersion();
-bool getNumericGSVersion(int & major, int & minor);
-QString getGSDefaultExeName(void);
-int copyFile(QString source, QString target);
-int moveFile(QString source, QString target);
-QString checkFileExtension(const QString &, const QString &);
+QString SCRIBUS_API getGSVersion();
+bool SCRIBUS_API getNumericGSVersion(int & major, int & minor);
+QString SCRIBUS_API getGSDefaultExeName(void);
+int SCRIBUS_API copyFile(QString source, QString target);
+int SCRIBUS_API moveFile(QString source, QString target);
+QString SCRIBUS_API checkFileExtension(const QString &, const QString &);
 // On Windows, return short path name, else return longPath;
-QString getShortPathName(QString longPath);
+QString SCRIBUS_API getShortPathName(QString longPath);
 // Create a common name for page exports (SVG, bitmap, EPS)
-QString getFileNameByPage(uint pageNo, QString extension);
+QString SCRIBUS_API getFileNameByPage(uint pageNo, QString extension);
 
 #endif
Index: vgradient.h
===================================================================
RCS file: /cvs/Scribus/scribus/vgradient.h,v
retrieving revision 1.4
diff -u -r1.4 vgradient.h
--- vgradient.h	30 May 2004 21:11:50 -0000	1.4
+++ vgradient.h	8 Aug 2005 15:06:18 -0000
@@ -22,11 +22,12 @@
 
 #include <qptrlist.h>
 #include <qptrvector.h>
+#include "scribusapi.h"
 #include "fpoint.h"
 #include <qcolor.h>
 #include <qwmatrix.h>
 
-class VColorStop
+class SCRIBUS_API VColorStop
 {
 public:
 	VColorStop( double r, double m, QColor c, double o, QString n, int s )
@@ -65,7 +66,7 @@
 }
 ; // VColorStop
 
-class VGradient
+class SCRIBUS_API VGradient
 {
 	// friend class VGradientWidget;
 
Index: vruler.h
===================================================================
RCS file: /cvs/Scribus/scribus/vruler.h,v
retrieving revision 1.4.2.7
diff -u -r1.4.2.7 vruler.h
--- vruler.h	30 Jul 2005 07:10:54 -0000	1.4.2.7
+++ vruler.h	8 Aug 2005 15:06:18 -0000
@@ -20,6 +20,7 @@
 
 #include <qwidget.h>
 #include <qpainter.h>
+#include "scribusapi.h"
 class ScribusDoc;
 class ScribusView;
 class PrefsManager;
@@ -29,7 +30,7 @@
 
 class ScribusView;
 
-class Vruler : public QWidget  
+class SCRIBUS_API Vruler : public QWidget  
 {
 	Q_OBJECT
 
Index: werktoolb.h
===================================================================
RCS file: /cvs/Scribus/scribus/werktoolb.h,v
retrieving revision 1.8.2.4
diff -u -r1.8.2.4 werktoolb.h
--- werktoolb.h	19 May 2005 18:33:33 -0000	1.8.2.4
+++ werktoolb.h	8 Aug 2005 15:06:18 -0000
@@ -20,6 +20,7 @@
 
 #include <qtoolbar.h>
 #include <qmainwindow.h>
+#include "scribusapi.h"
 class QToolButton;
 class QPopupMenu;
 class AutoformButtonGroup;
@@ -28,7 +29,7 @@
   *@author Franz Schmid
   */
 
-class WerkToolB : public QToolBar
+class SCRIBUS_API WerkToolB : public QToolBar
 {
 	Q_OBJECT
 
@@ -58,7 +59,7 @@
 	void Schliessen();
 };
 
-class WerkToolBP : public QToolBar  
+class SCRIBUS_API WerkToolBP : public QToolBar  
 {
 	Q_OBJECT
 
scribusapi_exports_01.diff (107,567 bytes)   

ringerc

2005-09-08 09:12

reporter   ~0006471

Re-tested, works with -fvisibility=hidden and presumably on win32 given Jean's progress. Closing.

Issue History

Date Modified Username Field Change
2005-08-10 09:07 ringerc New Issue
2005-08-10 09:07 ringerc File Added: scribusapi_exports_01.diff
2005-08-10 09:11 ringerc Relationship added child of 0002398
2005-08-10 09:11 ringerc Status new => assigned
2005-08-10 09:11 ringerc Assigned To => ringerc
2005-08-10 09:11 ringerc Status assigned => resolved
2005-08-10 09:11 ringerc Fixed in Version => 1.3.1cvs
2005-08-10 09:11 ringerc Resolution open => fixed
2005-08-10 09:11 ringerc Reporter ringerc => jghali
2005-08-10 09:17 ringerc Relationship added related to 0000015
2005-08-10 09:39 ringerc Relationship added related to 0001961
2005-09-08 09:12 ringerc Note Added: 0006471
2005-09-08 09:13 ringerc Status resolved => closed
2005-09-25 20:52 cbradney Category Internal => Win32
2014-10-08 18:38 Kunda Category Win32 => OS-Win32