1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-18 04:44:23 +02:00

Optimized file access

This commit is contained in:
2019-03-15 19:39:52 +01:00
parent 2575ecf1d8
commit 3176a42aa5
6 changed files with 55 additions and 30 deletions

View File

@ -4,17 +4,18 @@
#include <QString>
#include <QList>
#include "common/kv.h"
#include "data/imageinfo.h"
class ToolTip
{
public:
void insert(const QString &key, const QString &value);
void setImage(const QString &img) {_img = img;}
QString toString();
void setImage(const ImageInfo &image) {_img = image;}
QString toString() const;
private:
QList<KV> _list;
QString _img;
ImageInfo _img;
};
#endif // TOOLTIP_H