Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void Q3Table::setEnabled ( bool  b  ) 

For internal use only.

Reimplemented from Q3ScrollView.

Definition at line 6431 of file q3table.cpp.

References endEdit(), and Q3ScrollView::setEnabled().

{
    if (!b) {
        // editor will lose focus, causing a crash deep in setEnabled(),
        // so we'll end the edit early.
        endEdit(editRow, editCol, true, edMode != Editing);
    }
    Q3ScrollView::setEnabled(b);
}


Generated by  Doxygen 1.6.0   Back to index