Commit 73cc9990 authored by Michał Małek's avatar Michał Małek
Browse files

Cleaned up header inclusion

parent 1d4f4777
......@@ -25,11 +25,12 @@
#include "libkcddb/sites.h"
#include "libkcddb/lookup.h"
#include <qlist.h>
#include <KI18n/KLocalizedString>
#include <kmessagebox.h>
#include <keditlistwidget.h>
#include <kurlrequester.h>
#include <KIOWidgets/KUrlRequester>
#include <KWidgetsAddons/KMessageBox>
#include <KWidgetsAddons/KEditListWidget>
#include <QtCore/QList>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QInputDialog>
......
########### install files ###############
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kcontrol/cddbretrieval)
......@@ -25,15 +25,15 @@
#include "libkcddb/cache.h"
#include "libkcddb/submit.h"
#include <KCoreAddons/KPluginFactory>
#include <KI18n/KLocalizedString>
#include <KWidgetsAddons/KMessageBox>
#include <QtCore/QDebug>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QVBoxLayout>
#include <KI18n/KLocalizedString>
#include <KCoreAddons/KPluginFactory>
#include <kmessagebox.h>
K_PLUGIN_FACTORY(KCDDBFactory, registerPlugin<CDDBModule>();)
K_EXPORT_PLUGIN(KCDDBFactory( "kcmcddb" ))
......
......@@ -20,7 +20,7 @@
#ifndef KCMCDDB_H
#define KCMCDDB_H
#include <kcmodule.h>
#include <KConfigWidgets/KCModule>
#include "libkcddb/kcddbconfig.h"
class CDDBConfigWidget;
......
......@@ -21,7 +21,6 @@
#ifndef KCDDB_ASYNC_CDDBP_LOOKUP_H
#define KCDDB_ASYNC_CDDBP_LOOKUP_H
#include "cddbplookup.h"
namespace KCDDB
......
......@@ -21,9 +21,7 @@
#include "asynchttplookup.h"
#include "logging.h"
#include <qstringlist.h>
#include <kio/job.h>
#include <KIO/Job>
namespace KCDDB
{
......
......@@ -19,7 +19,7 @@
#include "asynchttpsubmit.h"
#include <kio/job.h>
#include <KIO/Job>
#include <QtCore/QDebug>
namespace KCDDB
......
......@@ -22,8 +22,7 @@
#include "cdinfo.h"
#include <kio/job.h>
#include <KIO/Job>
namespace KCDDB
{
......
......@@ -31,9 +31,9 @@
#include "musicbrainz/musicbrainzlookup.h"
#endif
#include <QFile>
#include <QDir>
#include <QTextStream>
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QtCore/QTextStream>
namespace KCDDB
{
......
......@@ -22,12 +22,11 @@
#ifndef KCDDB_CACHE_H
#define KCDDB_CACHE_H
#include <qpair.h>
#include <QString>
#include "kcddb.h"
#include "cdinfo.h"
#include <QtCore/QString>
namespace KCDDB
{
class Config;
......
......@@ -8,8 +8,8 @@
#ifndef KCDDB_CATEGORIES_H
#define KCDDB_CATEGORIES_H
#include <QString>
#include <qstringlist.h>
#include <QtCore/QString>
#include <QtCore/QStringList>
namespace KCDDB
{
......
......@@ -23,11 +23,11 @@
#include "categories.h"
#include <qstringlist.h>
#include <KCoreAddons/KStringHandler>
#include <KI18n/KLocalizedString>
#include <QtCore/QDebug>
#include <kstringhandler.h>
#include <KI18n/KLocalizedString>
#include <QtCore/QStringList>
namespace KCDDB
{
......
......@@ -22,12 +22,13 @@
#ifndef KCDDB_CDDB_H
#define KCDDB_CDDB_H
#include <QtCore/QString>
#include <QtCore/QList>
#include <libkcddb/kcddb.h>
#include <libkcddb/cdinfo.h>
#include <libkcddb/kcddbconfig.h>
#include <QtCore/QList>
#include <QtCore/QString>
namespace KCDDB
{
class CDDB
......
......@@ -22,7 +22,7 @@
#include "cddbplookup.h"
#include "logging.h"
#include <qbytearray.h>
#include <QtCore/QByteArray>
namespace KCDDB
{
......
......@@ -22,10 +22,10 @@
#ifndef KCDDB_CDDBP_LOOKUP_H
#define KCDDB_CDDBP_LOOKUP_H
#include <QtNetwork/QTcpSocket>
#include "lookup.h"
#include <QtNetwork/QTcpSocket>
namespace KCDDB
{
class CDDBPLookup : public Lookup
......
......@@ -26,8 +26,8 @@
#include "cddb.h"
#include "logging.h"
#include <KCoreAddons/KStringHandler>
#include <QtCore/QDebug>
#include <kstringhandler.h>
#include <QMap>
......
......@@ -22,9 +22,9 @@
#ifndef KCDDB_CDINFO_H
#define KCDDB_CDINFO_H
#include <libkcddb/kcddb_export.h>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <libkcddb/kcddb_export.h>
namespace KCDDB
{
......
......@@ -19,9 +19,9 @@
#include "cdinfoencodingwidget.h"
#include <QtCore/QTextCodec>
#include <KCodecs/KCharsets>
#include <KI18n/KLocalizedString>
#include <QtCore/QTextCodec>
namespace KCDDB
{
......
......@@ -21,10 +21,10 @@
#ifndef KCDDB_CLIENT_H
#define KCDDB_CLIENT_H
#include "kcddbconfig.h"
#include "cdinfo.h"
#include <QtCore/QObject>
#include "kcddb.h"
#include "kcddbconfig.h"
#include <QtCore/QObject>
namespace KCDDB
{
......
......@@ -8,8 +8,8 @@
#ifndef KCDDB_GENRES_H
#define KCDDB_GENRES_H
#include <QtCore/QStringList>
#include <libkcddb/kcddb_export.h>
#include <QtCore/QStringList>
namespace KCDDB
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment