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

bool KDateEdit::assignDate ( const QDate &  date  )  [protected, virtual]

Sets the date, without altering the display. This method is used internally to set the widget's date value. As a virtual method, it allows derived classes to perform additional validation on the date value before it is set. Derived classes should return true if QDate::isValid(date) returns false.

date The new date to set.
True if the date was set, false if it was considered invalid and remains unchanged.

Definition at line 397 of file kdateedit.cpp.

Referenced by setDate().

  mDate = date;
  mTextChanged = false;
  return true;

Generated by  Doxygen 1.6.0   Back to index