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

MapOption YView::getLocalMapOption ( const QString &  option  )  const

Retrieve a map option

Definition at line 1524 of file view.cpp.

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

Referenced by refreshScreen(), and YView().

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


Generated by  Doxygen 1.6.0   Back to index