summaryrefslogtreecommitdiff
path: root/src/serialport/qserialportglobal.h
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-02-08 10:14:52 +0000
committerLaszlo Papp <lpapp@kde.org>2013-02-08 11:37:11 +0100
commite14e48805c7b523d0755118e1ef5ba36d843b200 (patch)
tree5fc8a2829b9c24fb06013cbe2084cd1382252e88 /src/serialport/qserialportglobal.h
parent2b87c7a2cf4bf9c16fd7447223c2f33d302e4ba3 (diff)
downloadqtserialport-e14e48805c7b523d0755118e1ef5ba36d843b200.tar.gz
Remove the dash from the global serialport header file name
1) It is not consistent with the rest in QtSerialPort. 2) Even more importantly, it is not consistent with other Qt Project global files. Change-Id: I9d9262264bc2dbe5acfbce04013d9be08df2b47c Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qserialportglobal.h')
-rw-r--r--src/serialport/qserialportglobal.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/serialport/qserialportglobal.h b/src/serialport/qserialportglobal.h
new file mode 100644
index 0000000..906866e
--- /dev/null
+++ b/src/serialport/qserialportglobal.h
@@ -0,0 +1,58 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Denis Shienkov <denis.shienkov@gmail.com>
+** Copyright (C) 2012 Laszlo Papp <lpapp@kde.org>
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the QtSerialPort module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** 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 Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Digia gives you certain additional
+** rights. These rights are described in the Digia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3.0 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 3.0 requirements will be
+** met: http://www.gnu.org/copyleft/gpl.html.
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef SERIALPORT_GLOBAL_H
+#define SERIALPORT_GLOBAL_H
+
+#include <QtCore/qglobal.h>
+
+QT_BEGIN_NAMESPACE
+
+#if defined(QT_SERIALPORT_LIB)
+# define Q_SERIALPORT_EXPORT Q_DECL_EXPORT
+#else
+# define Q_SERIALPORT_EXPORT Q_DECL_IMPORT
+#endif
+
+QT_END_NAMESPACE
+
+#endif // SERIALPORT_GLOBAL_H