mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kcontrol: generate export header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4e00e3acfc
commit
9ae9cae894
6 changed files with 8 additions and 36 deletions
|
@ -29,10 +29,10 @@
|
|||
#include <QtCore/QSet>
|
||||
#include <QtDBus/QtDBus>
|
||||
#include <KJob>
|
||||
#include <kdemacros.h>
|
||||
#include "Family.h"
|
||||
#include "Folder.h"
|
||||
#include "FontinstIface.h"
|
||||
#include "kfontinst_export.h"
|
||||
|
||||
#define FONTINST_PATH "/FontInst"
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
namespace KFI
|
||||
{
|
||||
|
||||
class KFONTINST_EXPORT FontInst : public QObject
|
||||
class KDE_EXPORT FontInst : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_CLASSINFO("D-Bus Interface", "org.kde.fontinst")
|
||||
|
|
|
@ -5,6 +5,8 @@ add_library(kfontinst SHARED ${kfontinst_LIB_SRCS})
|
|||
target_link_libraries(kfontinst ${KDE4_KDECORE_LIBS} ${QT_QTXML_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTCORE_LIBRARY} ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES})
|
||||
set_target_properties(kfontinst PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
|
||||
|
||||
generate_export_header(kfontinst)
|
||||
|
||||
add_library(kfontinstui SHARED ${kfontinstui_LIB_SRCS})
|
||||
target_link_libraries(kfontinstui ${KDE4_KIO_LIBS} ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} ${X11_X11_LIB} ${X11_Xft_LIB} kfontinst)
|
||||
set_target_properties(kfontinstui PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <QtCore/QSet>
|
||||
#include <QtCore/QMetaType>
|
||||
#include <QtDBus/QtDBus>
|
||||
#include <kdemacros.h>
|
||||
#include "kfontinst_export.h"
|
||||
#include "Style.h"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#define __FC_H__
|
||||
|
||||
#include <KUrl>
|
||||
#include <kdemacros.h>
|
||||
#include <fontconfig/fontconfig.h>
|
||||
#include "kfontinst_export.h"
|
||||
#include "KfiConstants.h"
|
||||
|
|
|
@ -27,10 +27,10 @@
|
|||
#include <QtCore/QSet>
|
||||
#include <QtCore/QMetaType>
|
||||
#include <QtDBus/QtDBus>
|
||||
#include "kfontinst_export.h"
|
||||
|
||||
#include <QDomElement>
|
||||
#include <QTextStream>
|
||||
#include <kdemacros.h>
|
||||
#include "kfontinst_export.h"
|
||||
|
||||
namespace KFI
|
||||
{
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
/* This file is part of the KDE project
|
||||
Copyright (C) 2006 Matthias Kretz <kretz@kde.org>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public License
|
||||
along with this library; see the file COPYING.LIB. If not, write to
|
||||
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#ifndef KFONTINST_EXPORT_H
|
||||
#define KFONTINST_EXPORT_H
|
||||
|
||||
/* needed for KDE_EXPORT macros */
|
||||
#include <kdemacros.h>
|
||||
|
||||
|
||||
#define KFONTINST_EXPORT KDE_EXPORT
|
||||
|
||||
|
||||
#endif // KFONTINST_EXPORT_H
|
Loading…
Add table
Reference in a new issue