Remove last traces of KFileMetaDataWidget from information panel

Summary:
The whole information panel is not included when Baloo is not found,
so there is no need for the HAVE_BALOO guards.
KFileMetaDataWidget and KFileMetaDataConfigurationWidget were never part
of KF5, see https://git.reviewboard.kde.org/r/113153/

Test Plan: ctest

Reviewers: #frameworks, apol, ngraham, #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20513
This commit is contained in:
Stefan Brüns 2019-04-14 14:46:51 +02:00
parent 3b491c3ccd
commit 05a4d27813
2 changed files with 1 additions and 13 deletions

View file

@ -24,19 +24,15 @@
#include <KFileItem>
#include <config-baloo.h>
#ifndef HAVE_BALOO
class KFileMetaDataConfigurationWidget;
#else
namespace Baloo {
class FileMetaDataConfigWidget;
}
#endif
class QLabel;
/**
* @brief Dialog which allows to configure which meta data should be shown
* in the KFileMetaDataWidget.
* in the Baloo:FileMetaDataWidget.
*/
class FileMetaDataConfigurationDialog : public QDialog
{

View file

@ -40,13 +40,9 @@ namespace KIO {
class PreviewJob;
}
#ifndef HAVE_BALOO
class KFileMetaDataWidget;
#else
namespace Baloo {
class FileMetaDataWidget;
}
#endif
/**
* @brief Manages the widgets that display the meta information
@ -138,11 +134,7 @@ private:
PixmapViewer* m_preview;
PhononWidget* m_phononWidget;
QLabel* m_nameLabel;
#ifndef HAVE_BALOO
KFileMetaDataWidget* m_metaDataWidget;
#else
Baloo::FileMetaDataWidget* m_metaDataWidget;
#endif
QScrollArea* m_metaDataArea;
PlacesItemModel* m_placesItemModel;