# class KTagDisplayWidget

###

Module | nepomuk
Namespace |
Class | KTagDisplayWidget
Inherits | QWidget

The KTagDisplayWidget shows a list of tags and allows clicking each of them.

### methods

- KTagDisplayWidget (parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0

- addTag (tag)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  tag | QString |

  Add tag to be displayed. Existing tags with the same name will be overwritten.

- addTags (tags)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  tags | QStringList |

  Add a set of tags to be displayed. Existing tags with the same name will be overwritten.

- clear ( )

  returns Nothing

  Remove all tags.

- setTags (tags)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  tags | QStringList |

  Set tags to be displayed.

- tagClicked (tag)

  returns Nothing
  SIGNAL ("tagClicked (const QString&)")

  Argument | Type | Default
  --- | --- | ---
  tag | QString |