Krita Source Code Documentation
Loading...
Searching...
No Matches
KisTag.h File Reference
#include <QDebug>
#include <QString>
#include <QScopedPointer>
#include <QSharedPointer>
#include "kritaresources_export.h"

Go to the source code of this file.

Classes

class  KisTag
 The KisTag loads a tag from a .tag file. A .tag file is a .desktop file. The following fields are important: More...
 

Typedefs

typedef QSharedPointer< KisTagKisTagSP
 

Functions

QDebug operator<< (QDebug dbg, const KisTagSP tag)
 

Typedef Documentation

◆ KisTagSP

Definition at line 20 of file KisTag.h.

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug dbg,
const KisTagSP tag )
inline

Definition at line 112 of file KisTag.h.

113{
114 if (tag) {
115 dbg.space() << "[TAG] Name" << tag->name()
116 << "Url" << tag->url()
117 << "Comment" << tag->comment()
118 << "Default resources" << tag->defaultResources().join(", ");
119 } else {
120 dbg.space() << "[TAG] NULL";
121 }
122
123 return dbg.space();
124}