This repository was archived by the owner on Apr 28, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ PUBLIC_HEADERS = \
59
59
connmanvpnconnectionproxy.h \
60
60
developermodesettings.h \
61
61
batterystatus.h \
62
+ udisks2block_p.h \
62
63
udisks2defines.h \
63
64
diskusage.h \
64
65
partition.h \
@@ -80,7 +81,6 @@ HEADERS += \
80
81
logging_p.h \
81
82
partition_p.h \
82
83
partitionmanager_p.h \
83
- udisks2block_p.h \
84
84
udisks2blockdevices_p.h \
85
85
udisks2job_p.h \
86
86
udisks2monitor_p.h
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (C) 2018 Jolla Ltd. <[email protected] >
2
+ * Copyright (c) 2018 - 2019 Jolla Ltd.
3
+ * Copyright (c) 2019 Open Mobile Platform LLC.
3
4
*
4
5
* You may use this file under the terms of the BSD license as follows:
5
6
*
38
39
#include < QPointer>
39
40
#include < functional>
40
41
42
+ #include < systemsettingsglobal.h>
43
+
41
44
#include " udisks2defines.h"
42
45
43
46
class QDBusPendingCallWatcher ;
44
47
45
48
namespace UDisks2 {
46
49
47
50
48
- class Block : public QObject
51
+ class SYSTEMSETTINGS_EXPORT Block : public QObject
49
52
{
50
53
Q_OBJECT
51
54
Q_PROPERTY (QString connectionBus READ connectionBus NOTIFY updated)
52
55
53
56
public:
57
+ Block (const QString &path, const UDisks2::InterfacePropertyMap &interfacePropertyMap, QObject *parent = nullptr );
54
58
virtual ~Block ();
55
59
56
60
QString path () const ;
@@ -119,7 +123,6 @@ private slots:
119
123
void complete ();
120
124
121
125
private:
122
- Block (const QString &path, const UDisks2::InterfacePropertyMap &interfacePropertyMap, QObject *parent = nullptr );
123
126
Block& operator =(const Block& other);
124
127
125
128
bool setEncrypted (bool encrypted);
You can’t perform that action at this time.
0 commit comments