Diffstat (limited to 'noncore/apps/oxygen/dataTable.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/dataTable.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/oxygen/dataTable.h b/noncore/apps/oxygen/dataTable.h index a8c9b6e..8be78a9 100644 --- a/noncore/apps/oxygen/dataTable.h +++ b/noncore/apps/oxygen/dataTable.h @@ -7,44 +7,45 @@ * ( at your option ) any later version. * * * **************************************************************************/ #ifndef _DATATABLE_H #define _DATATABLE_H #include <qwidget.h> #include <qtable.h> class QLabel; class OxydataTable; -//class QStringList; +class QStringList; /* * A OxydataWidget shows all known data of an element. It can * be used for both the PSE and the pure Data-Dialog. It is * a simple QHBox with 2 QStrings in it plus a OxydataTable * which contains the rest of the data. * * Author: Carsten Niehaus <cniehaus@handhelds.org> */ class OxydataWidget : public QWidget { Q_OBJECT public: - OxydataWidget(QWidget *parent=0, const char *name=0, QStringList *list =0 ); + OxydataWidget(QWidget *parent=0, const char *name=0, const QStringList &list =0 ); QLabel *left, *middle, *right; void setLayout(); + QStringList names; private: void setTable() const; OxydataTable *DataTable; public slots: void setElement( int ); }; /* * A OxydataTable is derived from QTable. I recoded the paintCell to have * different colors in the backgound. Furthermore this widget never has a |