# reportabug: githubmodule.h Source File

All Classes Namespaces Files Functions Variables Macros
githubmodule.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 GITHUBMODULE_H
#define GITHUBMODULE_H
#include <QMap>
#include <QObject>
class Reportabug;
class QNetworkReply;
class GithubModule : public QObject
{
Q_OBJECT
public:
explicit GithubModule(QWidget *parent = 0,
bool debugCmd = false,
QMap<QString, QString> params = QMap<QString, QString>());
~GithubModule();
public slots:
void sendReportUsingGithub(const QMap<QString, QString> info);
private slots:
void githubFinished(QNetworkReply *reply);
private:
bool debug;
QMap<QString, QString> dynamic;
Reportabug *mainWindow;
QString parseString(QString line);
QByteArray prepareRequest(const QString title, const QString body);
};
#endif /* GITHUBMODULE_H */
GithubModule
The GithubModule class creates issue over GitHub.
Definition: githubmodule.h:53
Reportabug
The Reportabug class is a main class of the application.
Definition: reportabug.h:42
GithubModule::~GithubModule
~GithubModule()
GithubModule class destructor.
GithubModule::sendReportUsingGithub
void sendReportUsingGithub(const QMap< QString, QString > info)
method which creates an issue
GithubModule::GithubModule
GithubModule(QWidget *parent=0, bool debugCmd=false, QMap< QString, QString > params=QMap< QString, QString >())
GithubModule class constructor.