Warning, file /plasma/wacomtablet/src/kded/xsetwacomproperty.h 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 #ifndef XSETWACOMPROPERTY_H 0021 #define XSETWACOMPROPERTY_H 0022 0023 #include <QString> 0024 0025 #include "property.h" 0026 #include "propertyset.h" 0027 0028 namespace Wacom 0029 { 0030 0031 // forward declarations & typedefs 0032 class XsetwacomProperty; 0033 typedef PropertySet<XsetwacomProperty> XsetwacomPropertyTemplateSpecialization; 0034 0035 /** 0036 * Properties supported by xsetwacom. 0037 */ 0038 class XsetwacomProperty : public XsetwacomPropertyTemplateSpecialization 0039 { 0040 public: 0041 static const XsetwacomProperty AbsWheel2Down; 0042 static const XsetwacomProperty AbsWheel2Up; 0043 static const XsetwacomProperty AbsWheelDown; 0044 static const XsetwacomProperty AbsWheelUp; 0045 static const XsetwacomProperty Area; 0046 static const XsetwacomProperty Button1; 0047 static const XsetwacomProperty Button2; 0048 static const XsetwacomProperty Button3; 0049 static const XsetwacomProperty Button4; 0050 static const XsetwacomProperty Button5; 0051 static const XsetwacomProperty Button6; 0052 static const XsetwacomProperty Button7; 0053 static const XsetwacomProperty Button8; 0054 static const XsetwacomProperty Button9; 0055 static const XsetwacomProperty Button10; 0056 static const XsetwacomProperty Button11; 0057 static const XsetwacomProperty Button12; 0058 static const XsetwacomProperty Button13; 0059 static const XsetwacomProperty Button14; 0060 static const XsetwacomProperty Button15; 0061 static const XsetwacomProperty Button16; 0062 static const XsetwacomProperty Button17; 0063 static const XsetwacomProperty Button18; 0064 static const XsetwacomProperty CursorProximity; 0065 static const XsetwacomProperty Gesture; 0066 static const XsetwacomProperty MapToOutput; 0067 static const XsetwacomProperty Mode; 0068 static const XsetwacomProperty PressureCurve; 0069 static const XsetwacomProperty RawSample; 0070 static const XsetwacomProperty RelWheelDown; 0071 static const XsetwacomProperty RelWheelUp; 0072 static const XsetwacomProperty ResetArea; 0073 static const XsetwacomProperty Rotate; 0074 static const XsetwacomProperty ScrollDistance; 0075 static const XsetwacomProperty StripLeftDown; 0076 static const XsetwacomProperty StripLeftUp; 0077 static const XsetwacomProperty StripRightDown; 0078 static const XsetwacomProperty StripRightUp; 0079 static const XsetwacomProperty Suppress; 0080 static const XsetwacomProperty TabletPcButton; 0081 static const XsetwacomProperty TapTime; 0082 static const XsetwacomProperty Threshold; 0083 static const XsetwacomProperty Touch; 0084 static const XsetwacomProperty ZoomDistance; 0085 0086 private: 0087 XsetwacomProperty(const Property &id, const QString &key) 0088 : XsetwacomPropertyTemplateSpecialization(this, id, key) 0089 { 0090 } 0091 0092 }; // CLASS 0093 0094 // instances container specialization declaration 0095 template<> 0096 XsetwacomPropertyTemplateSpecialization::PropertySetTemplateSpecialization::Container 0097 XsetwacomPropertyTemplateSpecialization::PropertySetTemplateSpecialization::instances; 0098 0099 } // NAMESPACE 0100 #endif // HEADER PROTECTION