Generate export header for libkpmgui.

This commit is contained in:
Andrius Štikonas 2015-03-28 00:43:38 +00:00
parent 0ff2c923c3
commit 93f6bcdc83
8 changed files with 15 additions and 14 deletions

View File

@ -62,6 +62,7 @@ target_link_libraries( kpmcore libfatlabel
)
add_library(kpmgui SHARED ${kpmgui_SRCS})
generate_export_header(kpmgui EXPORT_FILE_NAME libpartitionmanagergui_export.h)
target_link_libraries( kpmgui
kpmcore
KF5::JobWidgets

View File

@ -2,7 +2,7 @@ File=config.kcfg
ClassName=Config
Singleton=true
Mutators=true
Visibility=LIBKPMCORE_EXPORT
IncludeFiles=\"util/libpartitionmanagerexport.h\"
Visibility=LIBKPMGUI_EXPORT
IncludeFiles=\"util/libpartitionmanagerguiexport.h\"
ItemAccessors=true
SetUserTexts=true

View File

@ -18,7 +18,7 @@
#if !defined(CONFIGUREOPTIONSDIALOG__H)
#define CONFIGUREOPTIONSDIALOG__H
#include "util/libpartitionmanagerexport.h"
#include "util/libpartitionmanagerguiexport.h"
#include <KConfigDialog>
@ -27,7 +27,7 @@ class FileSystemColorsPageWidget;
class AdvancedPageWidget;
class OperationStack;
class LIBKPMCORE_EXPORT ConfigureOptionsDialog : public KConfigDialog
class LIBKPMGUI_EXPORT ConfigureOptionsDialog : public KConfigDialog
{
Q_OBJECT

View File

@ -19,7 +19,7 @@
#define LISTDEVICES__H
#include "util/libpartitionmanagerexport.h"
#include "util/libpartitionmanagerguiexport.h"
#include "core/operationstack.h"
@ -34,7 +34,7 @@ class KActionCollection;
/** A list of devices.
@author Volker Lanz <vl@fidra.de>
*/
class LIBKPMCORE_EXPORT ListDevices : public QWidget, public Ui::ListDevicesBase
class LIBKPMGUI_EXPORT ListDevices : public QWidget, public Ui::ListDevicesBase
{
Q_OBJECT
Q_DISABLE_COPY(ListDevices)

View File

@ -21,7 +21,7 @@
#include "core/operationstack.h"
#include "util/libpartitionmanagerexport.h"
#include "util/libpartitionmanagerguiexport.h"
#include "ui_listoperationsbase.h"
@ -35,7 +35,7 @@ class KActionCollection;
@author Volker Lanz <vl@fidra.de>
*/
class LIBKPMCORE_EXPORT ListOperations : public QWidget, public Ui::ListOperationsBase
class LIBKPMGUI_EXPORT ListOperations : public QWidget, public Ui::ListOperationsBase
{
Q_OBJECT
Q_DISABLE_COPY(ListOperations)

View File

@ -23,7 +23,7 @@
#include "core/operationstack.h"
#include "core/devicescanner.h"
#include "util/libpartitionmanagerexport.h"
#include "util/libpartitionmanagerguiexport.h"
#include "ui_mainwindowbase.h"
@ -46,7 +46,7 @@ class QEvent;
@author Volker Lanz <vl@fidra.de>
*/
class LIBKPMCORE_EXPORT MainWindow : public KXmlGuiWindow, public Ui::MainWindowBase
class LIBKPMGUI_EXPORT MainWindow : public KXmlGuiWindow, public Ui::MainWindowBase
{
Q_OBJECT
Q_DISABLE_COPY(MainWindow)

View File

@ -22,7 +22,7 @@
#include "core/operationstack.h"
#include "core/operationrunner.h"
#include "util/libpartitionmanagerexport.h"
#include "util/libpartitionmanagerguiexport.h"
#include "ui_partitionmanagerwidgetbase.h"
@ -40,7 +40,7 @@ class QPoint;
@author Volker Lanz <vl@fidra.de>
*/
class LIBKPMCORE_EXPORT PartitionManagerWidget : public QWidget, Ui::PartitionManagerWidgetBase
class LIBKPMGUI_EXPORT PartitionManagerWidget : public QWidget, Ui::PartitionManagerWidgetBase
{
Q_OBJECT
Q_DISABLE_COPY(PartitionManagerWidget)

View File

@ -19,7 +19,7 @@
#define TREELOG__H
#include "util/libpartitionmanagerexport.h"
#include "util/libpartitionmanagerguiexport.h"
#include "ui_treelogbase.h"
@ -32,7 +32,7 @@ class QTreeWidget;
/** A tree for formatted log output.
@author Volker Lanz <vl@fidra.de>
*/
class LIBKPMCORE_EXPORT TreeLog: public QWidget, public Ui::TreeLogBase
class LIBKPMGUI_EXPORT TreeLog: public QWidget, public Ui::TreeLogBase
{
Q_OBJECT
Q_DISABLE_COPY(TreeLog)