Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
historyform.hpp
1 //This program is free software: you can redistribute it and/or modify
2 //it under the terms of the GNU General Public License as published by
3 //the Free Software Foundation, either version 3 of the License, or
4 //(at your option) any later version.
5 
6 //This program is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
10 
11 #ifndef HISTORYFORM_H
12 #define HISTORYFORM_H
13 
14 #include <QDockWidget>
15 #include "exception.hpp"
16 #include "wikiedit.hpp"
17 
18 namespace Ui
19 {
20  class HistoryForm;
21 }
22 
23 namespace Huggle
24 {
25  /// \todo RELEASE BLOCKER: this thing needs to be finished
26  //! This is a small gadget that is displayed on top of main window
27 
28  //! It can be used to retrieve a history of currently displayed page
29  class HistoryForm : public QDockWidget
30  {
31  Q_OBJECT
32  public:
33  explicit HistoryForm(QWidget *parent = 0);
34  ~HistoryForm();
35  void Update(WikiEdit *edit);
36 
37  private slots:
38  void on_pushButton_clicked();
39 
40  private:
41  Ui::HistoryForm *ui;
42  WikiEdit* CurrentEdit;
43  };
44 }
45 
46 #endif // HISTORYFORM_H
Wiki edit.
Definition: wikiedit.hpp:67
void Update(WikiEdit *edit)
Definition: historyform.cpp:29
HistoryForm(QWidget *parent=0)
Definition: historyform.cpp:16
void on_pushButton_clicked()
Definition: historyform.cpp:41
It can be used to retrieve a history of currently displayed page.
Definition: historyform.hpp:29