summaryrefslogtreecommitdiff
path: root/src/nepomuk/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/nepomuk/utils')
-rw-r--r--src/nepomuk/utils/nepomukutils_export.h40
-rw-r--r--src/nepomuk/utils/resourcemodel.h4
-rw-r--r--src/nepomuk/utils/simpleresourcemodel.h4
3 files changed, 2 insertions, 46 deletions
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 <faure@kde.org>
- Copyright (C) 2010 Sebastian Trueg <trueg@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 NEPOMUKUTILS_EXPORT_H
-#define NEPOMUKUTILS_EXPORT_H
-
-/* needed for KDE_EXPORT and KDE_IMPORT macros */
-#include <kdemacros.h>
-
-#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 <QtCore/QAbstractItemModel>
-#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 <Nepomuk2/Resource>
#include <Nepomuk2/Query/Result>
@@ -44,7 +42,7 @@ namespace Nepomuk2 {
*
* \since 4.6
*/
- class NEPOMUKUTILS_EXPORT SimpleResourceModel : public ResourceModel
+ class SimpleResourceModel : public ResourceModel
{
Q_OBJECT