00001 //LabPlot : History.h 00002 00003 #ifndef HISTORY_H 00004 #define HISTORY_H 00005 00006 #include <qstringlist.h> 00007 00008 class History 00009 { 00010 public: 00011 History(); 00012 void addRedo(QString cmd); 00013 void addUndo(QString cmd); 00014 QString redo(); 00015 QString undo(); 00016 protected: 00017 QStringList redolist, undolist; 00018 }; 00019 00020 #endif //HISTORY_H