From 3852f31c30faea6c305d65e6756797184b3776d5 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 16 Oct 2009 13:01:11 +0000 Subject: * 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 --- .../information/metadataconfigurationdialog_p.h | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/panels/information/metadataconfigurationdialog_p.h (limited to 'src/panels/information/metadataconfigurationdialog_p.h') 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 * + * * + * 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 +#include + +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 -- cgit v1.3.1