From aed1525abcc82dc32852d2f875e49fc7e2fe0aac Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 3 Mar 2009 21:17:35 +0000 Subject: added dialog to configure which meta data should be shown in the Information Panel svn path=/trunk/KDE/kdebase/apps/; revision=934828 --- src/panels/information/informationpanel.h | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'src/panels/information/informationpanel.h') diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h index 997ba69bf..bc37f812a 100644 --- a/src/panels/information/informationpanel.h +++ b/src/panels/information/informationpanel.h @@ -21,27 +21,30 @@ #define INFORMATIONPANEL_H #include +#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include #include +class InformationPanelDialog; +class PhononWidget; +class PixmapViewer; +class MetaDataWidget; +class MetaTextLabel; class QPixmap; class QString; class KFileItem; class QLabel; class QScrollArea; -class PhononWidget; -class PixmapViewer; -class MetaDataWidget; -class MetaTextLabel; /** * @brief Panel for showing meta information of one ore more selected items. @@ -85,6 +88,9 @@ protected: /** @see QObject::eventFilter() */ virtual bool eventFilter(QObject* obj, QEvent* event); + /** @see QWidget::contextMenuEvent() */ + virtual void contextMenuEvent(QContextMenuEvent* event); + private slots: /** * Shows the information for the item of the URL which has been provided by @@ -196,6 +202,8 @@ private: QScrollArea* m_metaTextArea; MetaTextLabel* m_metaTextLabel; + + QPointer m_dialog; }; #endif // INFORMATIONPANEL_H -- cgit v1.3