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 109 of file KisTag.h.

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