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

void CFormMain::fileAccess ( QString  event,
QString  file 
) [protected]

This method is called whenever we read or write a sail definition. It updates the Most Recently Used files list correspondingly.

Parameters:
event The action performed on the file (read, write)
file The file that was accessed

Definition at line 119 of file formmain.cpp.

References makeMenuMru(), CPrefs::mruSaildef, prefs, statusbar, and CPrefsMru::touchEntry().

Referenced by show(), slotOpen(), slotOpenRecent(), slotSave(), and slotSaveAs().

{
    statusbar->showMessage(event);
    prefs->mruSaildef.touchEntry(file);
    makeMenuMru();
}


Generated by  Doxygen 1.6.0   Back to index