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

void KDateEdit::setReadOnly ( bool  readOnly  ) 

Sets whether the widget is read-only for the user. If read-only, the date pop-up is inactive, and the displayed date cannot be edited.

Parameters:
readOnly True to set the widget read-only, false to set it read-write.

Definition at line 129 of file kdateedit.cpp.

{
  mReadOnly = readOnly;
  lineEdit()->setReadOnly( readOnly );
}


Generated by  Doxygen 1.6.0   Back to index