kdecore: remove redundant headers

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-04-08 13:30:16 +00:00
parent dec5dfe89f
commit d988729978
8 changed files with 6 additions and 90 deletions

View file

@ -402,7 +402,6 @@ install(
FILES
kdecore_export.h
compression/kfilterbase.h
compression/karchive_export.h
compression/kfilterdev.h
config/kconfig.h
config/kconfigbase.h
@ -450,7 +449,6 @@ install(
auth/kauthactionreply.h
auth/kauthactionwatcher.h
auth/kauthhelpersupport.h
auth/kauth.h
services/kmimetype.h
services/kmimetypetrader.h
services/kservice.h

View file

@ -1,29 +0,0 @@
/*
* Copyright (C) 2008 Nicola Gigante <nicola.gigante@gmail.com>
* Copyright (C) 2009 Dario Freddi <drf@kde.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 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 Lesser 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 KAUTH_H
#define KAUTH_H
#include "kauthaction.h"
#include "kauthactionreply.h"
#include "kauthactionwatcher.h"
#include "kauthhelpersupport.h"
#endif

View file

@ -85,7 +85,7 @@
The helper.h file declares the class that implements the helper. It looks like:
@code
#include <kauth.h>
#include <kauthactionreply.h>
using namespace KAuth;

View file

@ -1,52 +0,0 @@
/* 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 KARCHIVE_EXPORT_H
#define KARCHIVE_EXPORT_H
#ifdef COMPILE_KARCHIVE_STANDALONE
/* needed for KDE_EXPORT and KDE_IMPORT macros */
#include <kdemacros.h>
#ifndef KARCHIVE_EXPORT
# if defined(MAKE_KARCHIVE_LIB)
/* We are building this library */
# define KARCHIVE_EXPORT KDE_EXPORT
# else
/* We are using this library */
# define KARCHIVE_EXPORT KDE_IMPORT
# endif
#endif
#else
/* KDE4 compatibility */
#include <kdecore_export.h>
#define KARCHIVE_EXPORT KDECORE_EXPORT
#endif
# ifndef KARCHIVE_EXPORT_DEPRECATED
# define KARCHIVE_EXPORT_DEPRECATED KDE_DEPRECATED KARCHIVE_EXPORT
# endif
#endif

View file

@ -20,7 +20,7 @@
#ifndef KFILTERBASE_H
#define KFILTERBASE_H
#include <karchive_export.h>
#include <kdecore_export.h>
#include <QtCore/qiodevice.h>
@ -32,7 +32,7 @@ class QIODevice;
* Don't use directly, use KFilterDev instead.
* @internal
*/
class KARCHIVE_EXPORT KFilterBase
class KDECORE_EXPORT KFilterBase
{
public:
KFilterBase();

View file

@ -18,7 +18,7 @@
#ifndef KFILTERDEV_H
#define KFILTERDEV_H
#include <karchive_export.h>
#include <kdecore_export.h>
#include <QtCore/qfile.h>
class QFile;
@ -32,7 +32,7 @@ class KFilterBase;
*
* @author David Faure <faure@kde.org>
*/
class KARCHIVE_EXPORT KFilterDev : public QIODevice
class KDECORE_EXPORT KFilterDev : public QIODevice
{
public:
/**

View file

@ -29,7 +29,7 @@
*
* @internal
*/
class KARCHIVE_EXPORT KGzipFilter : public KFilterBase
class KDECORE_EXPORT KGzipFilter : public KFilterBase
{
public:
KGzipFilter();

View file

@ -20,7 +20,6 @@
#ifndef KAUTOSAVEFILE_H
#define KAUTOSAVEFILE_H
#include <kdecore_export.h>
#include "kurl.h"
#include <QtCore/qfile.h>