mirror of
https://github.com/arcan1s/reportabug.git
synced 2026-02-13 16:59:49 +00:00
add support of github
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include <QMainWindow>
|
||||
|
||||
|
||||
class QNetworkReply;
|
||||
|
||||
namespace Ui {
|
||||
class Reportabug;
|
||||
}
|
||||
@@ -45,6 +47,7 @@ public slots:
|
||||
private slots:
|
||||
void sendReportUsingGithub();
|
||||
void sendReportUsingGitreport();
|
||||
void replyFinished(QNetworkReply *reply);
|
||||
|
||||
private:
|
||||
Ui::Reportabug *ui;
|
||||
@@ -53,7 +56,12 @@ private:
|
||||
int getNumberByIndex(const int index);
|
||||
// ESC pressed event
|
||||
void keyPressEvent(QKeyEvent *pressedKey);
|
||||
QString parseCmd(QString line,
|
||||
const QString password = QString(),
|
||||
const QString text = QString(),
|
||||
const QString username = QString());
|
||||
QString parseString(QString line);
|
||||
QByteArray prepareRequest(const QString title, const QString body);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user