a?adido historial y navegaci?n

This commit is contained in:
Luis Ángel San Martín
2013-06-17 17:02:24 +02:00
parent b018cc7fe6
commit c0990fe31c
3 changed files with 77 additions and 7 deletions

View File

@ -107,7 +107,7 @@ private:
int i;
QAction * backAction;
QAction * fordwardAction;
QAction * forwardAction;
QAction * openComicAction;
QAction * showPropertiesAction;
@ -191,6 +191,11 @@ private:
//settings
QSettings * settings;
//navigation backward and forward
int currentFolderNavigation;
QList<QModelIndex> history;
protected:
virtual void closeEvent ( QCloseEvent * event );
public:
@ -248,6 +253,9 @@ public:
QModelIndexList getSelectedComics();
void deleteComics();
//void showSocial();
void backward();
void forward();
void updateHistory(const QModelIndex & mi);
};
#endif