summaryrefslogtreecommitdiff
path: root/src/util/qrimageprovider.h
blob: 10ffdc43a1d58be9462b2cc4da2c3a669fda9c2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef QRIMAGEPROVIDER_H
#define QRIMAGEPROVIDER_H

#include <QQuickImageProvider>
#include "social/nym.h"


class QrImageProvider : public QQuickImageProvider
{
 public:

  explicit
    QrImageProvider ();

  virtual QImage
    requestImage (const QString &id, QSize *size,
                  const QSize &requestedSize, Nym *nym);

};

#endif