LeechCraft 0.6.70-19424-g027e980fd1
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::TagId Struct Reference

An identifier of a tag in ITagsManager. More...

#include "itagsmanager.h"

Public Member Functions

bool operator== (const TagId &) const =default

Static Public Member Functions

static QList< TagId > FromStrings (const QStringList &ids)
 Wraps the persisted forms ids into identifiers.
static QStringList ToStrings (const QList< TagId > &ids)
 Returns the persisted forms of ids.

Public Attributes

QString Id_

Detailed Description

An identifier of a tag in ITagsManager.

The identifier of a tag survives renaming the tag. Id_ is the form to persist, and FromStrings() restores identifiers equal to the persisted ones.

Definition at line 29 of file itagsmanager.h.

Member Function Documentation

◆ FromStrings()

QList< TagId > LC::TagId::FromStrings ( const QStringList & ids)
inlinestatic

Wraps the persisted forms ids into identifiers.

See also
ToStrings()

Definition at line 39 of file itagsmanager.h.

◆ operator==()

bool LC::TagId::operator== ( const TagId & ) const
default

◆ ToStrings()

QStringList LC::TagId::ToStrings ( const QList< TagId > & ids)
inlinestatic

Returns the persisted forms of ids.

See also
FromStrings()

Definition at line 52 of file itagsmanager.h.

Member Data Documentation

◆ Id_

QString LC::TagId::Id_

Definition at line 31 of file itagsmanager.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.19424.g027e980fd1-build/leechcraft-0.6.70-19424-g027e980fd1/src/interfaces/core/itagsmanager.h