Qt 4.8
Public Slots | Public Functions | Protected Functions | Private Slots | Private Functions | Properties | Static Private Attributes | List of all members
QBBVirtualKeyboardPps Class Reference

#include <qbbvirtualkeyboardpps.h>

Inheritance diagram for QBBVirtualKeyboardPps:
QBBAbstractVirtualKeyboard QObject

Public Slots

void start ()
 
- Public Slots inherited from QObject
void deleteLater ()
 Schedules this object for deletion. More...
 

Public Functions

bool hideKeyboard ()
 
 QBBVirtualKeyboardPps ()
 
bool showKeyboard ()
 
 ~QBBVirtualKeyboardPps ()
 
- Public Functions inherited from QBBAbstractVirtualKeyboard
QString countryId () const
 
int getHeight () const
 
bool isVisible () const
 
KeyboardMode keyboardMode () const
 
QString languageId () const
 
 QBBAbstractVirtualKeyboard (QObject *parent=0)
 
void setInputHintsFromWidget (QWidget *focusWidget)
 
void setKeyboardMode (KeyboardMode mode)
 
- Public Functions inherited from QObject
bool blockSignals (bool b)
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). More...
 
const QObjectListchildren () const
 Returns a list of child objects. More...
 
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
 
bool disconnect (const QObject *receiver, const char *member=0)
 
void dumpObjectInfo ()
 Dumps information about signal connections, etc. More...
 
void dumpObjectTree ()
 Dumps a tree of children to the debug output. More...
 
QList< QByteArraydynamicPropertyNames () const
 Returns the names of all properties that were dynamically added to the object using setProperty(). More...
 
virtual bool event (QEvent *)
 This virtual function receives events to an object and should return true if the event e was recognized and processed. More...
 
virtual bool eventFilter (QObject *, QEvent *)
 Filters events if this object has been installed as an event filter for the watched object. More...
 
template<typename T >
findChild (const QString &aName=QString()) const
 Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. More...
 
template<typename T >
QList< T > findChildren (const QString &aName=QString()) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. More...
 
template<typename T >
QList< T > findChildren (const QRegExp &re) const
 
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. More...
 
void installEventFilter (QObject *)
 Installs an event filter filterObj on this object. More...
 
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false. More...
 
void killTimer (int id)
 Kills the timer with timer identifier, id. More...
 
virtual const QMetaObjectmetaObject () const
 Returns a pointer to the meta-object of this object. More...
 
void moveToThread (QThread *thread)
 Changes the thread affinity for this object and its children. More...
 
QString objectName () const
 
QObjectparent () const
 Returns a pointer to the parent object. More...
 
QVariant property (const char *name) const
 Returns the value of the object's name property. More...
 
Q_INVOKABLE QObject (QObject *parent=0)
 Constructs an object with parent object parent. More...
 
void removeEventFilter (QObject *)
 Removes an event filter object obj from this object. More...
 
void setObjectName (const QString &name)
 
void setParent (QObject *)
 Makes the object a child of parent. More...
 
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value. More...
 
void setUserData (uint id, QObjectUserData *data)
 
bool signalsBlocked () const
 Returns true if signals are blocked; otherwise returns false. More...
 
int startTimer (int interval)
 Starts a timer and returns a timer identifier, or returns zero if it could not start a timer. More...
 
QThreadthread () const
 Returns the thread in which the object lives. More...
 
QObjectUserDatauserData (uint id) const
 
virtual ~QObject ()
 Destroys the object, deleting all its child objects. More...
 

Protected Functions

void applyKeyboardMode (KeyboardMode mode)
 
- Protected Functions inherited from QBBAbstractVirtualKeyboard
void setCountry (const QString &country)
 
void setHeight (int height)
 
void setLanguage (const QString &language)
 
void setVisible (bool visible)
 
- Protected Functions inherited from QObject
virtual void childEvent (QChildEvent *)
 This event handler can be reimplemented in a subclass to receive child events. More...
 
virtual void connectNotify (const char *signal)
 This virtual function is called when something has been connected to signal in this object. More...
 
virtual void customEvent (QEvent *)
 This event handler can be reimplemented in a subclass to receive custom events. More...
 
virtual void disconnectNotify (const char *signal)
 This virtual function is called when something has been disconnected from signal in this object. More...
 
 QObject (QObjectPrivate &dd, QObject *parent=0)
 
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal. More...
 
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns 0. More...
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *)
 This event handler can be reimplemented in a subclass to receive timer events for the object. More...
 

Private Slots

void ppsDataReady ()
 

Private Functions

void addDefaultModeOptions ()
 
void addEmailModeOptions ()
 
void addNumPuncModeOptions ()
 
void addPhoneModeOptions ()
 
void addPinModeOptions ()
 
void addSymbolModeOptions ()
 
void addUrlModeOptions ()
 
void addWebModeOptions ()
 
void applyKeyboardModeOptions (KeyboardMode mode)
 
void close ()
 
bool connect ()
 
void handleKeyboardInfoMessage ()
 
bool queryPPSInfo ()
 

Properties

char * mBuffer
 
pps_decoder_t * mDecoder
 
pps_encoder_t * mEncoder
 
int mFd
 
QSocketNotifiermReadNotifier
 

Static Private Attributes

static const size_t sBufferSize = 2048
 
static const char * sPPSPath = "/pps/services/input/control"
 

Additional Inherited Members

- Public Types inherited from QBBAbstractVirtualKeyboard
enum  KeyboardMode {
  Default, Url, Email, Web,
  NumPunc, Symbol, Phone, Pin
}
 
- Signals inherited from QBBAbstractVirtualKeyboard
void heightChanged (int height)
 
- Signals inherited from QObject
void destroyed (QObject *=0)
 This signal is emitted immediately before the object obj is destroyed, and can not be blocked. More...
 
- Static Public Functions inherited from QObject
static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 Creates a connection of the given type from the signal in the sender object to the method in the receiver object. More...
 
static bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 Disconnects signal in object sender from method in object receiver. More...
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static uint registerUserData ()
 
static QString tr (const char *sourceText, const char *comment=0, int n=-1)
 
static QString trUtf8 (const char *sourceText, const char *comment=0, int n=-1)
 
- Static Public Variables inherited from QObject
static const QMetaObject staticMetaObject
 This variable stores the meta-object for the class. More...
 
- Protected Variables inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Static Protected Variables inherited from QObject
static const QMetaObject staticQtMetaObject
 

Detailed Description

Definition at line 54 of file qbbvirtualkeyboardpps.h.

Constructors and Destructors

◆ QBBVirtualKeyboardPps()

QBBVirtualKeyboardPps::QBBVirtualKeyboardPps ( )

Definition at line 72 of file qbbvirtualkeyboardpps.cpp.

73  : mEncoder(0),
74  mDecoder(0),
75  mBuffer(0),
76  mFd(-1),
77  mReadNotifier(0)
78 {
79 }
QSocketNotifier * mReadNotifier

◆ ~QBBVirtualKeyboardPps()

QBBVirtualKeyboardPps::~QBBVirtualKeyboardPps ( )

Definition at line 81 of file qbbvirtualkeyboardpps.cpp.

82 {
83  close();
84 }

Functions

◆ addDefaultModeOptions()

void QBBVirtualKeyboardPps::addDefaultModeOptions ( )
private

Definition at line 382 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions().

383 {
384  pps_encoder_add_string(mEncoder, "enter", "enter.default");
385  pps_encoder_add_string(mEncoder, "type", "default");
386 }

◆ addEmailModeOptions()

void QBBVirtualKeyboardPps::addEmailModeOptions ( )
private

Definition at line 394 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions().

395 {
396  pps_encoder_add_string(mEncoder, "enter", "enter.default");
397  pps_encoder_add_string(mEncoder, "type", "email");
398 }

◆ addNumPuncModeOptions()

void QBBVirtualKeyboardPps::addNumPuncModeOptions ( )
private

Definition at line 406 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions().

407 {
408  pps_encoder_add_string(mEncoder, "enter", "enter.default");
409  pps_encoder_add_string(mEncoder, "type", "numPunc");
410 }

◆ addPhoneModeOptions()

void QBBVirtualKeyboardPps::addPhoneModeOptions ( )
private

Definition at line 412 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions().

413 {
414  pps_encoder_add_string(mEncoder, "enter", "enter.default");
415  pps_encoder_add_string(mEncoder, "type", "phone");
416 }

◆ addPinModeOptions()

void QBBVirtualKeyboardPps::addPinModeOptions ( )
private

Definition at line 418 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions().

419 {
420  pps_encoder_add_string(mEncoder, "enter", "enter.default");
421  pps_encoder_add_string(mEncoder, "type", "pin");
422 }

◆ addSymbolModeOptions()

void QBBVirtualKeyboardPps::addSymbolModeOptions ( )
private

Definition at line 424 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions().

425 {
426  pps_encoder_add_string(mEncoder, "enter", "enter.default");
427  pps_encoder_add_string(mEncoder, "type", "symbol");
428 }

◆ addUrlModeOptions()

void QBBVirtualKeyboardPps::addUrlModeOptions ( )
private

Definition at line 388 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions().

389 {
390  pps_encoder_add_string(mEncoder, "enter", "enter.default");
391  pps_encoder_add_string(mEncoder, "type", "url");
392 }

◆ addWebModeOptions()

void QBBVirtualKeyboardPps::addWebModeOptions ( )
private

Definition at line 400 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions().

401 {
402  pps_encoder_add_string(mEncoder, "enter", "enter.default");
403  pps_encoder_add_string(mEncoder, "type", "web");
404 }

◆ applyKeyboardMode()

void QBBVirtualKeyboardPps::applyKeyboardMode ( KeyboardMode  mode)
protectedvirtual

Implements QBBAbstractVirtualKeyboard.

Definition at line 96 of file qbbvirtualkeyboardpps.cpp.

97 {
99 }
void applyKeyboardModeOptions(KeyboardMode mode)

◆ applyKeyboardModeOptions()

void QBBVirtualKeyboardPps::applyKeyboardModeOptions ( KeyboardMode  mode)
private

Definition at line 336 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardMode(), and showKeyboard().

337 {
338  // Try to connect.
339  if (mFd == -1 && !connect())
340  return;
341 
342  // Send the options message.
343  pps_encoder_add_string(mEncoder, "msg", "options");
344 
345  pps_encoder_start_object(mEncoder, "dat");
346  switch (mode) {
347  case Url:
349  break;
350  case Email:
352  break;
353  case Web:
355  break;
356  case NumPunc:
358  break;
359  case Symbol:
361  break;
362  case Phone:
364  break;
365  case Pin:
367  break;
368  case Default: // fall through
369  default:
371  break;
372  }
373 
374  pps_encoder_end_object(mEncoder);
375 
376  if (::write(mFd, pps_encoder_buffer(mEncoder), pps_encoder_length(mEncoder)) == -1)
377  close();
378 
379  pps_encoder_reset(mEncoder);
380 }

◆ close()

void QBBVirtualKeyboardPps::close ( )
private

Definition at line 101 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions(), connect(), hideKeyboard(), queryPPSInfo(), showKeyboard(), and ~QBBVirtualKeyboardPps().

102 {
103  delete mReadNotifier;
104  mReadNotifier = 0;
105 
106  if (mFd != -1) {
107  // any reads will fail after we close the fd, which is basically what we want.
108  ::close(mFd);
109  mFd = -1;
110  }
111 
112  if (mDecoder) {
113  pps_decoder_cleanup(mDecoder);
114  delete mDecoder;
115  mDecoder = 0;
116  }
117 
118  if (mEncoder) {
119  pps_encoder_cleanup(mEncoder);
120  delete mEncoder;
121  mEncoder = 0;
122  }
123 
124  delete [] mBuffer;
125  mBuffer = 0;
126 }
QSocketNotifier * mReadNotifier

◆ connect()

bool QBBVirtualKeyboardPps::connect ( )
private

Definition at line 128 of file qbbvirtualkeyboardpps.cpp.

Referenced by applyKeyboardModeOptions(), hideKeyboard(), ppsDataReady(), showKeyboard(), and start().

129 {
130  close();
131 
132  mEncoder = new pps_encoder_t;
133  mDecoder = new pps_decoder_t;
134 
135  pps_encoder_initialize(mEncoder, false);
136  pps_decoder_initialize(mDecoder, NULL);
137 
138  errno = 0;
140  if (mFd == -1) {
141  qCritical("QBBVirtualKeyboard: Unable to open \"%s\" for keyboard: %s (%d).",
142  sPPSPath, strerror(errno), errno);
143  close();
144  return false;
145  }
146 
147  mBuffer = new char[sBufferSize];
148  if (!mBuffer) {
149  qCritical("QBBVirtualKeyboard: Unable to allocate buffer of %d bytes. Size is unavailable.", sBufferSize);
150  return false;
151  }
152 
153  if (!queryPPSInfo())
154  return false;
155 
157  QObject::connect(mReadNotifier, SIGNAL(activated(int)), this, SLOT(ppsDataReady()));
158 
159  return true;
160 }
#define SLOT(a)
Definition: qobjectdefs.h:226
QSocketNotifier * mReadNotifier
The QSocketNotifier class provides support for monitoring activity on a file descriptor.
#define SIGNAL(a)
Definition: qobjectdefs.h:227
static bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
Creates a connection of the given type from the signal in the sender object to the method in the rece...
Definition: qobject.cpp:2580
static const char * sPPSPath
static const size_t sBufferSize
#define O_RDWR
Q_CORE_EXPORT void qCritical(const char *,...)
int open(const char *, int,...)
int errno

◆ handleKeyboardInfoMessage()

void QBBVirtualKeyboardPps::handleKeyboardInfoMessage ( )
private

Definition at line 235 of file qbbvirtualkeyboardpps.cpp.

Referenced by ppsDataReady().

236 {
237  int newHeight = 0;
238  const char* value;
239 
240  if (pps_decoder_push(mDecoder, "dat") != PPS_DECODER_OK) {
241  qCritical("QBBVirtualKeyboard: Keyboard PPS dat object not found");
242  return;
243  }
244  if (pps_decoder_get_int(mDecoder, "size", &newHeight) != PPS_DECODER_OK) {
245  qCritical("QBBVirtualKeyboard: Keyboard PPS size field not found");
246  return;
247  }
248  if (pps_decoder_push(mDecoder, "locale") != PPS_DECODER_OK) {
249  qCritical("QBBVirtualKeyboard: Keyboard PPS locale object not found");
250  return;
251  }
252  if (pps_decoder_get_string(mDecoder, "languageId", &value) != PPS_DECODER_OK) {
253  qCritical("QBBVirtualKeyboard: Keyboard PPS languageId field not found");
254  return;
255  }
257 
258  if (pps_decoder_get_string(mDecoder, "countryId", &value) != PPS_DECODER_OK) {
259  qCritical("QBBVirtualKeyboard: Keyboard PPS size countryId not found");
260  return;
261  }
263 
264  // HUGE hack, should be removed ASAP.
265  newHeight -= KEYBOARD_SHADOW_HEIGHT; // We want to ignore the 8 pixel shadow above the keyboard. (PR 88400)
266  setHeight(newHeight);
267 
268 #ifdef QBBVIRTUALKEYBOARD_DEBUG
269  qDebug() << "QBB: handleKeyboardInfoMessage size=" << getHeight() << "languageId=" << languageId() << " countryId=" << countryId();
270 #endif
271 }
void setLanguage(const QString &language)
void setCountry(const QString &country)
Q_CORE_EXPORT void qDebug(const char *,...)
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
Definition: qstring.cpp:4188
#define KEYBOARD_SHADOW_HEIGHT
Q_CORE_EXPORT void qCritical(const char *,...)

◆ hideKeyboard()

bool QBBVirtualKeyboardPps::hideKeyboard ( )
virtual

Implements QBBAbstractVirtualKeyboard.

Definition at line 304 of file qbbvirtualkeyboardpps.cpp.

305 {
306 #ifdef QBBVIRTUALKEYBOARD_DEBUG
307  qDebug() << "QBB: hideKeyboard()";
308 #endif
309 
310  if (mFd == -1 && !connect())
311  return false;
312 
313  pps_encoder_add_string(mEncoder, "msg", "hide");
314 
315  if (::write(mFd, pps_encoder_buffer(mEncoder), pps_encoder_length(mEncoder)) == -1) {
316  close();
317 
318  //Try again.
319  if (connect()) {
320  if (::write(mFd, pps_encoder_buffer(mEncoder), pps_encoder_length(mEncoder)) == -1) {
321  close();
322  return false;
323  }
324  } else {
325  return false;
326  }
327  }
328 
329  pps_encoder_reset(mEncoder);
330 
331  // Return true if no error occurs. Sizing response will be triggered when confirmation of
332  // the change arrives.
333  return true;
334 }
Q_CORE_EXPORT void qDebug(const char *,...)

◆ ppsDataReady

void QBBVirtualKeyboardPps::ppsDataReady ( )
privateslot

Definition at line 178 of file qbbvirtualkeyboardpps.cpp.

Referenced by connect().

179 {
180  ssize_t nread = qt_safe_read(mFd, mBuffer, sBufferSize - 1);
181 
182 #ifdef QBBVIRTUALKEYBOARD_DEBUG
183  qDebug() << "QBB: keyboardMessage size: " << nread;
184 #endif
185  if (nread < 0) {
186  connect(); // reconnect
187  return;
188  }
189 
190  // We sometimes get spurious read notifications when no data is available.
191  // Bail out early in this case
192  if (nread == 0)
193  return;
194 
195  // nread is the real space necessary, not the amount read.
196  if (static_cast<size_t>(nread) > sBufferSize - 1) {
197  qCritical("QBBVirtualKeyboard: Keyboard buffer size too short; need %u.", nread + 1);
198  connect(); // reconnect
199  return;
200  }
201 
202  mBuffer[nread] = 0;
203  pps_decoder_parse_pps_str(mDecoder, mBuffer);
204  pps_decoder_push(mDecoder, NULL);
205 #ifdef QBBVIRTUALKEYBOARD_DEBUG
206  pps_decoder_dump_tree(mDecoder, stderr);
207 #endif
208 
209  const char* value;
210  if (pps_decoder_get_string(mDecoder, "error", &value) == PPS_DECODER_OK) {
211  qCritical("QBBVirtualKeyboard: Keyboard PPS decoder error: %s", value ? value : "[null]");
212  return;
213  }
214 
215  if (pps_decoder_get_string(mDecoder, "msg", &value) == PPS_DECODER_OK) {
216  if (strcmp(value, "show") == 0)
217  setVisible(true);
218  else if (strcmp(value, "hide") == 0)
219  setVisible(false);
220  else if (strcmp(value, "info") == 0)
222  else if (strcmp(value, "connect") == 0) { }
223  else
224  qCritical("QBBVirtualKeyboard: Unexpected keyboard PPS msg value: %s", value ? value : "[null]");
225  } else if (pps_decoder_get_string(mDecoder, "res", &value) == PPS_DECODER_OK) {
226  if (strcmp(value, "info") == 0)
228  else
229  qCritical("QBBVirtualKeyboard: Unexpected keyboard PPS res value: %s", value ? value : "[null]");
230  } else {
231  qCritical("QBBVirtualKeyboard: Unexpected keyboard PPS message type");
232  }
233 }
Q_CORE_EXPORT void qDebug(const char *,...)
static const size_t sBufferSize
Q_CORE_EXPORT void qCritical(const char *,...)
static qint64 qt_safe_read(int fd, void *data, qint64 maxlen)
Definition: qcore_unix_p.h:273

◆ queryPPSInfo()

bool QBBVirtualKeyboardPps::queryPPSInfo ( )
private

Definition at line 162 of file qbbvirtualkeyboardpps.cpp.

Referenced by connect().

163 {
164  // Request info, requires id to regenerate res message.
165  pps_encoder_add_string(mEncoder, "msg", "info");
166  pps_encoder_add_string(mEncoder, "id", "libWebView");
167 
168  if (::write(mFd, pps_encoder_buffer(mEncoder), pps_encoder_length(mEncoder)) == -1) {
169  close();
170  return false;
171  }
172 
173  pps_encoder_reset(mEncoder);
174 
175  return true;
176 }

◆ showKeyboard()

bool QBBVirtualKeyboardPps::showKeyboard ( )
virtual

Implements QBBAbstractVirtualKeyboard.

Definition at line 273 of file qbbvirtualkeyboardpps.cpp.

274 {
275 #ifdef QBBVIRTUALKEYBOARD_DEBUG
276  qDebug() << "QBB: showKeyboard()";
277 #endif
278 
279  // Try to connect.
280  if (mFd == -1 && !connect())
281  return false;
282 
283  // NOTE: This must be done everytime the keyboard is shown even if there is no change because
284  // hiding the keyboard wipes the setting.
286 
287  pps_encoder_reset(mEncoder);
288 
289  // Send the show message.
290  pps_encoder_add_string(mEncoder, "msg", "show");
291 
292  if (::write(mFd, pps_encoder_buffer(mEncoder), pps_encoder_length(mEncoder)) == -1) {
293  close();
294  return false;
295  }
296 
297  pps_encoder_reset(mEncoder);
298 
299  // Return true if no error occurs. Sizing response will be triggered when confirmation of
300  // the change arrives.
301  return true;
302 }
Q_CORE_EXPORT void qDebug(const char *,...)
void applyKeyboardModeOptions(KeyboardMode mode)

◆ start

void QBBVirtualKeyboardPps::start ( )
slot

Definition at line 86 of file qbbvirtualkeyboardpps.cpp.

87 {
88 #ifdef QBBVIRTUALKEYBOARD_DEBUG
89  qDebug() << "QBB: starting keyboard event processing";
90 #endif
91 
92  if (!connect())
93  return;
94 }
Q_CORE_EXPORT void qDebug(const char *,...)

Properties

◆ mBuffer

char* QBBVirtualKeyboardPps::mBuffer
private

Definition at line 76 of file qbbvirtualkeyboardpps.h.

Referenced by close(), connect(), and ppsDataReady().

◆ mDecoder

pps_decoder_t* QBBVirtualKeyboardPps::mDecoder
private

Definition at line 75 of file qbbvirtualkeyboardpps.h.

Referenced by close(), connect(), handleKeyboardInfoMessage(), and ppsDataReady().

◆ mEncoder

pps_encoder_t* QBBVirtualKeyboardPps::mEncoder
private

◆ mFd

int QBBVirtualKeyboardPps::mFd
private

◆ mReadNotifier

QSocketNotifier* QBBVirtualKeyboardPps::mReadNotifier
private

Definition at line 78 of file qbbvirtualkeyboardpps.h.

Referenced by close(), and connect().

◆ sBufferSize

const size_t QBBVirtualKeyboardPps::sBufferSize = 2048
staticprivate

Definition at line 82 of file qbbvirtualkeyboardpps.h.

Referenced by connect(), and ppsDataReady().

◆ sPPSPath

const char * QBBVirtualKeyboardPps::sPPSPath = "/pps/services/input/control"
staticprivate

Definition at line 81 of file qbbvirtualkeyboardpps.h.

Referenced by connect().


The documentation for this class was generated from the following files: