┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/informationpanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/panels/information/informationpanel.h')
-rw-r--r--src/panels/information/informationpanel.h26
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