Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F113418
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment