diff options
| author | Peter Penz <[email protected]> | 2009-03-10 19:04:45 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-03-10 19:04:45 +0000 |
| commit | 7361b724e44421126a74aafed9923b97597abfc1 (patch) | |
| tree | 2d09b5fef52d20e81d573aba5b3d219e70ba0427 /src/panels/information/informationpanel.h | |
| parent | 69cb2c5db60909817f720fff2c2032b96fffc9e1 (diff) | |
provide a context menu for the Information Panel, which allows to show/hide meta information
svn path=/trunk/KDE/kdebase/apps/; revision=937910
Diffstat (limited to 'src/panels/information/informationpanel.h')
| -rw-r--r-- | src/panels/information/informationpanel.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h index bc37f812a..e8e497f98 100644 --- a/src/panels/information/informationpanel.h +++ b/src/panels/information/informationpanel.h @@ -21,15 +21,14 @@ #define INFORMATIONPANEL_H #include <panels/panel.h> -#include <panels/information/informationpaneldialog.h> #include <QPushButton> #include <QPixmap> #include <QEvent> #include <QLabel> #include <QList> -#include <QPointer> +#include <kconfig.h> #include <kurl.h> #include <kmimetype.h> #include <kdesktopfileactions.h> @@ -183,6 +182,12 @@ private: */ void reset(); + /** + * Assures that the settings for the meta information + * are initialized with proper default values. + */ + void initMetaInfoSettings(KConfigGroup& group); + void init(); private: @@ -202,8 +207,6 @@ private: QScrollArea* m_metaTextArea; MetaTextLabel* m_metaTextLabel; - - QPointer<InformationPanelDialog> m_dialog; }; #endif // INFORMATIONPANEL_H |
