libyui-qt  2.43.3
 All Classes Functions Variables
YQRawLineEdit Class Reference

#include <YQInputField.h>

Inheritance diagram for YQRawLineEdit:
Collaboration diagram for YQRawLineEdit:

Signals

void capsLockActivated ()
 
void capsLockDeactivated ()
 

Public Member Functions

 YQRawLineEdit (QWidget *parent)
 
virtual ~YQRawLineEdit ()
 
bool isCapsLockActive () const
 

Protected Member Functions

bool x11Event (XEvent *event)
 

Detailed Description

Helper class that can obtain the CapsLock status, too. For some reason, Qt does not propagate that information from X11.

Definition at line 166 of file YQInputField.h.

Constructor & Destructor Documentation

YQRawLineEdit::YQRawLineEdit ( QWidget *  parent)
inline

Constructor

Definition at line 175 of file YQInputField.h.

virtual YQRawLineEdit::~YQRawLineEdit ( )
inlinevirtual

Destructor

Definition at line 183 of file YQInputField.h.

Member Function Documentation

bool YQRawLineEdit::isCapsLockActive ( ) const
inline

Check if CapsLock is active (rather: was active at the time of the last key or focus event)

Definition at line 189 of file YQInputField.h.

bool YQRawLineEdit::x11Event ( XEvent *  event)
protected

X11 raw event handler. Propagates all events to the Qt event handlers, but updates _capsLockActive for key events.

Reimplemented from QWidget.

Definition at line 257 of file YQInputField.cc.


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