• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

Nepomuk

  • Nepomuk
  • TagCloud
Public Slots | Signals | Public Member Functions | List of all members
Nepomuk::TagCloud Class Reference

#include <kmetadatatagcloud.h>

Inheritance diagram for Nepomuk::TagCloud:
KTagCloudWidget QWidget

Public Slots

void setAutoUpdate (bool enable)
 
void updateTags ()
 
- Public Slots inherited from KTagCloudWidget
void addTag (const QString &tag, int weight)
 
void addTags (const QMap< QString, int > &tags)
 
void clear ()
 
void setMaxFontSize (int pointSize)
 
void setMinFontSize (int pointSize)
 

Signals

void tagClicked (Tag)
 
- Signals inherited from KTagCloudWidget
void tagClicked (const QString &tag)
 

Public Member Functions

 TagCloud (QWidget *parent=0)
 
 ~TagCloud ()
 
bool autoUpdate () const
 
- Public Member Functions inherited from KTagCloudWidget
 KTagCloudWidget (QWidget *parent=0)
 
 ~KTagCloudWidget ()
 
int tagWeight (const QString &tag) const
 

Additional Inherited Members

- Protected Member Functions inherited from KTagCloudWidget
void resizeEvent (QResizeEvent *e)
 

Detailed Description

Tag cloud widget that displays all tags stored in the local Nepomuk store.

Definition at line 35 of file kmetadatatagcloud.h.

Constructor & Destructor Documentation

◆ TagCloud()

Nepomuk::TagCloud::TagCloud ( QWidget *  parent = 0)

Create a new TagCloud widget.

The widget will be populated immediately.

◆ ~TagCloud()

Nepomuk::TagCloud::~TagCloud ( )

Member Function Documentation

◆ autoUpdate()

bool Nepomuk::TagCloud::autoUpdate ( ) const
Returns
true if auto updating is enabled (the default).
See also
setAutoUpdate

◆ setAutoUpdate

void Nepomuk::TagCloud::setAutoUpdate ( bool  enable)
slot

If auto updating is enabled the tag cloud is updated regularly to keep in sync with the local Nepomuk store.

See also
updateTags

◆ tagClicked

void Nepomuk::TagCloud::tagClicked ( Tag  )
signal

This signal is emitted whenever a tag is clicked.

See also
KTagCloudWidget::tagClicked

◆ updateTags

void Nepomuk::TagCloud::updateTags ( )
slot

Update the tag cloud, ie.

reload all tags from the store and recalculate their importance.

There is no need to call this unless auto updating is disabled.

See also
setAutoUpdate

The documentation for this class was generated from the following file:
  • kmetadatatagcloud.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Nepomuk

Skip menu "Nepomuk"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal