reportabug
Qt application which allows users to create an issue for GitHub projects
 All Classes Namespaces Files Functions Variables
gitreportmodule.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This file is part of reportabug *
3  * *
4  * This library is free software; you can redistribute it and/or *
5  * modify it under the terms of the GNU Lesser General Public *
6  * License as published by the Free Software Foundation; either *
7  * version 3.0 of the License, or (at your option) any later version. *
8  * *
9  * This library is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
12  * Lesser General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU Lesser General Public *
15  * License along with this library. *
16  ***************************************************************************/
25 #ifndef GITREPORTMODULE_H
26 #define GITREPORTMODULE_H
27 
28 #include <QMap>
29 #include <QObject>
30 #include <QWebView>
31 
32 class Reportabug;
33 
42 class GitreportModule : public QObject
43 {
44  Q_OBJECT
45 
46 public:
52  explicit GitreportModule(QWidget *parent = 0,
53  bool debugCmd = false);
61  QWebView *webView;
62 
63 public slots:
71  void sendReportUsingGitreport(const QMap<QString, QString> info);
72 
73 private slots:
78  void gitreportFinished(const bool state);
83  void gitreportLoaded(const bool state);
84 
85 private:
89  bool debug;
93  Reportabug *mainWindow;;
94 };
95 
96 
97 #endif /* GITREPORTMODULE_H */
GitreportModule(QWidget *parent=0, bool debugCmd=false)
GitreportModule class constructor.
void sendReportUsingGitreport(const QMap< QString, QString > info)
method which creates an issue
The Reportabug class is a main class of the application.
Definition: reportabug.h:43
QWebView * webView
Webkit item which is used for loading web page.
Definition: gitreportmodule.h:61
The GitreportModule class creates issue over GitReports.
Definition: gitreportmodule.h:42
~GitreportModule()
GitreportModule class destructor.