#include <pointers.h>
Inheritance diagram for SaX::SaXManipulatePointers:
Public Member Functions | |
void | setDriver (const QString &) |
void | setDevice (const QString &) |
void | setProtocol (const QString &) |
void | setNamePair (const QString &, const QString &) |
void | setOption (const QString &, const QString &=0) |
void | addOption (const QString &, const QString &=0) |
void | removeOption (const QString &) |
QString | getDevice (void) |
QString | getDriver (void) |
QString | getProtocol (void) |
QDict< QString > | getOptions (void) |
bool | selectPointer (int) |
Protected Member Functions | |
SaXManipulatePointers (SaXImport *, int=1) | |
Protected Attributes | |
SaXImport * | mImport |
int | mPointer |
The manipulate pointers class is the base class for all supported pointer devices Mice, Tablets and Touchscreens. It is not possible to create an object of type SaXManipulatePointers because the class contains only methods which are common to all pointer devices and can be used within the derived classes.
Definition at line 80 of file pointers.h.
|
This baseclass is used to provide common pointer manipulation methods for the devices Mice Tablets and Touchscreens. it provides a protected constructor only. Therefore it is not possible to create an object of this type Definition at line 25 of file pointers.cpp. References SaX::SaXException::errorString(), SaX::SaXException::excNullPointerArgument(), SaX::SaXException::excPointerImportBindFailed(), and SaX::SaXImport::getSectionID(). Here is the call graph for this function: ![]() |
|
add a pointer option to the currently selected pointer device. If the value is set to NULL the "Option" list will be enhances otherwise the "RawOption" list will be increased. Implements SaX::SaXManipulatePointersIF. Definition at line 165 of file pointers.cpp. References SaX::SaXStorage::addItem(), SaX::SaXStorage::addRawItem(), and mImport. Here is the call graph for this function: ![]() |
|
return the device name the pointer device is connected to. Note this may be an alias name concerning the type of the pointer device Implements SaX::SaXManipulatePointersIF. Definition at line 225 of file pointers.cpp. References mImport. |
|
return the driver used for this pointer device Implements SaX::SaXManipulatePointersIF. Definition at line 240 of file pointers.cpp. References mImport. Referenced by SaX::SaXManipulateMice::isMouse(). |
|
retrieve an option list of all options set for this pointer device. The storage is a dictionary saving the option name as key and the options value as value for this key. If there is no value set for the option (bool options) the value for the key is the (null) string Implements SaX::SaXManipulatePointersIF. Definition at line 266 of file pointers.cpp. References mImport. |
|
return the protocol used for this pointer device Implements SaX::SaXManipulatePointersIF. Definition at line 253 of file pointers.cpp. References mImport. |
|
remove a pointer option from the currently selected pointer device. If the value is set to NULL the value will be removed from the "Option" list otherwise the option is removed from the "RawOption" list Implements SaX::SaXManipulatePointersIF. Definition at line 197 of file pointers.cpp. References SaX::SaXStorage::getItem(), mImport, and SaX::SaXStorage::removeItem(). Here is the call graph for this function: ![]() |
|
select the pointer device the changes should be applied to if the device does not exist (false) is returned Implements SaX::SaXManipulatePointersIF. Definition at line 50 of file pointers.cpp. References mImport, and mPointer. Referenced by SaX::SaXManipulateTablets::removePen(). |
|
set pointer device which provide the raw data for the pointer device. Some drivers support some sort of autodetection in this case a keywoard instead of the /dev/... path can be used Implements SaX::SaXManipulatePointersIF. Definition at line 82 of file pointers.cpp. References mImport. |
|
set global mouse driver to use with this configuration. the default mouse driver is named "mouse" Implements SaX::SaXManipulatePointersIF. Definition at line 68 of file pointers.cpp. References mImport. |
|
set a name tag to the configuration which consists of a vendor and a model name separated by a semicolon. xorg's config file does not provide native keywords for vendor or name tags, but they are needed to be able so select a component within a user interface. Implements SaX::SaXManipulatePointersIF. Definition at line 112 of file pointers.cpp. References mImport. |
|
set a pointer option to the currently selected pointer device. If the value is set to NULL the keyword "Option" is used otherwise "RawOption" will be set. Implements SaX::SaXManipulatePointersIF. Definition at line 133 of file pointers.cpp. References mImport, SaX::SaXStorage::setItem(), and SaX::SaXStorage::setRawItem(). Here is the call graph for this function: ![]() |
|
set the protocol name for this pointer device some drivers support some sort of AUTO protocols Implements SaX::SaXManipulatePointersIF. Definition at line 98 of file pointers.cpp. References mImport. |