Commit 8cbaa7eb authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[phonon] Clean up includes and linkages

Remove some unused includes
Convert some includes to CamelCase
Link to KIOCore instead of KIOWidgets
parent bc0b0adb
......@@ -5,7 +5,7 @@ set(kde_PART_SRCS
)
add_library(kde MODULE ${kde_PART_SRCS})
target_link_libraries(kde ${PHONON_LIBRARY} KF5::I18n KF5::KIOWidgets KF5::Notifications)
target_link_libraries(kde ${PHONON_LIBRARY} KF5::CoreAddons KF5::WidgetsAddons KF5::I18n KF5::KIOCore KF5::Notifications)
kcoreaddons_desktop_to_json(kde phononbackend.desktop)
......
......@@ -29,8 +29,6 @@
#include <KLocalizedString>
#include <KMessageBox>
#include <KNotification>
#include <KService>
#include <KServiceTypeTrader>
#include <KSharedConfig>
#include "debug.h"
......
......@@ -23,7 +23,6 @@
#include <phonon/platformplugin.h>
#include <phonon/objectdescription.h>
#include <QObject>
#include <kservice.h>
namespace Phonon {
......
......@@ -19,10 +19,10 @@
#include "kiomediastream.h"
#include "kiomediastream_p.h"
#include <kprotocolmanager.h>
#include <kio/filejob.h>
#include <kio/job.h>
#include <KIO/FileJob>
#include <KLocalizedString>
#include <KProtocolManager>
#include "debug.h"
......
......@@ -21,7 +21,6 @@
#define PHONON_KIOMEDIASTREAM_H
#include <Phonon/AbstractMediaStream>
#include <KIO/Job>
class QUrl;
......
......@@ -21,7 +21,10 @@
#define KIOMEDIASTREAM_P_H
#include "kiomediastream.h"
#include <kio/jobclasses.h>
#include <QUrl>
#include <KIO/Job>
namespace Phonon {
......
Markdown is supported
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