aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hal/haldevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hal/haldevice.h')
-rw-r--r--src/plugins/General/hal/haldevice.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/General/hal/haldevice.h b/src/plugins/General/hal/haldevice.h
index 08583fe0e..f220eb8ff 100644
--- a/src/plugins/General/hal/haldevice.h
+++ b/src/plugins/General/hal/haldevice.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2020 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* Copyright (C) 2006 by Kevin Ottens <ervin@kde.org> *
@@ -46,12 +46,12 @@ class HalDevice : public QObject
{
Q_OBJECT
public:
- HalDevice(const QString &udi, QObject *parent = nullptr);
+ explicit HalDevice(const QString &udi, QObject *parent = nullptr);
~HalDevice();
QVariant property (const QString &key);
- QString udi() const;
+ const QString &udi() const;
signals:
void propertyModified(int count, const QList<ChangeDescription> &changes);