diff options
| author | Peter Penz <[email protected]> | 2009-03-03 21:17:35 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-03-03 21:17:35 +0000 |
| commit | aed1525abcc82dc32852d2f875e49fc7e2fe0aac (patch) | |
| tree | ebb22929c674e1b9f0330f1a64339c80b337d25b /src/panels/information/informationpanel.h | |
| parent | 3fa4d31152a36dee3dadee9eaaac12c39f2d3ac8 (diff) | |
added dialog to configure which meta data should be shown in the Information Panel
svn path=/trunk/KDE/kdebase/apps/; revision=934828
Diffstat (limited to 'src/panels/information/informationpanel.h')
| -rw-r--r-- | src/panels/information/informationpanel.h | 26 |
1 files changed, 17 insertions, 9 deletions
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 <panels/panel.h> +#include <panels/information/informationpaneldialog.h> -#include <QtGui/QPushButton> -#include <QtGui/QPixmap> -#include <QtCore/QEvent> -#include <QtGui/QLabel> -#include <QtCore/QList> +#include <QPushButton> +#include <QPixmap> +#include <QEvent> +#include <QLabel> +#include <QList> +#include <QPointer> #include <kurl.h> #include <kmimetype.h> #include <kdesktopfileactions.h> #include <kvbox.h> +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<InformationPanelDialog> m_dialog; }; #endif // INFORMATIONPANEL_H |
