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.

Parameters:
dateThe new date to set.
Returns:
True if the date was set, false if it was considered invalid and remains unchanged.

Definition at line 397 of file kdateedit.cpp.

References date().

Referenced by setDate().

{
  mDate = date;
  mTextChanged = false;
  return true;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index