#include <kdemacros.h>
#ifndef AKREGATOR_EXPORT
-# if defined(KDEPIM_STATIC_LIBS)
- /* No export/import for static libraries */
-# define AKREGATOR_EXPORT
-# elif defined(MAKE_AKREGATORINTERFACES_LIB) || defined(MAKE_AKREGATORPRIVATE_LIB)
+# if defined(akregatorinterfaces_EXPORTS) || defined(akregatorprivate_EXPORTS)
/* We are building this library */
# define AKREGATOR_EXPORT KDE_EXPORT
# else
#endif
#ifndef AKREGATORPART_EXPORT
-# if defined(KDEPIM_STATIC_LIBS)
- /* No export/import for static libraries */
-# define AKREGATORPART_EXPORT
-# elif defined(MAKE_AKREGATORPART_LIB)
+# if defined(akregatorpart_EXPORTS)
/* We are building this library */
# define AKREGATORPART_EXPORT KDE_EXPORT
# else
#endif
#ifndef AKREGATORINTERFACES_EXPORT
-# if defined(KDEPIM_STATIC_LIBS)
- /* No export/import for static libraries */
-# define AKREGATORINTERFACES_EXPORT
-# elif defined(MAKE_AKREGATORINTERFACES_LIB)
+# if defined(akregatorinterfaces_EXPORTS)
/* We are building this library */
# define AKREGATORINTERFACES_EXPORT KDE_EXPORT
# else
set(SUPPORTED_ARK_MIMETYPES "")
+include_directories(
+ # for kerfuffle_export.h
+ ${CMAKE_CURRENT_BINARY_DIR}/kerfuffle
+)
+
add_subdirectory(plugins)
add_subdirectory(kerfuffle)
add_subdirectory(part)
${KDE4_KPTY_LIBS}
)
-set_target_properties(kerfuffle PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
+set_target_properties(kerfuffle PROPERTIES
+ VERSION ${GENERIC_LIB_VERSION}
+ SOVERSION ${GENERIC_LIB_SOVERSION}
+)
+
+generate_export_header(kerfuffle)
install(TARGETS kerfuffle ${INSTALL_TARGETS_DEFAULT_ARGS})
#include <QObject>
#include <QStringList>
#include <QString>
-#include <QtCore/qvariant.h>
+#include <QVariant>
+#include <kdemacros.h>
+#include <kpluginfactory.h>
namespace Kerfuffle
{
} // namespace Kerfuffle
+#define KERFUFFLE_EXPORT_PLUGIN(p) \
+ K_PLUGIN_FACTORY( ArkPluginFactory, registerPlugin< p >(); ) \
+ K_EXPORT_PLUGIN( ArkPluginFactory("p") )
+
#endif // ARCHIVEINTERFACE_H
+++ /dev/null
-/*
- * This file is part of the KDE project
- *
- * Copyright (C) 2007 David Faure <faure@kde.org>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ( INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef KERFUFFLE_EXPORT_H
-#define KERFUFFLE_EXPORT_H
-
-/* needed for KDE_EXPORT and KDE_IMPORT macros */
-#include <kdemacros.h>
-#include <kpluginfactory.h>
-
-#ifndef KERFUFFLE_EXPORT
-# if defined(MAKE_KERFUFFLE_LIB)
-/* We are building this library */
-# define KERFUFFLE_EXPORT KDE_EXPORT
-# else
-/* We are using this library */
-# define KERFUFFLE_EXPORT KDE_IMPORT
-# endif
-#endif
-
-# ifndef KERFUFFLE_EXPORT_DEPRECATED
-# define KERFUFFLE_EXPORT_DEPRECATED KDE_DEPRECATED KERFUFFLE_EXPORT
-# endif
-
-#define KERFUFFLE_EXPORT_PLUGIN(p) \
- K_PLUGIN_FACTORY( ArkPluginFactory, registerPlugin< p >(); ) \
- K_EXPORT_PLUGIN( ArkPluginFactory("p") )
-
-#endif
find_package(SharedMimeInfo REQUIRED)
-include_directories(${CMAKE_CURRENT_BINARY_DIR} libbluedevil)
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/libbluedevil
+ ${CMAKE_CURRENT_SOURCE_DIR}/libbluedevil
+)
add_subdirectory(src)
SOVERSION ${GENERIC_LIB_SOVERSION}
)
+generate_export_header(bluedevil)
+
install(TARGETS bluedevil ${INSTALL_TARGETS_DEFAULT_ARGS})
-install(FILES bluedevilmanager.h
- bluedeviladapter.h
- bluedevildevice.h
- bluedevil_export.h
- bluedevil.h
- bluedevilutils.h DESTINATION include/bluedevil)
-
-if(NOT WIN32) # pkgconfig file
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bluedevil.pc.in ${CMAKE_CURRENT_BINARY_DIR}/bluedevil.pc @ONLY)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bluedevil.pc DESTINATION ${KDE4_LIB_INSTALL_DIR}/pkgconfig)
-endif(NOT WIN32)
+install(
+ FILES
+ bluedevilmanager.h
+ bluedeviladapter.h
+ bluedevildevice.h
+ bluedevil.h
+ bluedevilutils.h
+ ${CMAKE_CURRENT_BINARY_DIR}/bluedevil_export.h
+ DESTINATION include/bluedevil
+)
+
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bluedevil.pc.in ${CMAKE_CURRENT_BINARY_DIR}/bluedevil.pc @ONLY)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bluedevil.pc DESTINATION ${KDE4_LIB_INSTALL_DIR}/pkgconfig)
+++ /dev/null
-/*****************************************************************************
- * This file is part of the BlueDevil project *
- * *
- * Copyright (C) 2010 Rafael Fernández López <ereslibre@kde.org> *
- * Copyright (C) 2010 UFO Coders <info@ufocoders.com> *
- * *
- * 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 BLUEDEVIL_EXPORT_H
-#define BLUEDEVIL_EXPORT_H
-
-#include <QtCore/qglobal.h>
-
-#define BLUEDEVIL_EXPORT Q_DECL_EXPORT
-
-#endif // BLUEDEVIL_EXPORT_H
${QDBUS_INCLUDE_DIRS}
${EXIV2_INCLUDE_DIR}
${KDCRAW_INCLUDE_DIR}
+ # for gwenview_export.h
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/lib
)
add_definitions(
SOVERSION ${GENERIC_LIB_SOVERSION}
)
+generate_export_header(gwenviewlib)
+
target_link_libraries(gwenviewlib
${KDE4_KFILE_LIBS}
${KDE4_KIO_LIBS}
+++ /dev/null
-/* This file is part of the KDE project
- Copyright (C) 2006 David Faure <faure@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 GWENVIEWLIB_EXPORT_H
-#define GWENVIEWLIB_EXPORT_H
-
-/* needed for KDE_EXPORT and KDE_IMPORT macros */
-#include <kdemacros.h>
-
-#ifndef GWENVIEWLIB_EXPORT
-# if defined(MAKE_GWENVIEWLIB_LIB)
-/* We are building this library */
-# define GWENVIEWLIB_EXPORT KDE_EXPORT
-# else
-/* We are using this library */
-# define GWENVIEWLIB_EXPORT KDE_IMPORT
-# endif
-#endif
-
-#endif
project(weatherapplet)
+include_directories(
+ # for plasmaweather_export.h
+ ${kdeplasma-addons_BINARY_DIR}/libs/plasmaweather
+)
+
set(weatherapplet_SRCS
weatherapplet.cpp)
project(plasma-weatherstation)
+include_directories(
+ # for plasmaweather_export.h
+ ${kdeplasma-addons_BINARY_DIR}/libs/plasmaweather
+)
+
set(weatherstation_SRCS
weatherstation.cpp
lcd.cpp
project(groupingdesktop)
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}/lib
+)
+
add_subdirectory(lib)
add_subdirectory(desktop)
add_subdirectory(panel)
add_library(plasma_groupingcontainment SHARED ${groupingcontainment_SRCS})
target_link_libraries(plasma_groupingcontainment ${KDE4_PLASMA_LIBS})
+generate_export_header(plasma_groupingcontainment)
+
set_target_properties(plasma_groupingcontainment PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
install(TARGETS plasma_groupingcontainment EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
#include "groupinfo.h"
#include "groupfactory_p.h"
-#include "groupingcontainment_export.h"
+#include "plasma_groupingcontainment_export.h"
class KConfigGroup;
#include <Plasma/Containment>
-#include "groupingcontainment_export.h"
+#include "plasma_groupingcontainment_export.h"
class AbstractGroup;
class GroupingContainmentPrivate;
+++ /dev/null
-/* 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 GROUPINGCONTAINMENT_EXPORT_H
-#define GROUPINGCONTAINMENT_EXPORT_H
-
-/* needed for KDE_EXPORT and KDE_IMPORT macros */
-#include <kdemacros.h>
-
-#ifndef PLASMA_GROUPINGCONTAINMENT_EXPORT
-# if defined(MAKE_PLASMA_GROUPINGCONTAINMENT_LIB)
- /* We are building this library */
-# define PLASMA_GROUPINGCONTAINMENT_EXPORT KDE_EXPORT
-# else
- /* We are using this library */
-# define PLASMA_GROUPINGCONTAINMENT_EXPORT KDE_IMPORT
-# endif
-#endif
-
-# ifndef PLASMA_GROUPINGCONTAINMENT_EXPORT_DEPRECATED
-# define PLASMA_GROUPINGCONTAINMENT_EXPORT_DEPRECATED KDE_DEPRECATED PLASMA_GROUPINGCONTAINMENT_EXPORT
-# endif
-
-#endif
set(potd_engine_SRCS
- cachedprovider.cpp
- potd.cpp
+ cachedprovider.cpp
+ potd.cpp
)
kde4_add_plugin(plasma_engine_potd ${potd_engine_SRCS} )
########### plugin core library ############
set(potd_provider_core_SRCS
- potdprovider.cpp
+ potdprovider.cpp
)
-add_library( plasmapotdprovidercore SHARED ${potd_provider_core_SRCS} )
-target_link_libraries( plasmapotdprovidercore ${KDE4_KDEUI_LIBS} )
+add_library(plasmapotdprovidercore SHARED ${potd_provider_core_SRCS})
+target_link_libraries(plasmapotdprovidercore ${KDE4_KDEUI_LIBS})
+
+generate_export_header(plasmapotdprovidercore BASE_NAME plasma_potd)
install( TARGETS plasmapotdprovidercore ${INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES plasma_potdprovider.desktop DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR} )
+++ /dev/null
-/*
- * Copyright (C) 2007 Tobias Koenig <tokoe@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 program 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 General Public License for more details
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef PLASMA_POTD_EXPORT_H
-#define PLASMA_POTD_EXPORT_H
-
-/* needed for KDE_EXPORT macros */
-#include <kdemacros.h>
-
-#if defined Q_OS_WIN
-#ifndef PLASMA_POTD_EXPORT
-# ifdef MAKE_PLASMAPOTDPROVIDERCORE_LIB
-# define PLASMA_POTD_EXPORT KDE_EXPORT
-# else
-# define PLASMA_POTD_EXPORT KDE_IMPORT
-# endif
-#endif
-
-#else /* UNIX*/
-
-/* export statements for unix */
-#define PLASMA_POTD_EXPORT KDE_EXPORT
-#endif
-
-#endif
weathervalidator.h
weatherconfig.h
weatherlocation.h
- plasmaweather_export.h
+ ${CMAKE_CURRENT_BINARY_DIR}/plasmaweather_export.h
)
add_library(plasmaweather SHARED ${plasmaweather_LIB_SRCS})
-target_link_libraries(plasmaweather ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4WORKSPACE_WEATHERION_LIBRARY})
-set_target_properties(plasmaweather PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
+target_link_libraries(plasmaweather
+ ${KDE4_PLASMA_LIBS}
+ ${KDE4_KDEUI_LIBS}
+ ${KDE4WORKSPACE_WEATHERION_LIBRARY}
+)
+
+set_target_properties(plasmaweather PROPERTIES
+ VERSION ${GENERIC_LIB_VERSION}
+ SOVERSION ${GENERIC_LIB_SOVERSION}
+)
+
+generate_export_header(plasmaweather)
+
install(TARGETS plasmaweather ${INSTALL_TARGETS_DEFAULT_ARGS})
# nothing outside of kdeplasma-addons uses this library, and the API is not stable -> do not install headers!
#install(FILES ${plasmaweather_HEADERS} DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasmaweather COMPONENT Devel)
+++ /dev/null
-/* This file is part of the KDE project
- Copyright (C) 2007 David Faure <faure@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 PLASMAWEATHER_EXPORT_H
-#define PLASMAWEATHER_EXPORT_H
-
-/* needed for KDE_EXPORT and KDE_IMPORT macros */
-#include <kdemacros.h>
-
-#ifndef PLASMAWEATHER_EXPORT
-# if defined(MAKE_PLASMAWEATHER_LIB)
- /* We are building this library */
-# define PLASMAWEATHER_EXPORT KDE_EXPORT
-# else
- /* We are using this library */
-# define PLASMAWEATHER_EXPORT KDE_IMPORT
-# endif
-#endif
-
-# ifndef PLASMAWEATHER_EXPORT_DEPRECATED
-# define PLASMAWEATHER_EXPORT_DEPRECATED KDE_DEPRECATED PLASMAWEATHER_EXPORT
-# endif
-
-#endif
project(plasma-wallpaper-weather)
+include_directories(
+ # for plasmaweather_export.h
+ ${kdeplasma-addons_BINARY_DIR}/libs/plasmaweather
+)
+
set(weather_SRCS
weatherwallpaper.cpp
backgrounddelegate.cpp
#include <kdemacros.h>
/* export statements for unix */
-#ifdef MAKE_KGETCORE_LIB
+#ifdef kgetcore_EXPORTS
# define KGET_EXPORT KDE_EXPORT
#else
# define KGET_EXPORT KDE_IMPORT
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/komparepart
+ ${CMAKE_CURRENT_BINARY_DIR}/libdialogpages
${CMAKE_CURRENT_SOURCE_DIR}/libdialogpages
${CMAKE_CURRENT_SOURCE_DIR}/interfaces
${CMAKE_CURRENT_SOURCE_DIR}/komparenavtreepart
${CMAKE_CURRENT_SOURCE_DIR}/komparepart
+ ${CMAKE_CURRENT_BINARY_DIR}/libkomparediff2
${CMAKE_CURRENT_SOURCE_DIR}/libkomparediff2
)
+++ /dev/null
-/***************************************************************************
- * Copyright 2007 Andreas Pakulat <apaku@gmx.de> *
- * Copyright 2006 Matt Rogers <mattr@kde.org> *
- * Copyright 2004 Jarosław Staniek <staniek@kde.org> *
- * *
- * This program 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 program 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 General Public License for more details. *
- * *
- * You should have received a copy of the GNU Library General Public *
- * License along with this program; if not, write to the *
- * Free Software Foundation, Inc., *
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- ***************************************************************************/
-
-#ifndef KOMPAREINTERFACEEXPORT_H
-#define KOMPAREINTERFACEEXPORT_H
-
-/* needed for KDE_EXPORT macros */
-#include <kdemacros.h>
-
-#ifndef DIFF2_EXPORT
-# ifdef MAKE_DIFF2_LIB
-# define DIFF2_EXPORT KDE_EXPORT
-# else
-# define DIFF2_EXPORT KDE_IMPORT
-# endif
-#endif
-
-#endif // KOMPAREINTERFACEEXPORT_H
-
-include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../libdiff2 ${CMAKE_CURRENT_SOURCE_DIR}/../komparepart ${CMAKE_CURRENT_SOURCE_DIR}/../libkomparediff2 )
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}/../libdiff2
+ ${CMAKE_CURRENT_SOURCE_DIR}/../komparepart
+ ${CMAKE_CURRENT_BINARY_DIR}/../libkomparediff2
+ ${CMAKE_CURRENT_SOURCE_DIR}/../libkomparediff2
+)
########### next target ###############
-include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../libdialogpages ${CMAKE_CURRENT_SOURCE_DIR}/../interfaces ${CMAKE_CURRENT_SOURCE_DIR}/../libkomparediff2 )
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}/../libdialogpages
+ ${CMAKE_CURRENT_SOURCE_DIR}/../libdialogpages
+ ${CMAKE_CURRENT_SOURCE_DIR}/../interfaces
+ ${CMAKE_CURRENT_BINARY_DIR}/../libkomparediff2
+ ${CMAKE_CURRENT_SOURCE_DIR}/../libkomparediff2
+)
########### next target ###############
########### next target ###############
set(dialogpages_PART_SRCS
- filessettings.cpp
- viewsettings.cpp
- pagebase.cpp
- diffpage.cpp
- filespage.cpp
- viewpage.cpp )
+ filessettings.cpp
+ viewsettings.cpp
+ pagebase.cpp
+ diffpage.cpp
+ filespage.cpp
+ viewpage.cpp
+)
add_library(komparedialogpages SHARED ${dialogpages_PART_SRCS})
-include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../libkomparediff2 )
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}/../libkomparediff2
+ ${CMAKE_CURRENT_SOURCE_DIR}/../libkomparediff2
+)
-target_link_libraries(komparedialogpages komparediff2 ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
+target_link_libraries(komparedialogpages
+ ${KDE4_KDEUI_LIBS}
+ ${KDE4_KIO_LIBS}
+ komparediff2
+)
-set_target_properties(komparedialogpages PROPERTIES VERSION ${GENERIC_LIB_VERSION}
-SOVERSION ${GENERIC_LIB_SOVERSION} )
+set_target_properties(komparedialogpages PROPERTIES
+ VERSION ${GENERIC_LIB_VERSION}
+ SOVERSION ${GENERIC_LIB_SOVERSION}
+)
+
+generate_export_header(komparedialogpages)
install(TARGETS komparedialogpages ${INSTALL_TARGETS_DEFAULT_ARGS})
+++ /dev/null
-/***************************************************************************
- * Copyright 2007 Andreas Pakulat <apaku@gmx.de> *
- * Copyright 2006 Matt Rogers <mattr@kde.org> *
- * Copyright 2004 Jarosław Staniek <staniek@kde.org> *
- * *
- * This program 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 program 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 General Public License for more details. *
- * *
- * You should have received a copy of the GNU Library General Public *
- * License along with this program; if not, write to the *
- * Free Software Foundation, Inc., *
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- ***************************************************************************/
-
-#ifndef LIBDIALOGPAGESEXPORT_H
-#define LIBDIALOGPAGESEXPORT_H
-
-/* needed for KDE_EXPORT macros */
-#include <kdemacros.h>
-
-#ifndef DIALOGPAGES_EXPORT
-# ifdef MAKE_KOMPAREDIALOGPAGES_LIB
-# define DIALOGPAGES_EXPORT KDE_EXPORT
-# else
-# define DIALOGPAGES_EXPORT KDE_IMPORT
-# endif
-#endif
-
-#endif
-
#define DIFFPAGE_H
#include "pagebase.h"
-#include "dialogpagesexport.h"
+#include "komparedialogpages_export.h"
#include <QCheckBox>
#include <QDialog>
class DiffSettings;
-class DIALOGPAGES_EXPORT DiffPage : public PageBase
+class KOMPAREDIALOGPAGES_EXPORT DiffPage : public PageBase
{
Q_OBJECT
public:
#define FILESPAGE_H
#include "pagebase.h"
-#include "dialogpagesexport.h"
+#include "komparedialogpages_export.h"
#include <QGroupBox>
class FilesSettings;
-class DIALOGPAGES_EXPORT FilesPage : public PageBase
+class KOMPAREDIALOGPAGES_EXPORT FilesPage : public PageBase
{
Q_OBJECT
public:
#include <settingsbase.h>
-#include "dialogpagesexport.h"
+#include "komparedialogpages_export.h"
class KConfig;
-class DIALOGPAGES_EXPORT FilesSettings : public SettingsBase
+class KOMPAREDIALOGPAGES_EXPORT FilesSettings : public SettingsBase
{
Q_OBJECT
public:
#define VIEWPAGE_H
#include "pagebase.h"
-#include "dialogpagesexport.h"
+#include "komparedialogpages_export.h"
#include <QFontComboBox>
#include <QSpinBox>
class ViewSettings;
-class DIALOGPAGES_EXPORT ViewPage : public PageBase
+class KOMPAREDIALOGPAGES_EXPORT ViewPage : public PageBase
{
Q_OBJECT
public:
#include <difference.h>
#include <settingsbase.h>
-#include "dialogpagesexport.h"
+#include "komparedialogpages_export.h"
-class DIALOGPAGES_EXPORT ViewSettings : public SettingsBase
+class KOMPAREDIALOGPAGES_EXPORT ViewSettings : public SettingsBase
{
Q_OBJECT
public:
add_library(komparediff2 SHARED ${komparediff2_SRCS})
-target_link_libraries(komparediff2 ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
+target_link_libraries(komparediff2
+ ${KDE4_KDECORE_LIBS}
+ ${KDE4_KDEUI_LIBS}
+ ${KDE4_KIO_LIBS}
+)
+
+set_target_properties(komparediff2 PROPERTIES
+ VERSION ${GENERIC_LIB_VERSION}
+ SOVERSION ${GENERIC_LIB_SOVERSION}
+)
-set_target_properties(komparediff2 PROPERTIES VERSION ${GENERIC_LIB_VERSION}
-SOVERSION ${GENERIC_LIB_SOVERSION} )
+generate_export_header(komparediff2)
install(TARGETS komparediff2 EXPORT LibKompareDiff2Targets ${INSTALL_TARGETS_DEFAULT_ARGS})
add_subdirectory(tests)
endif()
-install(FILES
- diff2export.h
+install(
+ FILES
settingsbase.h
diffsettings.h
komparemodellist.h
marker.h
kompare.h
diffhunk.h
+ ${CMAKE_CURRENT_BINARY_DIR}/komparediff2_export.h
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/libkomparediff2 COMPONENT Devel
)
+++ /dev/null
-/***************************************************************************
- * Copyright 2007 Andreas Pakulat <apaku@gmx.de> *
- * Copyright 2006 Matt Rogers <mattr@kde.org> *
- * Copyright 2004 Jarosław Staniek <staniek@kde.org> *
- * *
- * This program 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 program 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 General Public License for more details. *
- * *
- * You should have received a copy of the GNU Library General Public *
- * License along with this program; if not, write to the *
- * Free Software Foundation, Inc., *
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- ***************************************************************************/
-
-#ifndef LIBDIFF2EXPORT_H
-#define LIBDIFF2EXPORT_H
-
-/* needed for KDE_EXPORT macros */
-#include <kdemacros.h>
-
-#ifndef DIFF2_EXPORT
-# ifdef MAKE_KOMPAREDIFF2_LIB
-# define DIFF2_EXPORT KDE_EXPORT
-# else
-# define DIFF2_EXPORT KDE_IMPORT
-# endif
-#endif
-
-#endif
-
#include <qvector.h>
#include <kdebug.h>
-#include "diff2export.h"
+#include "komparediff2_export.h"
#include "marker.h"
#include <QString>
namespace Diff2
{
-class DIFF2_EXPORT DifferenceString
+class KOMPAREDIFF2_EXPORT DifferenceString
{
public:
DifferenceString()
typedef QVector<DifferenceString*>::iterator DifferenceStringListIterator;
typedef QVector<DifferenceString*>::const_iterator DifferenceStringListConstIterator;
-class DIFF2_EXPORT Difference : public QObject
+class KOMPAREDIFF2_EXPORT Difference : public QObject
{
Q_OBJECT
public:
#include "diffhunk.h"
#include "kompare.h"
-#include "diff2export.h"
+#include "komparediff2_export.h"
namespace Diff2
{
class DiffHunk;
class Difference;
-class DIFF2_EXPORT DiffModel : public QObject
+class KOMPAREDIFF2_EXPORT DiffModel : public QObject
{
Q_OBJECT
public:
#include <QtCore/QList> // include for the base class
#include "diffmodel.h"
-#include "diff2export.h"
+#include "komparediff2_export.h"
namespace Diff2
{
typedef QList<DiffModel*>::Iterator DiffModelListIterator;
typedef QList<DiffModel*>::ConstIterator DiffModelListConstIterator;
-class DIFF2_EXPORT DiffModelList : public QList<DiffModel*>
+class KOMPAREDIFF2_EXPORT DiffModelList : public QList<DiffModel*>
{
public:
DiffModelList() {}
#include "kompare.h"
#include "settingsbase.h"
-#include "diff2export.h"
+#include "komparediff2_export.h"
-class DIFF2_EXPORT DiffSettings : public SettingsBase
+class KOMPAREDIFF2_EXPORT DiffSettings : public SettingsBase
{
Q_OBJECT
public:
#include <kurl.h>
-#include "diff2export.h"
+#include "komparediff2_export.h"
// Forward declaration needed
class KTempDir;
/*
** This should be removed and put somewhere else
*/
-class DIFF2_EXPORT KompareFunctions
+class KOMPAREDIFF2_EXPORT KompareFunctions
{
public:
static QString constructRelativePath( const QString& from, const QString& to )
#include "diffmodel.h"
#include "diffmodellist.h"
#include "kompare.h"
-#include "diff2export.h"
+#include "komparediff2_export.h"
class KAction;
namespace Diff2
{
-class DIFF2_EXPORT KompareModelList : public QObject
+class KOMPAREDIFF2_EXPORT KompareModelList : public QObject
{
Q_OBJECT
public:
#define MARKER_H
#include <QList>
-#include "diff2export.h"
+#include "komparediff2_export.h"
namespace Diff2 {
-class DIFF2_EXPORT Marker
+class KOMPAREDIFF2_EXPORT Marker
{
public:
enum Type { Start = 0, End = 1 };
#define SETTINGSBASE_H
#include <QtCore/QObject>
+#include <QWidget>
#include "kompare.h"
-#include "diff2export.h"
+#include "komparediff2_export.h"
-#include <QWidget>
class KConfig;
-class DIFF2_EXPORT SettingsBase : public QObject
+class KOMPAREDIFF2_EXPORT SettingsBase : public QObject
{
Q_OBJECT
public:
)
kde4_add_test(kompare-interactiveDiffTest ${interactiveDiffTest_SRCS})
-set_target_properties(kompare-interactiveDiffTest PROPERTIES COMPILE_FLAGS "-DDIFF2_EXPORT=")
target_link_libraries(kompare-interactiveDiffTest
${QT_QTTEST_LIBRARY}
${KDE4_KDECORE_LIBS}
)
kde4_add_test(kompare-levenshteintest ${levenshteinTest_SRCS})
-set_target_properties(kompare-levenshteintest PROPERTIES COMPILE_FLAGS "-DDIFF2_EXPORT=")
target_link_libraries(kompare-levenshteintest
${QT_QTTEST_LIBRARY}
${QT_QTCORE_LIBRARY}
-
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=5010)
set(krdccore_SRCS
target_link_libraries(krdccore ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS})
-set_target_properties(krdccore PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
+set_target_properties(krdccore PROPERTIES
+ VERSION ${GENERIC_LIB_VERSION}
+ SOVERSION ${GENERIC_LIB_SOVERSION}
+)
+
+generate_export_header(krdccore)
install(TARGETS krdccore ${INSTALL_TARGETS_DEFAULT_ARGS})
+++ /dev/null
-/* This file is part of the KDE project
- Copyright (C) 2006 David Faure <faure@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 KRDCCORE_EXPORT_H
-#define KRDCCORE_EXPORT_H
-
-/* needed for KDE_EXPORT and KDE_IMPORT macros */
-#include <kdemacros.h>
-
-#ifndef KRDCCORE_EXPORT
-# if defined(KDELIBS_STATIC_LIBS)
- /* No export/import for static libraries */
-# define KRDCCORE_EXPORT
-# elif defined(MAKE_KRDCCORE_LIB)
- /* We are building this library */
-# define KRDCCORE_EXPORT KDE_EXPORT
-# else
- /* We are using this library */
-# define KRDCCORE_EXPORT KDE_IMPORT
-# endif
-#endif
-
-#endif
#else
#include <KUrl>
#include <KWallet/Wallet>
- #include <krdc_export.h>
+ #include "krdccore_export.h"
#endif
#include <QWidget>
options/ksane_opt_slider.cpp
options/ksane_opt_fslider.cpp
options/ksane_opt_combo.cpp
- )
+)
add_library(ksane SHARED ${ksane_LIB_SRCS})
-TARGET_LINK_LIBRARIES(ksane ${KDE4_KDEUI_LIBS}
- ${SANE_LIBRARY}
- )
+TARGET_LINK_LIBRARIES(ksane
+ ${KDE4_KDEUI_LIBS}
+ ${SANE_LIBRARY}
+)
SET_TARGET_PROPERTIES(ksane PROPERTIES
VERSION ${KSANE_LIB_SO_VERSION_STRING}
SOVERSION ${KSANE_LIB_SO_CUR_VERSION}
)
+generate_export_header(ksane BASE_NAME libksane)
+
OPTION(COMPILE_VIEWER_TESTAPP "Compile a small test application for the viewer")
IF (COMPILE_VIEWER_TESTAPP)
INSTALL(
FILES
ksane.h
- libksane_export.h
+ ${CMAKE_CURRENT_BINARY_DIR}/libksane_export.h
${CMAKE_CURRENT_BINARY_DIR}/version.h
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/libksane
COMPONENT Devel
* @return 'true' if all goes well and 'false' if no device is open. */
bool closeDevice();
- KDE_DEPRECATED bool makeQImage(const QByteArray &, int, int, int, ImageFormat, QImage &);
+ LIBKSANE_DEPRECATED_EXPORT bool makeQImage(const QByteArray &, int, int, int, ImageFormat, QImage &);
/**
* This is a convenience method that can be used to create a QImage from the image data
+++ /dev/null
-/* This file is part of the KDE project
- Copyright (C) 2007 David Faure <faure@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 LIBKSANE_EXPORT_H
-#define LIBKSANE_EXPORT_H
-
-/* needed for KDE_EXPORT and KDE_IMPORT macros */
-#include <kdemacros.h>
-
-#ifndef LIBKSANE_EXPORT
-# if defined(MAKE_KSANE_LIB)
- /* We are building this library */
-# define LIBKSANE_EXPORT KDE_EXPORT
-# else
- /* We are using this library */
-# define LIBKSANE_EXPORT KDE_IMPORT
-# endif
-#endif
-
-# ifndef LIBKSANE_EXPORT_DEPRECATED
-# define LIBKSANE_EXPORT_DEPRECATED KDE_DEPRECATED LIBKSANE_EXPORT
-# endif
-
-#endif
#include <kdemacros.h>
#ifndef KTORRENT_EXPORT
-# if defined(MAKE_KTORRENT_LIB) || defined(MAKE_KGET_BITTORRENTFACTORY_LIB)
+# if defined(ktorrent_EXPORTS) || defined(kget_bittorrentfactory_EXPORTS)
/* We are building this library */
# define KTORRENT_EXPORT KDE_EXPORT
# else
core/form.h
core/generator.h
core/global.h
- core/okular_export.h
core/page.h
core/pagesize.h
core/pagetransition.h
core/fileprinter.h
core/observer.h
${CMAKE_CURRENT_BINARY_DIR}/settings_core.h
+ ${CMAKE_CURRENT_BINARY_DIR}/okular_export.h
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/okular/core
COMPONENT Devel
)
KDE4::kmediaplayer
)
-set_target_properties(okularcore PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
+set_target_properties(okularcore PROPERTIES
+ VERSION ${GENERIC_LIB_VERSION}
+ SOVERSION ${GENERIC_LIB_SOVERSION}
+)
+
+generate_export_header(okularcore BASE_NAME okular)
install(TARGETS okularcore ${INSTALL_TARGETS_DEFAULT_ARGS} )
kde4_add_plugin(okularpart ${okularpart_SRCS})
-target_link_libraries(okularpart okularcore ${KDE4_KPARTS_LIBS} ${KDE4_KPRINTUTILS_LIBS} ${MATH_LIB} ${KDE4_SOLID_LIBS})
+target_link_libraries(okularpart
+ ${KDE4_KPARTS_LIBS}
+ ${KDE4_KPRINTUTILS_LIBS}
+ ${MATH_LIB}
+ ${KDE4_SOLID_LIBS}
+ okularcore
+)
+
+generate_export_header(okularpart)
install(TARGETS okularpart DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
Inherits=SettingsCore
Mutators=true
Singleton=true
-Visibility=OKULAR_PART_EXPORT
-IncludeFiles=settings_core.h,okular_part_export.h
+Visibility=OKULARPART_EXPORT
+IncludeFiles=settings_core.h,okularpart_export.h
SourceIncludeFiles=kstandarddirs.h,qdom.h
MemberVariables=dpointer
Mutators=true
Singleton=true
Visibility=OKULAR_EXPORT
-IncludeFiles=core/okular_export.h
+IncludeFiles=okular_export.h
MemberVariables=dpointer
+++ /dev/null
-/***************************************************************************
- * Copyright (C) 2006 by Pino Toscano <toscano.pino@tiscali.it> *
- * *
- * 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. *
- ***************************************************************************/
-
-#ifndef OKULAR_EXPORT_H
-#define OKULAR_EXPORT_H
-
-/* needed for KDE_EXPORT macros */
-#include <kdemacros.h>
-
-
-#if defined _WIN32 || defined _WIN64
-#ifndef OKULAR_EXPORT
-# ifdef MAKE_OKULARCORE_LIB
-# define OKULAR_EXPORT KDE_EXPORT
-# else
-# define OKULAR_EXPORT KDE_IMPORT
-# endif
-#endif
-
-#else /* UNIX*/
-
-
-/* export statements for unix */
-#define OKULAR_EXPORT KDE_EXPORT
-#endif
-
-#endif
* @note the generator will take ownership of the converter, so you
* don't have to delete it yourself
*/
- KDE_DEPRECATED TextDocumentGenerator( TextDocumentConverter *converter, QObject *parent, const QVariantList &args );
+ OKULAR_DEPRECATED_EXPORT TextDocumentGenerator( TextDocumentConverter *converter, QObject *parent, const QVariantList &args );
virtual ~TextDocumentGenerator();
// [INHERITED] load a document and fill up the pagesVector
+++ /dev/null
-/***************************************************************************
- * Copyright (C) 2006 by Luigi Toscano <luigi.toscano@tiscali.it> *
- * *
- * 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. *
- ***************************************************************************/
-
-#ifndef _KVIEWSHELL_EXPORT_H_
-#define _KVIEWSHELL_EXPORT_H_
-
-#include <kdemacros.h>
-
-#define KVIEWSHELL_EXPORT
-
-#endif
#ifndef PAGESIZE_H
#define PAGESIZE_H
-#include "kviewshell_export.h"
-
#include "simplePageSize.h"
#include <QObject>
@version 1.0.0
*/
-class KVIEWSHELL_EXPORT pageSize : public QObject, public SimplePageSize
+class pageSize : public QObject, public SimplePageSize
{
Q_OBJECT
#ifndef SIMPLEPAGESIZE_H
#define SIMPLEPAGESIZE_H
-#include "kviewshell_export.h"
-
#include "length.h"
#include <QSize>
-
#include <QPaintDevice>
#include <QString>
-
+#include <kdemacros.h>
/** \brief This class represents physical page sizes.
#ifndef _OKULAR_CONFIGINTERFACE_H_
#define _OKULAR_CONFIGINTERFACE_H_
-#include "../core/okular_export.h"
+#include "okular_export.h"
#include <QtCore/QObject>
#ifndef _OKULAR_GUIINTERFACE_H_
#define _OKULAR_GUIINTERFACE_H_
-#include "../core/okular_export.h"
+#include "okular_export.h"
#include <QtCore/QObject>
#ifndef _OKULAR_PRINTINTERFACE_H_
#define _OKULAR_PRINTINTERFACE_H_
-#include "../core/okular_export.h"
+#include "okular_export.h"
#include <QtCore/QObject>
#ifndef _OKULAR_SAVEINTERFACE_H_
#define _OKULAR_SAVEINTERFACE_H_
-#include "../core/okular_export.h"
+#include "okular_export.h"
#include <QtCore/QObject>
#ifndef _OKULAR_VIEWERINTERFACE_H_
#define _OKULAR_VIEWERINTERFACE_H_
-#include "../core/okular_export.h"
+#include "okular_export.h"
#include <QtCore/QObject>
#include <QtCore/QString>
+++ /dev/null
-/***************************************************************************
- * Copyright (C) 2013 by Albert Astals Cid <aacid@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. *
- ***************************************************************************/
-
-#ifndef OKULAR_PART_EXPORT_H
-#define OKULAR_PART_EXPORT_H
-
-/* needed for KDE_EXPORT macros */
-#include <kdemacros.h>
-
-
-#if defined _WIN32 || defined _WIN64
-#ifndef OKULAR_PART_EXPORT
-# ifdef MAKE_OKULARPART_LIB
-# define OKULAR_PART_EXPORT KDE_EXPORT
-# else
-# define OKULAR_PART_EXPORT KDE_IMPORT
-# endif
-#endif
-
-#else /* UNIX*/
-
-
-/* export statements for unix */
-#define OKULAR_PART_EXPORT KDE_EXPORT
-#endif
-
-#endif
#include "kdocumentviewer.h"
#include "interfaces/viewerinterface.h"
-#include "okular_part_export.h"
+#include "okularpart_export.h"
#include <QtDBus/QtDBus>
* @author Wilco Greven <greven@kde.org>
* @version 0.2
*/
-class OKULAR_PART_EXPORT Part : public KParts::ReadWritePart, public Okular::DocumentObserver, public KDocumentViewer, public Okular::ViewerInterface
+class OKULARPART_EXPORT Part : public KParts::ReadWritePart, public Okular::DocumentObserver, public KDocumentViewer, public Okular::ViewerInterface
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.kde.okular")
#include "core/observer.h"
#include <QtCore/qabstractitemmodel.h>
-#include "okular_part_export.h"
+#include "okularpart_export.h"
#include <QDomNode>
#include <QModelIndex>
class PartTest;
}
-class OKULAR_PART_EXPORT TOC : public QWidget, public Okular::DocumentObserver
+class OKULARPART_EXPORT TOC : public QWidget, public Okular::DocumentObserver
{
Q_OBJECT
friend class Okular::PartTest;
-include_directories(${CMAKE_SOURCE_DIR}/libksane)
+include_directories(
+ ${CMAKE_SOURCE_DIR}/libksane
+ ${CMAKE_BINARY_DIR}/libksane/libksane
+)
set(skanlite_SRCS
main.cpp