From: Christian Ehrlicher Date: Sun, 25 Mar 2007 18:29:14 +0000 (+0000) Subject: fix export X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/14e3f13b1b2f8106967999b6664822338bc838fd?ds=inline fix export svn path=/trunk/KDE/kdebase/apps/; revision=646436 --- diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index 7bd7a4b08..af5ac3517 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -46,7 +46,7 @@ class QPoint; * when an item should be triggered and a lot more. The controller emits the corresponding signals * so that the receiver may react on those changes. */ -class LIBDOLPHIN_EXPORT DolphinController : public QObject +class LIBDOLPHINPRIVATE_EXPORT DolphinController : public QObject { Q_OBJECT diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index cbeb861d1..681a5e1f9 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -36,7 +36,7 @@ class DolphinController; * that full available width of the view is used by stretching the width * of the name column. */ -class LIBDOLPHIN_EXPORT DolphinDetailsView : public QTreeView +class LIBDOLPHINPRIVATE_EXPORT DolphinDetailsView : public QTreeView { Q_OBJECT diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h index cc3715c61..452060534 100644 --- a/src/dolphiniconsview.h +++ b/src/dolphiniconsview.h @@ -33,7 +33,7 @@ class DolphinView; * It is also possible that instead of the icon a preview of the item * content is shown. */ -class LIBDOLPHIN_EXPORT DolphinIconsView : public QListView +class LIBDOLPHINPRIVATE_EXPORT DolphinIconsView : public QListView { Q_OBJECT diff --git a/src/dolphinsettings.h b/src/dolphinsettings.h index 296f943fc..ada2ce807 100644 --- a/src/dolphinsettings.h +++ b/src/dolphinsettings.h @@ -40,7 +40,7 @@ class DetailsModeSettings; * - bookmarks * - properties for icons and details view */ -class LIBDOLPHIN_EXPORT DolphinSettings { +class LIBDOLPHINPRIVATE_EXPORT DolphinSettings { public: static DolphinSettings& instance(); diff --git a/src/dolphinsortfilterproxymodel.h b/src/dolphinsortfilterproxymodel.h index a2e1324d8..44b4ce918 100644 --- a/src/dolphinsortfilterproxymodel.h +++ b/src/dolphinsortfilterproxymodel.h @@ -39,7 +39,7 @@ * * It is assured that directories are always sorted before files. */ -class LIBDOLPHIN_EXPORT DolphinSortFilterProxyModel : public QSortFilterProxyModel +class LIBDOLPHINPRIVATE_EXPORT DolphinSortFilterProxyModel : public QSortFilterProxyModel { Q_OBJECT diff --git a/src/libdolphin_export.h b/src/libdolphin_export.h index 6603844f1..36071e1a3 100644 --- a/src/libdolphin_export.h +++ b/src/libdolphin_export.h @@ -36,5 +36,16 @@ # endif #endif +#ifdef MAKE_DOLPHINPRIVATE_LIB +# define LIBDOLPHINPRIVATE_EXPORT KDE_EXPORT +#else +# ifdef Q_OS_WIN +# define LIBDOLPHINPRIVATE_EXPORT KDE_IMPORT +# else +# define LIBDOLPHINPRIVATE_EXPORT KDE_EXPORT +# endif +#endif + + #endif diff --git a/src/viewproperties.h b/src/viewproperties.h index be64b989b..4ca220514 100644 --- a/src/viewproperties.h +++ b/src/viewproperties.h @@ -51,7 +51,7 @@ class QFile; * (see GeneralSettings::globalViewMode()), the values from the global .directory file * are used for initialization. */ -class LIBDOLPHIN_EXPORT ViewProperties +class LIBDOLPHINPRIVATE_EXPORT ViewProperties { public: explicit ViewProperties(const KUrl& url);