fix for window drag bug on ubuntu, only tested on windows

This commit is contained in:
unknown
2016-02-03 16:37:10 +01:00
parent fce88a8120
commit 6289e18f6c
7 changed files with 61 additions and 263 deletions

25
oscursor.h Normal file
View File

@@ -0,0 +1,25 @@
#ifndef OSCURSOR_H
#define OSCURSOR_H
#include <QObject>
#include <QString>
#include <QPoint>
class OSCursor : public QObject
{
Q_OBJECT
//QObject();
public:
//QObject(QObject* aParent);
//OSCursor();
explicit OSCursor(QObject *parent = 0);
Q_INVOKABLE QPoint getPosition() const;
};
//OSCursor::OSCursor() : QObject(NULL){
//}
//Q_DECLARE_METATYPE(OSCursor)
#endif // OSCURSOR_H