# reportabug: gitreportmodule.h Source File

All Classes Namespaces Files Functions Variables Macros
gitreportmodule.h
Go to the documentation of this file.
/***************************************************************************
* This file is part of reportabug *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public *
* License as published by the Free Software Foundation; either *
* version 3.0 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public *
* License along with this library. *
***************************************************************************/
#ifndef GITREPORTMODULE_H
#define GITREPORTMODULE_H
#include <QMap>
#include <QObject>
#include <QWebView>
class QNetworkAccessManager;
class Reportabug;
class GitreportModule : public QObject
{
Q_OBJECT
public:
explicit GitreportModule(QWidget *parent = 0,
bool debugCmd = false,
QMap<QString, QString> params = QMap<QString, QString>());
~GitreportModule();
QWebView *webView;
public slots:
void sendReportUsingGitreport(const QMap<QString, QString> info);
private slots:
void gitreportFinished(const bool state);
void gitreportLoaded(const bool state);
void setCaptcha(QNetworkReply *reply);
private:
bool debug;
QMap<QString, QString> dynamic;
Reportabug *mainWindow;
QNetworkAccessManager manager;
};
#endif /* GITREPORTMODULE_H */
GitreportModule::sendReportUsingGitreport
void sendReportUsingGitreport(const QMap< QString, QString > info)
method which creates an issue
Reportabug
The Reportabug class is a main class of the application.
Definition: reportabug.h:42
GitreportModule::webView
QWebView * webView
Webkit item which is used for loading web page.
Definition: gitreportmodule.h:64
GitreportModule::GitreportModule
GitreportModule(QWidget *parent=0, bool debugCmd=false, QMap< QString, QString > params=QMap< QString, QString >())
GitreportModule class constructor.
GitreportModule
The GitreportModule class creates issue over GitReports.
Definition: gitreportmodule.h:43
GitreportModule::~GitreportModule
~GitreportModule()
GitreportModule class destructor.