Page MenuHomePhorge

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/src/kazv-clipboard.hpp b/src/kazv-clipboard.hpp
index 05fae9c..81bb1f5 100644
--- a/src/kazv-clipboard.hpp
+++ b/src/kazv-clipboard.hpp
@@ -1,34 +1,34 @@
#include <QString>
#include <QtQml>
#include <QUrl>
#include <QTemporaryDir>
#include <QClipboard>
class KazvClipboard : public QObject
{
Q_OBJECT
QML_ELEMENT
QML_SINGLETON
Q_PROPERTY(bool hasImage READ hasImage WRITE setHasImage NOTIFY hasImageChanged)
Q_PROPERTY(bool hasUrls READ hasUrls WRITE setHasUrls NOTIFY hasUrlsChanged)
public:
explicit KazvClipboard(QObject *parent = 0);
QTemporaryDir tmpDir;
int tmpFilesCount;
QClipboard *clipboard;
bool hasImage();
bool hasUrls();
- void setHasImage(bool &hasImage);
- void setHasUrls(bool &hasUrls);
+ void setHasImage(bool hasImage);
+ void setHasUrls(bool hasUrls);
public Q_SLOTS:
void updateHasImage();
void updateHasUrls();
QList<QUrl> urls();
QUrl saveClipboardImage();
Q_SIGNALS:
void hasImageChanged();
void hasUrlsChanged();
private:
bool m_hasImage;
bool m_hasUrls;
};

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 25, 5:36 AM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39631
Default Alt Text
(1 KB)

Event Timeline