OSSP CVS Repository

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

ossp-pkg/as/as-gui/as_gui.h 1.3 -> 1.4

--- as_gui.h     2002/11/12 19:16:00     1.3
+++ as_gui.h     2002/11/13 12:38:25     1.4
@@ -1,19 +1,18 @@
-#ifndef OPKGFORM_H
-#define OPKGFORM_H
+#ifndef TITRAQMWIN_H
+#define TITRAQMWIN_H
 
+#include <qapplication.h>
 #include <qmainwindow.h>
 #include <qtable.h>
-#include <qheader.h>
 #include <qimage.h>
-#include <qpixmap.h>
 #include <qpushbutton.h>
 #include <qlineedit.h>
 #include <qlayout.h>
 
 
 // Main table size
-const int knRows = 18;
-const int knCols = 6;
+const int g_knRows = 18;
+const int g_knCols = 6;
 
 // Main application form window
 class Titraqform : public QMainWindow
@@ -25,34 +24,35 @@
     ~Titraqform();
 
     // Table, cells, and entries in package layout
-    QTable *pMaintable;
-    QHeader *pTablehead;
-    QImage *pIconimage;
-    QPixmap *pIconpixmap;
-    QStringList *pTaskentries;
+    QTable      *m_pMaintable;
+    QHeader     *m_pTablehead;
+    QImage      *m_pIconimage;
+    QPixmap     *m_pIconpixmap;
+    QStringList *m_pTaskentries;
 
     // Push buttons in control layout
-    QPushButton *pAddbutton;
-    QPushButton *pDeletebutton;
-    QPushButton *pWritebutton;
-    QPushButton *pQuitbutton;
+    QPushButton *m_pAddbutton;
+    QPushButton *m_pDeletebutton;
+    QPushButton *m_pWritebutton;
+    QPushButton *m_pQuitbutton;
 
     // Line edit for status
-    QLineEdit *pStatus;
+    QLineEdit *m_pStatus;
 
 protected slots:
-    virtual void init();            // Override init to include custom controls
-    void addEntry();
-    void delEntry();
-    void writeEntry();
+    virtual void init(void);            // Override init to include custom controls
+    void addEntry(void);                // Add a task entry to the list
+    void delEntry(void);                // Delete a task entry from the list
+    void writeEntry(void);              // Write the task list to a filedescriptor
 
 protected:
-    QVBoxLayout *pTitraqformlayout; // Main form layout
-    QVBoxLayout *pMainlayout;       // Package and control layouts
-    QVBoxLayout *pPackagelayout;    // Main table control
-    QHBoxLayout *pControllayout;    // Lower control buttons
+    QFrame      *m_pCenframe;           // Central frame
+    QVBoxLayout *m_pTitraqformlayout;   // Main form layout
+    QVBoxLayout *m_pMainlayout;         // Package and control layouts
+    QVBoxLayout *m_pPackagelayout;      // Main table control
+    QHBoxLayout *m_pControllayout;      // Lower control buttons
 
 private:
 };
 
-#endif // OPKGFORM_H
+#endif // TITRAQMWIN_H

CVSTrac 2.0.1