From 998b88f304a79ba4e2ac67455bad4d69bffa8919 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 17 Oct 2009 12:23:38 +0000 Subject: * get rid of MetaDataWidget::openConfigurationDialog() * allow to hide specific data for applications * check whether Nepomuk has been activated (the check with #idfef HAVE_NEPOMUK is not sufficient in the case if Nepomok is available but not activated) svn path=/trunk/KDE/kdebase/apps/; revision=1036556 --- src/panels/information/metadataconfigurationdialog.h | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'src/panels/information/metadataconfigurationdialog.h') diff --git a/src/panels/information/metadataconfigurationdialog.h b/src/panels/information/metadataconfigurationdialog.h index 9dda9c190..82dc06ddf 100644 --- a/src/panels/information/metadataconfigurationdialog.h +++ b/src/panels/information/metadataconfigurationdialog.h @@ -22,6 +22,8 @@ #include +class MetaDataWidget; + /** * @brief Dialog which allows to configure which meta data should be shown. */ @@ -31,13 +33,19 @@ class MetaDataConfigurationDialog : public KDialog public: /** - * @param url URL for which should be configured what kind of meta data is - * shown. If the URL is empty, the configuration dialog will contain - * all available meta data from the system. - * @param parent Parent widget which opens the dialog. - * @param flags Window flags for the dialog. + * Allows to configure the visibility of all available meta + * data. + */ + MetaDataConfigurationDialog(QWidget* parent = 0, + Qt::WFlags flags = 0); + + /** + * Allows to configure the visibility of the meta data + * shown by the meta data widget. The number of offered + * meta data is optimized for the set of file items + * that are applied to the meta data widget. */ - MetaDataConfigurationDialog(const KUrl& url, + MetaDataConfigurationDialog(MetaDataWidget* metaDataWidget, QWidget* parent = 0, Qt::WFlags flags = 0); -- cgit v1.3.1