Changeset View
Changeset View
Standalone View
Standalone View
lib/draghelper.cpp
Show All 22 Lines | |||||
23 | #include <QDrag> | 23 | #include <QDrag> | ||
24 | #include <QMimeData> | 24 | #include <QMimeData> | ||
25 | #include <QQuickItem> | 25 | #include <QQuickItem> | ||
26 | 26 | | |||
27 | using namespace Milou; | 27 | using namespace Milou; | ||
28 | 28 | | |||
29 | DragHelper::DragHelper(QObject* parent) : QObject(parent) | 29 | DragHelper::DragHelper(QObject* parent) : QObject(parent) | ||
30 | , m_dragIconSize(32) | 30 | , m_dragIconSize(32) | ||
31 | { | 31 | { | ||
32 | qmlRegisterType<QMimeData>("org.kde.milou", 1, 0, "MimeData"); | | |||
33 | } | 32 | } | ||
meven: indentation | |||||
34 | 33 | | |||
35 | DragHelper::~DragHelper() | 34 | DragHelper::~DragHelper() | ||
36 | { | 35 | { | ||
37 | } | 36 | } | ||
38 | 37 | | |||
39 | int DragHelper::dragIconSize() const | 38 | int DragHelper::dragIconSize() const | ||
40 | { | 39 | { | ||
41 | return m_dragIconSize; | 40 | return m_dragIconSize; | ||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |
indentation