11 #include "historyform.hpp"
12 #include "ui_historyform.h"
14 using namespace Huggle;
19 ui->pushButton->setEnabled(
false);
21 ui->pushButton->setText(
"No edit info");
24 HistoryForm::~HistoryForm()
33 throw new Exception(
"WikiEdit edit must not be NULL",
"void HistoryForm::Update(WikiEdit *edit)");
35 this->CurrentEdit = edit;
37 this->ui->pushButton->setText(
"Retrieve history");
38 this->ui->pushButton->setEnabled(
true);
44 ui->pushButton->setText(
"Retrieving history");
45 ui->pushButton->setEnabled(
false);
Every exception raised by huggle is defined by this class.
void Update(WikiEdit *edit)
HistoryForm(QWidget *parent=0)
void on_pushButton_clicked()
It can be used to retrieve a history of currently displayed page.