Warning, file /plasma/wacomtablet/src/kded/xinputproperty.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002  * This file is part of the KDE wacomtablet project. For copyright
0003  * information and license terms see the AUTHORS and COPYING files
0004  * in the top-level directory of this distribution.
0005  *
0006  * This program is free software; you can redistribute it and/or
0007  * modify it under the terms of the GNU General Public License as
0008  * published by the Free Software Foundation; either version 2 of
0009  * the License, or (at your option) any later version.
0010  *
0011  * This program is distributed in the hope that it will be useful,
0012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0014  * GNU General Public License for more details.
0015  *
0016  * You should have received a copy of the GNU General Public License
0017  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
0018  */
0019 
0020 #include "xinputproperty.h"
0021 
0022 using namespace Wacom;
0023 
0024 // instances container specialization instantiation
0025 template<>
0026 XinputPropertyTemplateSpecialization::PropertySetTemplateSpecialization::Container
0027     XinputPropertyTemplateSpecialization::PropertySetTemplateSpecialization::instances =
0028         XinputPropertyTemplateSpecialization::PropertySetTemplateSpecialization::Container();
0029 
0030 // KEEP THIS LIST IN AN ORDER WHICH CAN BE SET DIRECTLY!
0031 // SOME PROPERTIES NEED TO BE SET BEFORE OTHERS!
0032 //
0033 const XinputProperty XinputProperty::CursorAccelProfile(Property::CursorAccelProfile, QLatin1String("Device Accel Profile"));
0034 const XinputProperty XinputProperty::CursorAccelConstantDeceleration(Property::CursorAccelConstantDeceleration,
0035                                                                      QLatin1String("Device Accel Constant Deceleration"));
0036 const XinputProperty XinputProperty::CursorAccelAdaptiveDeceleration(Property::CursorAccelAdaptiveDeceleration,
0037                                                                      QLatin1String("Device Accel Adaptive Deceleration"));
0038 const XinputProperty XinputProperty::CursorAccelVelocityScaling(Property::CursorAccelVelocityScaling, QLatin1String("Device Accel Velocity Scaling"));
0039 const XinputProperty XinputProperty::InvertScroll(Property::InvertScroll, QLatin1String("Invert Scroll"));
0040 const XinputProperty XinputProperty::ScreenSpace(Property::ScreenSpace, QLatin1String("Coordinate Transformation Matrix"));