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

bool YView::getLocalBooleanOption ( const QString &  option  )  const

Retrieve a bool option

Definition at line 1503 of file view.cpp.

References YSession::getOptions(), YInternalOptionPool::readBooleanOption(), and YSession::self().

Referenced by YModeInsert::execCommand(), guiPaintEvent(), recalcScreen(), QYView::refreshScreen(), NYView::refreshScreen(), refreshScreen(), YSession::sendKey(), and YView().

{
    if ( YSession::self()->getOptions()->hasOption( getLocalOptionKey() + "\\" + option ) ) //find the local one ?
        return YSession::self()->getOptions()->readBooleanOption( getLocalOptionKey() + "\\" + option );
    else
        return YSession::self()->getOptions()->readBooleanOption( "Global\\" + option );
}


Generated by  Doxygen 1.6.0   Back to index