summaryrefslogtreecommitdiff
path: root/src/serialport/ttylocker_unix_p.h
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-02-07 12:04:55 +0000
committerLaszlo Papp <lpapp@kde.org>2013-02-07 16:16:24 +0100
commit6a19f9af432975cd3a354c466b1511b4a34b907c (patch)
treee2ee8df1ecffd53402ac3aab8fefb877b3814d95 /src/serialport/ttylocker_unix_p.h
parentbfebe1c71082e38f9437f7091abbe9261ed0e447 (diff)
downloadqtserialport-6a19f9af432975cd3a354c466b1511b4a34b907c.tar.gz
Rename the TtyLocker class to QTtyLocker as it gets to Qt scope
Change-Id: I74b90ec2a6cb08a9bc75225e04995a3b05f2c6e9 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/ttylocker_unix_p.h')
-rw-r--r--src/serialport/ttylocker_unix_p.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/src/serialport/ttylocker_unix_p.h b/src/serialport/ttylocker_unix_p.h
deleted file mode 100644
index 09e8397..0000000
--- a/src/serialport/ttylocker_unix_p.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2012 Denis Shienkov <denis.shienkov@gmail.com>
-** 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 TTYLOCKER_UNIX_P_H
-#define TTYLOCKER_UNIX_P_H
-
-#include "qserialport-global.h"
-
-QT_BEGIN_NAMESPACE
-
-QT_BEGIN_NAMESPACE_SERIALPORT
-
-class TtyLocker
-{
-public:
- static bool lock(const char *portName);
- static bool unlock(const char *portName);
- static bool isLocked(const char *portName, bool *currentPid);
-};
-
-QT_END_NAMESPACE_SERIALPORT
-
-QT_END_NAMESPACE
-
-#endif // TTYLOCKER_UNIX_P_H