aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rpaths/objecta.h
diff options
context:
space:
mode:
authorThe Qt Project <gerrit-noreply@qt-project.org>2020-07-27 14:47:46 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2020-07-27 14:47:46 +0000
commit34349e6574500e087ced56cc9504431b3e3b6469 (patch)
treed1e822daf5382d536d3b2c8940152526fd2a8f04 /examples/rpaths/objecta.h
parent31a841ade7b1a3b10d5a132cc58a476295e2e0b5 (diff)
parenteb6adb2a65902ca507dd1fdcd97fde333f324068 (diff)
Merge "Merge branch 1.17 into master"
Diffstat (limited to 'examples/rpaths/objecta.h')
-rw-r--r--examples/rpaths/objecta.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/examples/rpaths/objecta.h b/examples/rpaths/objecta.h
new file mode 100644
index 000000000..69b78fbc2
--- /dev/null
+++ b/examples/rpaths/objecta.h
@@ -0,0 +1,47 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 Ivan Komissarov (abbapoh@gmail.com)
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qbs.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef OBJECTA_H
+#define OBJECTA_H
+
+#include <string>
+
+class ObjectA
+{
+public:
+ explicit ObjectA(std::string name);
+
+ static std::string className();
+
+ const std::string &name() const;
+ void setName(std::string name);
+
+private:
+ std::string m_name;
+};
+
+#endif // OBJECTA_H