TreeFrogFramework: src/thtmlattribute.h Source File

Go to the documentation of this file.

1#pragma once

2#include <QPair>

3#include <QStringList>

4#include <TGlobal>

5

6

8public:

10 THtmlAttribute(const QString &key, const QString &value);

12 THtmlAttribute(const QList<QPair<QString, QString>> &list);

13

14 bool contains(const QString &key) const;

15 void prepend(const QString &key, const QString &value);

16 void append(const QString &key, const QString &value);

17 THtmlAttribute &operator()(const QString &key, const QString &value);

20 QString toString(bool escape = true) const;

21};

22

24

The THtmlAttribute class represents HTML attributes for customizing web elements.

Definition thtmlattribute.h:7

THtmlAttribute()

Constructor.

Definition thtmlattribute.h:9

#define T_CORE_EXPORT

Definition tdeclexport.h:28

TOption operator|(const TOption &o1, const TOption &o2)

Definition toption.cpp:11