Nepomuk
tagwidget.h
Go to the documentation of this file.
@ MiniMode
The mini mode which tries to display the tags on the least space possible.
Definition tagwidget.h:125
@ StandardMode
The standard mode which is used by default provides a set of check boxes for the most frequently used...
Definition tagwidget.h:132
Qt::Alignment alignment() const
The alignment of the tags in the widget.
void setMaxTagsShown(int max)
By default the TagWidget shows the most often used tags in the main window and allows access to all t...
void setAssignedTags(const QList< Nepomuk::Tag > &tags)
void selectionChanged(const QList< Nepomuk::Tag > &tags)
Emitted whenever the selection of tags changes.
QList< Resource > taggedResources() const
void setTaggedResource(const Resource &resource)
Set the Resource to be tagged.
QList< Tag > assignedTags() const
void setSelectedTags(const QList< Nepomuk::Tag > &tags)
Set the list of selected tags.
void setTaggedResources(const QList< Resource > &resources)
Set the resources to be tagged.
TagWidget(const Resource &resource, QWidget *parent=0)
Creates a new TagWidget for resource.
int maxTagsShown() const
By default the TagWidget shows the most often used tags in the main window and allows access to all t...
void setModeFlags(ModeFlags flags)
Set flags to change the behaviour and look of the tag widget.
void tagClicked(Nepomuk::Tag)
This signal is emitted whenever a tag is clicked.
QList< Nepomuk::Tag > selectedTags() const
The list of selected tags.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.