File tree Expand file tree Collapse file tree 10 files changed +29
-9
lines changed Expand file tree Collapse file tree 10 files changed +29
-9
lines changed Original file line number Diff line number Diff line change 32
32
// ============================================================================
33
33
#include < QFrame>
34
34
35
+ #include " ads_globals.h"
36
+
35
37
class QXmlStreamWriter ;
36
38
37
39
namespace ads
@@ -47,7 +49,7 @@ class CDockWidget;
47
49
* It displays a title tab, which is clickable and will switch to
48
50
* the contents associated to the title when clicked.
49
51
*/
50
- class CDockAreaWidget : public QFrame
52
+ class ADS_EXPORT CDockAreaWidget : public QFrame
51
53
{
52
54
Q_OBJECT
53
55
private:
Original file line number Diff line number Diff line change 34
34
35
35
#include " ads_globals.h"
36
36
37
+
37
38
class QXmlStreamWriter ;
38
39
class QXmlStreamReader ;
39
40
@@ -49,7 +50,7 @@ class CFloatingDockContainer;
49
50
* Container that manages a number of dock areas with single dock widgets
50
51
* or tabyfied dock widgets in each area
51
52
*/
52
- class CDockContainerWidget : public QFrame
53
+ class ADS_EXPORT CDockContainerWidget : public QFrame
53
54
{
54
55
Q_OBJECT
55
56
private:
Original file line number Diff line number Diff line change 32
32
// ============================================================================
33
33
#include " DockContainerWidget.h"
34
34
35
+ #include " ads_globals.h"
36
+
35
37
class QSettings ;
36
38
37
39
namespace ads
@@ -44,7 +46,7 @@ class CDockOverlay;
44
46
/* *
45
47
* The central dock manager that maintains the complete docking system
46
48
**/
47
- class CDockManager : public CDockContainerWidget
49
+ class ADS_EXPORT CDockManager : public CDockContainerWidget
48
50
{
49
51
Q_OBJECT
50
52
private:
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class CDockOverlayCross;
39
39
* DockOverlay paints a translucent rectangle over another widget. The geometry
40
40
* of the rectangle is based on the mouse location.
41
41
*/
42
- class CDockOverlay : public QFrame
42
+ class ADS_EXPORT CDockOverlay : public QFrame
43
43
{
44
44
Q_OBJECT
45
45
private:
Original file line number Diff line number Diff line change 31
31
// ============================================================================
32
32
#include < QSplitter>
33
33
34
+ #include " ads_globals.h"
35
+
34
36
namespace ads
35
37
{
36
38
struct DockSplitterPrivate ;
37
39
38
40
/* *
39
41
* Splitter used internally instead of QSplitter
40
42
*/
41
- class CDockSplitter : public QSplitter
43
+ class ADS_EXPORT CDockSplitter : public QSplitter
42
44
{
43
45
Q_OBJECT
44
46
private:
Original file line number Diff line number Diff line change 32
32
// ============================================================================
33
33
#include < QFrame>
34
34
35
+ #include " ads_globals.h"
36
+
35
37
class QXmlStreamWriter ;
36
38
37
39
namespace ads
@@ -47,7 +49,7 @@ struct DockContainerWidgetPrivate;
47
49
* The QDockWidget class provides a widget that can be docked inside a
48
50
* CDockManager or floated as a top-level window on the desktop.
49
51
*/
50
- class CDockWidget : public QFrame
52
+ class ADS_EXPORT CDockWidget : public QFrame
51
53
{
52
54
Q_OBJECT
53
55
private:
Original file line number Diff line number Diff line change 32
32
// ============================================================================
33
33
#include < QFrame>
34
34
35
+ #include " ads_globals.h"
36
+
35
37
namespace ads
36
38
{
37
39
class CDockWidget ;
@@ -41,7 +43,7 @@ struct DockWidgetTitleBarPrivate;
41
43
/* *
42
44
* A dock widget title bar that shows a title and an icon
43
45
*/
44
- class CDockWidgetTitleBar : public QFrame
46
+ class ADS_EXPORT CDockWidgetTitleBar : public QFrame
45
47
{
46
48
Q_OBJECT
47
49
Q_PROPERTY (bool activeTab READ isActiveTab WRITE setActiveTab NOTIFY activeTabChanged)
Original file line number Diff line number Diff line change 31
31
// ============================================================================
32
32
#include < QWidget>
33
33
34
+ #include " ads_globals.h"
35
+
34
36
class QXmlStreamReader ;
35
37
36
38
namespace ads
@@ -46,7 +48,7 @@ class CDockManager;
46
48
* docking of dock widgets like the main window and that can be docked into
47
49
* another dock container
48
50
*/
49
- class CFloatingDockContainer : public QWidget
51
+ class ADS_EXPORT CFloatingDockContainer : public QWidget
50
52
{
51
53
Q_OBJECT
52
54
private:
Original file line number Diff line number Diff line change 31
31
// INCLUDES
32
32
// ============================================================================
33
33
#include < QPair>
34
+ #include < QtCore/QtGlobal>
35
+
36
+ #ifdef ADS_SHARED_EXPORT
37
+ #define ADS_EXPORT Q_DECL_EXPORT
38
+ #else
39
+ #define ADS_EXPORT Q_DECL_IMPORT
40
+ #endif
34
41
35
42
class QSplitter ;
36
43
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ CONFIG += adsBuildShared
11
11
12
12
adsBuildShared {
13
13
CONFIG += shared
14
- DEFINES += ADS_EXPORT
14
+ DEFINES += ADS_SHARED_EXPORT
15
15
}
16
16
!adsBuildShared {
17
17
CONFIG += staticlib
You can’t perform that action at this time.
0 commit comments