Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
TagManager Class Reference

Manager for loaded tags. More...

#include <TagManager.h>

Public Member Functions

 ~TagManager ()=default
 
void addNewTags (QVector< TagData > newTags)
 
void clearTags ()
 
QVector< TagData > getTags () const
 
void setTags (QVector< TagData > newTags)
 

Static Public Member Functions

static TagManagergetInstance ()
 

Detailed Description

Manager for loaded tags.

Definition at line 24 of file TagManager.h.

Constructor & Destructor Documentation

◆ ~TagManager()

TagManager::~TagManager ( )
default

The destructor.

Member Function Documentation

◆ addNewTags()

void TagManager::addNewTags ( QVector< TagData > newTags)

Add new tags from the selected list.

Parameters
[in]newTagsThe selected list of new tags.

◆ clearTags()

void TagManager::clearTags ( )

Clear the list of tags.

◆ getInstance()

static TagManager & TagManager::getInstance ( )
static

Get the singleton instance of the tag manager.

Returns
The tag manager instance.

◆ getTags()

QVector< TagData > TagManager::getTags ( ) const

Get a list of the active tags.

Returns
List of the active tags.

◆ setTags()

void TagManager::setTags ( QVector< TagData > newTags)

Set new tags.

Parameters
[in]newTagsThe selected list of new tags.

The documentation for this class was generated from the following file: