┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/metadataconfigurationdialog_p.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-10-16 13:01:11 +0000
committerPeter Penz <[email protected]>2009-10-16 13:01:11 +0000
commit3852f31c30faea6c305d65e6756797184b3776d5 (patch)
tree414e47b38fa9706e6ff9f21a355f9e3ed85b3f20 /src/panels/information/metadataconfigurationdialog_p.h
parentef54cdc957165d41cfbfa679835c32667a8cbed5 (diff)
* improved interface + documentation of MetaDataWidget
* provide a configuration dialog for adjusting the visibility of the meta data svn path=/trunk/KDE/kdebase/apps/; revision=1036058
Diffstat (limited to 'src/panels/information/metadataconfigurationdialog_p.h')
-rw-r--r--src/panels/information/metadataconfigurationdialog_p.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/panels/information/metadataconfigurationdialog_p.h b/src/panels/information/metadataconfigurationdialog_p.h
new file mode 100644
index 000000000..b566bbde3
--- /dev/null
+++ b/src/panels/information/metadataconfigurationdialog_p.h
@@ -0,0 +1,52 @@
+/***************************************************************************
+ * Copyright (C) 2009 by Peter Penz <[email protected]> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
+ ***************************************************************************/
+
+#ifndef META_DATA_CONFIGURATION_DIALOG_H
+#define META_DATA_CONFIGURATION_DIALOG_H
+
+#include <kdialog.h>
+#include <kurl.h>
+
+class QListWidget;
+
+/**
+ * @brief Dialog which allows to configure which meta data should be shown.
+ */
+class MetaDataConfigurationDialog : public KDialog
+{
+ Q_OBJECT
+
+public:
+ MetaDataConfigurationDialog(const KUrl& url,
+ QWidget* parent = 0,
+ Qt::WFlags flags = 0);
+ virtual ~MetaDataConfigurationDialog();
+
+protected slots:
+ virtual void slotButtonClicked(int button);
+
+private:
+ void loadMetaData();
+
+private:
+ KUrl m_url;
+ QListWidget* m_metaDataList;
+};
+
+#endif