| 
    BornAgain
    1.19.79
    
   Simulate and fit neutron and x-ray scattering at grazing incidence 
   | 
 
Holds information about last save for items with non-XML data.
Definition at line 26 of file IOHistory.h.
Public Member Functions | |
| DatafieldSaveInfo () | |
| QString | fileName () const | 
| const SaveLoadInterface * | item () const | 
| bool | wasModifiedSinceLastSave () const | 
Static Public Member Functions | |
| static DatafieldSaveInfo | createSaved (const SaveLoadInterface *item) | 
| Static method to create info for just saved item.  More... | |
Private Member Functions | |
| bool | wasSavedBefore (const QDateTime &dtime) const | 
| Returns true if IntensityDataItem was saved before given time.  More... | |
Private Attributes | |
| const SaveLoadInterface * | m_data | 
| QString | m_file_name | 
| QDateTime | m_last_saved | 
      
  | 
  inline | 
Definition at line 28 of file IOHistory.h.
      
  | 
  static | 
Static method to create info for just saved item.
Definition at line 22 of file IOHistory.cpp.
References SaveLoadInterface::fileName(), item(), m_data, m_file_name, and m_last_saved.
Referenced by DatafieldDirHistory::markAsSaved().
      
  | 
  inline | 
      
  | 
  inline | 
| bool DatafieldSaveInfo::wasModifiedSinceLastSave | ( | ) | const | 
Definition at line 33 of file IOHistory.cpp.
References SaveLoadInterface::lastModified(), m_data, and wasSavedBefore().
Referenced by DatafieldDirHistory::wasModifiedSinceLastSave().
      
  | 
  private | 
Returns true if IntensityDataItem was saved before given time.
Definition at line 40 of file IOHistory.cpp.
References m_last_saved.
Referenced by wasModifiedSinceLastSave().
      
  | 
  private | 
Definition at line 46 of file IOHistory.h.
Referenced by createSaved(), item(), and wasModifiedSinceLastSave().
      
  | 
  private | 
Definition at line 45 of file IOHistory.h.
Referenced by createSaved(), and fileName().
      
  | 
  private | 
Definition at line 44 of file IOHistory.h.
Referenced by createSaved(), and wasSavedBefore().