1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-02-12 06:10:48 +01:00
GPXSee/src/data/link.h

23 lines
421 B
C
Raw Normal View History

2019-10-14 01:16:38 +02:00
#ifndef LINK_H
#define LINK_H
#include <QString>
class Link {
public:
Link() {}
Link(const QString &URL, const QString &text = QString())
: _URL(URL), _text(text) {}
2019-10-20 20:30:10 +02:00
void setURL(const QString &URL) {_URL = URL;}
void setText(const QString &text) {_text = text;}
2019-10-14 01:16:38 +02:00
const QString &URL() const {return _URL;}
const QString &text() const {return _text;}
private:
QString _URL;
QString _text;
};
#endif // LINK_H