mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
make it compile w/o nepomuk
svn path=/trunk/KDE/kdebase/apps/; revision=955566
This commit is contained in:
parent
f2d889b349
commit
f6e3d85133
1 changed files with 24 additions and 0 deletions
|
@ -200,37 +200,61 @@ MetaDataWidget::~MetaDataWidget()
|
|||
|
||||
void MetaDataWidget::setRatingVisible(bool visible)
|
||||
{
|
||||
#ifdef HAVE_NEPOMUK
|
||||
d->ratingWidget->setVisible(visible);
|
||||
#else
|
||||
Q_UNUSED(visible);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
bool MetaDataWidget::isRatingVisible() const
|
||||
{
|
||||
#ifdef HAVE_NEPOMUK
|
||||
return d->ratingWidget->isVisible();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void MetaDataWidget::setCommentVisible(bool visible)
|
||||
{
|
||||
#ifdef HAVE_NEPOMUK
|
||||
d->editComment->setVisible(visible);
|
||||
#else
|
||||
Q_UNUSED(visible);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
bool MetaDataWidget::isCommentVisible() const
|
||||
{
|
||||
#ifdef HAVE_NEPOMUK
|
||||
return d->editComment->isVisible();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void MetaDataWidget::setTagsVisible(bool visible)
|
||||
{
|
||||
#ifdef HAVE_NEPOMUK
|
||||
d->tagWidget->setVisible(visible);
|
||||
#else
|
||||
Q_UNUSED(visible);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
bool MetaDataWidget::areTagsVisible() const
|
||||
{
|
||||
#ifdef HAVE_NEPOMUK
|
||||
return d->tagWidget->isVisible();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue