mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
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:
parent
3b491c3ccd
commit
05a4d27813
|
@ -24,19 +24,15 @@
|
||||||
|
|
||||||
#include <KFileItem>
|
#include <KFileItem>
|
||||||
#include <config-baloo.h>
|
#include <config-baloo.h>
|
||||||
#ifndef HAVE_BALOO
|
|
||||||
class KFileMetaDataConfigurationWidget;
|
|
||||||
#else
|
|
||||||
namespace Baloo {
|
namespace Baloo {
|
||||||
class FileMetaDataConfigWidget;
|
class FileMetaDataConfigWidget;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
class QLabel;
|
class QLabel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Dialog which allows to configure which meta data should be shown
|
* @brief Dialog which allows to configure which meta data should be shown
|
||||||
* in the KFileMetaDataWidget.
|
* in the Baloo:FileMetaDataWidget.
|
||||||
*/
|
*/
|
||||||
class FileMetaDataConfigurationDialog : public QDialog
|
class FileMetaDataConfigurationDialog : public QDialog
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,13 +40,9 @@ namespace KIO {
|
||||||
class PreviewJob;
|
class PreviewJob;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef HAVE_BALOO
|
|
||||||
class KFileMetaDataWidget;
|
|
||||||
#else
|
|
||||||
namespace Baloo {
|
namespace Baloo {
|
||||||
class FileMetaDataWidget;
|
class FileMetaDataWidget;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Manages the widgets that display the meta information
|
* @brief Manages the widgets that display the meta information
|
||||||
|
@ -138,11 +134,7 @@ private:
|
||||||
PixmapViewer* m_preview;
|
PixmapViewer* m_preview;
|
||||||
PhononWidget* m_phononWidget;
|
PhononWidget* m_phononWidget;
|
||||||
QLabel* m_nameLabel;
|
QLabel* m_nameLabel;
|
||||||
#ifndef HAVE_BALOO
|
|
||||||
KFileMetaDataWidget* m_metaDataWidget;
|
|
||||||
#else
|
|
||||||
Baloo::FileMetaDataWidget* m_metaDataWidget;
|
Baloo::FileMetaDataWidget* m_metaDataWidget;
|
||||||
#endif
|
|
||||||
QScrollArea* m_metaDataArea;
|
QScrollArea* m_metaDataArea;
|
||||||
|
|
||||||
PlacesItemModel* m_placesItemModel;
|
PlacesItemModel* m_placesItemModel;
|
||||||
|
|
Loading…
Reference in a new issue