From f0480ee767f35ad60f2643f38c4c3fb10cdc9dc7 Mon Sep 17 00:00:00 2001 From: Andrius da Costa Ribas Date: Wed, 1 Jan 2014 20:30:44 -0200 Subject: Fix inconsistent dll linkage - those sources aren't being used for a shared lib. REVIEW: 114804 --- src/nepomuk/utils/nepomukutils_export.h | 40 --------------------------------- src/nepomuk/utils/resourcemodel.h | 4 +--- src/nepomuk/utils/simpleresourcemodel.h | 4 +--- 3 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 src/nepomuk/utils/nepomukutils_export.h (limited to 'src/nepomuk/utils') diff --git a/src/nepomuk/utils/nepomukutils_export.h b/src/nepomuk/utils/nepomukutils_export.h deleted file mode 100644 index 718bd7c3..00000000 --- a/src/nepomuk/utils/nepomukutils_export.h +++ /dev/null @@ -1,40 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2007 David Faure - Copyright (C) 2010 Sebastian Trueg - - 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 NEPOMUKUTILS_EXPORT_H -#define NEPOMUKUTILS_EXPORT_H - -/* needed for KDE_EXPORT and KDE_IMPORT macros */ -#include - -#ifndef NEPOMUKUTILS_EXPORT -# if defined(KDELIBS_STATIC_LIBS) - /* No export/import for static libraries */ -# define NEPOMUKUTILS_EXPORT -# elif defined(MAKE_NEPOMUKUTILS_LIB) - /* We are building this library */ -# define NEPOMUKUTILS_EXPORT KDE_EXPORT -# else - /* We are using this library */ -# define NEPOMUKUTILS_EXPORT KDE_IMPORT -# endif -#endif - -#endif diff --git a/src/nepomuk/utils/resourcemodel.h b/src/nepomuk/utils/resourcemodel.h index 526c7ac0..5c345848 100644 --- a/src/nepomuk/utils/resourcemodel.h +++ b/src/nepomuk/utils/resourcemodel.h @@ -24,8 +24,6 @@ #include -#include "nepomukutils_export.h" - namespace Nepomuk2 { class Resource; @@ -54,7 +52,7 @@ namespace Nepomuk2 { * * \since 4.6 */ - class NEPOMUKUTILS_EXPORT ResourceModel : public QAbstractItemModel + class ResourceModel : public QAbstractItemModel { Q_OBJECT diff --git a/src/nepomuk/utils/simpleresourcemodel.h b/src/nepomuk/utils/simpleresourcemodel.h index 2f48d930..c3115e01 100644 --- a/src/nepomuk/utils/simpleresourcemodel.h +++ b/src/nepomuk/utils/simpleresourcemodel.h @@ -24,8 +24,6 @@ #include "resourcemodel.h" -#include "nepomukutils_export.h" - #include #include @@ -44,7 +42,7 @@ namespace Nepomuk2 { * * \since 4.6 */ - class NEPOMUKUTILS_EXPORT SimpleResourceModel : public ResourceModel + class SimpleResourceModel : public ResourceModel { Q_OBJECT -- cgit v1.2.1