Nepomuk
Go to the documentation of this file.
21 #ifndef _NEPOMUK_TAG_WIDGET_H_
22 #define _NEPOMUK_TAG_WIDGET_H_
24 #include "nepomuk_export.h"
26 #include <QtGui/QWidget>
31 class TagWidgetPrivate;
73 QList<Resource> taggedResources()
const;
78 #ifndef KDE_NO_DEPRECATED
79 KDE_DEPRECATED QList<Tag> assignedTags()
const;
93 QList<Nepomuk::Tag> selectedTags()
const;
105 int maxTagsShown()
const;
112 Qt::Alignment alignment()
const;
145 DisableTagClicking = 0x8
147 Q_DECLARE_FLAGS( ModeFlags, ModeFlag )
156 ModeFlags modeFlags() const;
162 void tagClicked( Nepomuk::
Tag );
169 void selectionChanged( const QList<Nepomuk::Tag>& tags );
176 void setTaggedResource( const
Resource& resource );
182 void setTaggedResources( const QList<
Resource>& resources );
187 #ifndef KDE_NO_DEPRECATED
188 KDE_DEPRECATED
void setAssignedTags(
const QList<Nepomuk::Tag>& tags );
198 void setSelectedTags(
const QList<Nepomuk::Tag>& tags );
212 void setMaxTagsShown(
int max );
220 void setAlignment( Qt::Alignment alignment );
227 void setModeFlags( ModeFlags flags );
231 void slotTagUpdateDone();
233 void slotKEditTagDialogFinished(
int result );
236 TagWidgetPrivate*
const d;
240 Q_DECLARE_OPERATORS_FOR_FLAGS( Nepomuk::TagWidget::ModeFlags )
Resource is the central object type in Nepomuk.
A Tag can be assigned to any Thing.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:27 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.