summaryrefslogtreecommitdiffstats
path: root/src/plugins/generic/tslib/qtslib.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-10-13 13:50:49 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-10-16 13:08:06 +0200
commitcf046ccec0e9a2f174e6dc47f23cc8c4d5c1a935 (patch)
tree2b463f94769fff21a829e5fc6cf46e0dd1989a1d /src/plugins/generic/tslib/qtslib.h
parent5cd6cd198c87bc31cb1189d6c605b4a3bd005257 (diff)
Clean up tslib plugin
The code is now cleaned up, properly divided between platformsupport and the actual plugin (like evdev) and categorized logging is in use. This will allow us to use tslib as a built-in input handler in eglfs in the future. Change-Id: Ic87cdcfe8049bb98530e7f26ffa7a77611a8ede3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'src/plugins/generic/tslib/qtslib.h')
-rw-r--r--src/plugins/generic/tslib/qtslib.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/plugins/generic/tslib/qtslib.h b/src/plugins/generic/tslib/qtslib.h
deleted file mode 100644
index cd11ca5e2f..0000000000
--- a/src/plugins/generic/tslib/qtslib.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
-** Contact: http://www.qt-project.org/legal
-**
-** This file is part of the QtGui module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL21$
-** 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 or version 3 as published by the Free
-** Software Foundation and appearing in the file LICENSE.LGPLv21 and
-** LICENSE.LGPLv3 included in the packaging of this file. Please review the
-** following information to ensure the GNU Lesser General Public License
-** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-** 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.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QTSLIB_H
-#define QTSLIB_H
-
-#include <qobject.h>
-//#include <Qt>
-
-QT_BEGIN_NAMESPACE
-
-class QSocketNotifier;
-struct tsdev;
-
-class QTsLibMouseHandler : public QObject
-{
- Q_OBJECT
-public:
- QTsLibMouseHandler(const QString &key, const QString &specification);
- ~QTsLibMouseHandler();
-
-private slots:
- void readMouseData();
-
-private:
- QSocketNotifier * m_notify;
- tsdev *m_dev;
- int m_x, m_y;
- bool m_pressed;
- bool m_rawMode;
-};
-
-QT_END_NAMESPACE
-
-#endif // QTSLIB_H