1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-07 07:13:21 +02:00
GPXSee/src/tooltip.h

31 lines
444 B
C
Raw Normal View History

2016-08-02 00:28:56 +02:00
#ifndef TOOLTIP_H
#define TOOLTIP_H
#include <QString>
#include <QList>
class ToolTip
{
public:
ToolTip();
void insert(const QString &key, const QString &value);
QString toString();
private:
class KV {
public:
QString key;
QString value;
KV(const QString &k, const QString &v)
{key = k; value = v;}
bool operator==(const KV &other) const
{return this->key == other.key;}
};
QList<KV> _list;
};
#endif // TOOLTIP_H