plasma ported to generate_export_header -- this was the last one.

This commit is contained in:
David Faure 2012-06-16 22:06:11 +02:00
parent 3bdd154161
commit 5534b9cfa0
3 changed files with 5 additions and 46 deletions

View File

@ -27,6 +27,7 @@ endif(NOT Q_WS_X11)
include_directories(${CMAKE_CURRENT_SOURCE_DIR} include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${KDE4_KDECORE_INCLUDES} ${KDE4_KDECORE_INCLUDES}
${KDE4_KDEUI_INCLUDES} ${KDE4_KDEUI_INCLUDES}
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative ${CMAKE_SOURCE_DIR}/experimental/libkdeclarative
@ -325,6 +326,7 @@ install(TARGETS plasma EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_AR
install(TARGETS plasmaqgv EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}) install(TARGETS plasmaqgv EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ############### ########### install files ###############
generate_export_header(plasma)
set(plasma_LIB_INCLUDES set(plasma_LIB_INCLUDES
abstractdialogmanager.h abstractdialogmanager.h
@ -349,7 +351,7 @@ set(plasma_LIB_INCLUDES
package.h package.h
packagestructure.h packagestructure.h
plasma.h plasma.h
plasma_export.h ${CMAKE_CURRENT_BINARY_DIR}/plasma_export.h
popupapplet.h popupapplet.h
querymatch.h querymatch.h
remote/accessappletjob.h remote/accessappletjob.h

View File

@ -1,43 +0,0 @@
/* This file is part of the KDE project
Copyright 2007 Aaron Seigo <aseigo@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library 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 PLASMA_EXPORT_H
#define PLASMA_EXPORT_H
/* needed for KDE_EXPORT and KDE_IMPORT macros */
#include <kdemacros.h>
#ifndef PLASMA_EXPORT
# if defined(KDELIBS_STATIC_LIBS)
/* No export/import for static libraries */
# define PLASMA_EXPORT
# elif defined(MAKE_PLASMA_LIB)
/* We are building this library */
# define PLASMA_EXPORT KDE_EXPORT
# else
/* We are using this library */
# define PLASMA_EXPORT KDE_IMPORT
# endif
#endif
# ifndef PLASMA_EXPORT_DEPRECATED
# define PLASMA_EXPORT_DEPRECATED KDE_DEPRECATED PLASMA_EXPORT
# endif
#endif

View File

@ -86,7 +86,7 @@ public:
* @deprecated use LineEdit::setPlaceholderText instead * @deprecated use LineEdit::setPlaceholderText instead
*/ */
#ifndef KDE_NO_DEPRECATED #ifndef KDE_NO_DEPRECATED
void KDE_DEPRECATED setClickMessage(const QString &message); void PLASMA_DEPRECATED setClickMessage(const QString &message);
#endif #endif
/** /**
@ -95,7 +95,7 @@ public:
* @deprecated use LineEdit::placeholderText instead * @deprecated use LineEdit::placeholderText instead
*/ */
#ifndef KDE_NO_DEPRECATED #ifndef KDE_NO_DEPRECATED
QString KDE_DEPRECATED clickMessage() const; QString PLASMA_DEPRECATED clickMessage() const;
#endif #endif
/** /**