OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_gui.h versions 1.21 and 1.22
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_gui.h 1.21 -> 1.22

--- as_gui.h     2002/11/24 20:39:32     1.21
+++ as_gui.h     2002/11/24 23:11:56     1.22
@@ -120,10 +120,13 @@
     QString     *m_szFilename;
 
     // Standard members
-    bool        m_bDirt;                // To track dirty and clean states
+    bool        m_bDirt;                    // To track dirty and clean states
 
     // Standard methods
-    bool isDirty(void);                 // Check for changed state danger
+    bool isDirty(void) {return m_bDirt;};    // Check for changed state danger
+
+    // Accessor methods
+    void setDirty(bool bDirty = true) {m_bDirt = bDirty;};  // Clean or dirty
 
     // Constructor helpers
     void setupPrefs(void);              // Preferences
@@ -140,6 +143,8 @@
     // Data processing
     void loadData(QFile &);             // Load accounting data from file
     void loadData(QTextStream &);       // Load accounting data from stream
+    void saveData(QFile &);             // Save accounting data to file
+    void saveData(QTextStream &);       // Save accounting data to stream
 };
 
 #endif // TITRAQMWIN_H

CVSTrac 2.0.1