Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 99479c1d authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Generate export symbole

parent c068dba8
......@@ -36,6 +36,7 @@ ki18n_wrap_ui(kopetecontactlist_SRCS
)
add_library( kopetecontactlist SHARED ${kopetecontactlist_SRCS} )
generate_export_header(kopetecontactlist BASE_NAME kopetecontactlist)
target_link_libraries(
kopetecontactlist
kopete
......
......@@ -24,10 +24,10 @@
#include <QList>
#include <QString>
#include <kopete_export.h>
#include <kopetecontactlist_export.h>
namespace ContactList {
class KOPETE_CONTACT_LIST_EXPORT LayoutItemConfigRowElement
class KOPETECONTACTLIST_EXPORT LayoutItemConfigRowElement
{
public:
LayoutItemConfigRowElement(int value, qreal size, bool bold, bool italic, bool small, bool optimalSize, Qt::Alignment alignment, const QString &prefix = QString(),
......@@ -89,7 +89,7 @@ private:
QString m_prefix, m_suffix;
};
class KOPETE_CONTACT_LIST_EXPORT LayoutItemConfigRow
class KOPETECONTACTLIST_EXPORT LayoutItemConfigRow
{
public:
void addElement(LayoutItemConfigRowElement element);
......@@ -103,7 +103,7 @@ private:
This class wraps the data needed to paint a LayoutItemDelegate. It knows how many vertical
rows there should be, how many items in each row, whether an image should be displayed and so on.
*/
class KOPETE_CONTACT_LIST_EXPORT LayoutItemConfig
class KOPETECONTACTLIST_EXPORT LayoutItemConfig
{
public:
LayoutItemConfig();
......@@ -121,7 +121,7 @@ private:
bool m_showIcon;
};
class KOPETE_CONTACT_LIST_EXPORT ContactListLayout
class KOPETECONTACTLIST_EXPORT ContactListLayout
{
public:
LayoutItemConfig layout() const;
......
......@@ -26,7 +26,7 @@
#include <QMap>
#include <QObject>
#include <kopete_export.h>
#include <kopetecontactlist_export.h>
#include "contactlistlayoutitemconfig.h"
......@@ -34,7 +34,7 @@ class QDomElement;
class QDomDocument;
namespace ContactList {
class KOPETE_CONTACT_LIST_EXPORT ContactListTokenConfig
class KOPETECONTACTLIST_EXPORT ContactListTokenConfig
{
public:
ContactListTokenConfig()
......@@ -56,7 +56,7 @@ public:
QString mIconName;
};
class KOPETE_CONTACT_LIST_EXPORT LayoutManager : public QObject
class KOPETECONTACTLIST_EXPORT LayoutManager : public QObject
{
Q_OBJECT
......
......@@ -23,7 +23,7 @@
#include <QHash>
#include <QAbstractItemModel>
#include <kopete_export.h>
#include <kopetecontactlist_export.h>
class QDomDocument;
class QDomElement;
......@@ -37,7 +37,7 @@ namespace UI {
/**
@author Aleix Pol <aleixpol@gmail.com>
*/
class KOPETE_CONTACT_LIST_EXPORT ContactListModel : public QAbstractItemModel
class KOPETECONTACTLIST_EXPORT ContactListModel : public QAbstractItemModel
{
Q_OBJECT
public:
......
......@@ -21,7 +21,7 @@
#include "contactlistmodel.h"
#include <kopete_export.h>
#include <kopetecontactlist_export.h>
namespace Kopete {
class Group;
......@@ -36,7 +36,7 @@ class ContactListPlainModelItem;
/**
@author Aleix Pol <aleixpol@gmail.com>
*/
class KOPETE_CONTACT_LIST_EXPORT ContactListPlainModel : public ContactListModel
class KOPETECONTACTLIST_EXPORT ContactListPlainModel : public ContactListModel
{
Q_OBJECT
public:
......
......@@ -20,7 +20,7 @@
#include <QSortFilterProxyModel>
#include <kopete_export.h>
#include <kopetecontactlist_export.h>
namespace Kopete {
class Group;
......@@ -31,7 +31,7 @@ namespace UI {
/**
@author Aleix Pol <aleixpol@gmail.com>
*/
class KOPETE_CONTACT_LIST_EXPORT ContactListProxyModel : public QSortFilterProxyModel
class KOPETECONTACTLIST_EXPORT ContactListProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
public:
......
......@@ -21,7 +21,7 @@
#include "contactlistmodel.h"
#include <kopete_export.h>
#include <kopetecontactlist_export.h>
namespace Kopete {
class Group;
......@@ -35,7 +35,7 @@ class ContactListModelItem;
/**
@author Aleix Pol <aleixpol@gmail.com>
*/
class KOPETE_CONTACT_LIST_EXPORT ContactListTreeModel : public ContactListModel
class KOPETECONTACTLIST_EXPORT ContactListTreeModel : public ContactListModel
{
Q_OBJECT
public:
......
......@@ -20,7 +20,7 @@
#include <kassistantdialog.h>
#include <kopete_export.h>
#include <kopetecontactlist_export.h>
#include "ui_kabcexport_page1.h"
#include "ui_kabcexport_page2.h"
......@@ -38,7 +38,7 @@ namespace KRES {
class Resource;
}
class KOPETE_CONTACT_LIST_EXPORT KabcExportWizard : public KAssistantDialog
class KOPETECONTACTLIST_EXPORT KabcExportWizard : public KAssistantDialog
{
Q_OBJECT
public:
......
......@@ -35,7 +35,7 @@
#include <QMouseEvent>
#include <QDropEvent>
#include <kopete_export.h>
#include <kopetecontactlist_export.h>
class KActionCollection;
class QAction;
......@@ -55,7 +55,7 @@ class Account;
/**
* @author Duncan Mac-Vicar P. <duncan@kde.org>
*/
class KOPETE_CONTACT_LIST_EXPORT KopeteContactListView : public QTreeView
class KOPETECONTACTLIST_EXPORT KopeteContactListView : public QTreeView
{
Q_OBJECT
......
......@@ -24,7 +24,7 @@
#include "contactlistlayoutitemconfig.h"
#include <kopete_export.h>
#include <kopetecontactlist_export.h>
class QPainter;
class QAbstractItemView;
......@@ -33,7 +33,7 @@ namespace Kopete {
class Contact;
}
class KOPETE_CONTACT_LIST_EXPORT KopeteItemDelegate : public QStyledItemDelegate
class KOPETECONTACTLIST_EXPORT KopeteItemDelegate : public QStyledItemDelegate
{
Q_OBJECT
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment