/**
*This class should in the future be used in the TableWidget
*It will override the operator< , so the Table can be ordered by date.
* At the moment it is't working because it seems we need to
*make a new QList<QStringDates> too....
*/
#ifndef DATETABLEWIDGETITEM_H
#define DATETABLEWIDGETITEM_H

#include <QtCore/QString>
#include <QtCore/QStringList>
#include "QStringDates.h"
#include <QtCore/QDate>
#include <QtGui/QTableWidgetItem>

class DateTableWidgetItem :public QTableWidgetItem
 {

        public:
        DateTableWidgetItem(QDate date);
	DateTableWidgetItem(QString date);
	DateTableWidgetItem();
	bool operator<(const DateTableWidgetItem& s1) const;
	bool operator<(const QTableWidgetItem& s1) const;
};

#endif


