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

void YView::updateFileInfo (  ) 

Update the GUI when file status has changed. Updates the status bar and notificates the GUI through guiUpdateFileInfo.

Can't be called until the GUI has been initialized.

Definition at line 313 of file view.cpp.

References YViewIface::guiStatusBar(), YViewIface::guiUpdateFileInfo(), myBuffer(), and YStatusBarIface::setFileInfo().

Referenced by YSession::createView(), YBuffer::setChanged(), and YBuffer::updateAllViews().

    if (guiStatusBar())
        guiStatusBar()->setFileInfo(myBuffer()->fileIsNew(), myBuffer()->fileIsModified());

Generated by  Doxygen 1.6.0   Back to index