Logo Search packages:      
Sourcecode: bbconf version File versions  Download package

KKeyButton::KKeyButton ( QWidget *  parent = 0,
const char *  name = 0 
)

Constructs a key button widget.

Definition at line 72 of file my_kkeydialog.cpp.

References captureKey().

  : QPushButton( parent, name )
{
  setFocusPolicy( QWidget::StrongFocus );
  editing = false;
  connect( this, SIGNAL(clicked()), this, SLOT(captureKey()) );
  // qApp->installX11EventFilter( this ); // Allow button to capture X Key Events.
  setKey( 0 );
}


Generated by  Doxygen 1.6.0   Back to index