Add missing include lines.
This commit is contained in:
parent
75776b86a3
commit
c80c709d7e
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
#include <QString>
|
||||||
#include "aboutdialog.h"
|
#include "aboutdialog.h"
|
||||||
|
|
||||||
AboutDialog::AboutDialog(const QString &version, QWidget *parent)
|
AboutDialog::AboutDialog(const QString &version, QWidget *parent)
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QString>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
#include <QDialog>
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
|
@ -16,11 +16,15 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "applicationlist.h"
|
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
|
#include <QObject>
|
||||||
|
#include <QSettings>
|
||||||
|
#include <QStringList>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
#include "applicationlist.h"
|
||||||
|
|
||||||
|
|
||||||
ApplicationList::ApplicationList(QObject *parent) :
|
ApplicationList::ApplicationList(QObject *parent) :
|
||||||
QObject(parent)
|
QObject(parent)
|
||||||
|
@ -113,7 +117,6 @@ QString ApplicationList::GetApplicationPath(const int index) const
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ApplicationList::SetApplicationType(const int index,
|
void ApplicationList::SetApplicationType(const int index,
|
||||||
const QString &name,
|
const QString &name,
|
||||||
const QString &path)
|
const QString &path)
|
||||||
|
@ -143,7 +146,6 @@ void ApplicationList::RemoveApplication(const int index)
|
||||||
mApplications.removeAt(index);
|
mApplications.removeAt(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ApplicationList::MoveFirst(const int index)
|
void ApplicationList::MoveFirst(const int index)
|
||||||
{
|
{
|
||||||
if (index < mApplications.size() && index > 0)
|
if (index < mApplications.size() && index > 0)
|
||||||
|
@ -152,7 +154,6 @@ void ApplicationList::MoveFirst(const int index)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ApplicationList::Copy(ApplicationList *list)
|
void ApplicationList::Copy(ApplicationList *list)
|
||||||
{
|
{
|
||||||
if (!list)
|
if (!list)
|
||||||
|
|
|
@ -16,9 +16,11 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QString>
|
||||||
#include "checkthread.h"
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include "checkthread.h"
|
||||||
|
#include "threadresult.h"
|
||||||
|
#include "cppcheck.h"
|
||||||
|
|
||||||
CheckThread::CheckThread(ThreadResult &result) :
|
CheckThread::CheckThread(ThreadResult &result) :
|
||||||
mState(Ready),
|
mState(Ready),
|
||||||
|
|
|
@ -16,9 +16,12 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
#include <QString>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
|
#include "report.h"
|
||||||
#include "csvreport.h"
|
#include "csvreport.h"
|
||||||
|
|
||||||
CsvReport::CsvReport(const QString &filename, QObject * parent) :
|
CsvReport::CsvReport(const QString &filename, QObject * parent) :
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QString>
|
||||||
|
#include <QStringList>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
#include <QDialog>
|
||||||
|
#include <QString>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include "projectfiledialog.h"
|
#include "projectfiledialog.h"
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
#include <QString>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include "erroritem.h"
|
#include "erroritem.h"
|
||||||
#include "report.h"
|
#include "report.h"
|
||||||
|
|
|
@ -17,17 +17,30 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
#include <QWidget>
|
||||||
|
#include <QStandardItem>
|
||||||
|
#include <QModelIndex>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include <QString>
|
||||||
|
#include <QStringList>
|
||||||
|
#include <QList>
|
||||||
|
#include <QMap>
|
||||||
|
#include <QVariant>
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QSignalMapper>
|
#include <QSignalMapper>
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
#include <QAction>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QClipboard>
|
#include <QClipboard>
|
||||||
|
#include <QContextMenuEvent>
|
||||||
#include "erroritem.h"
|
#include "erroritem.h"
|
||||||
|
#include "settings.h"
|
||||||
|
#include "applicationlist.h"
|
||||||
#include "resultstree.h"
|
#include "resultstree.h"
|
||||||
|
#include "report.h"
|
||||||
#include "xmlreport.h"
|
#include "xmlreport.h"
|
||||||
|
|
||||||
ResultsTree::ResultsTree(QWidget * parent) :
|
ResultsTree::ResultsTree(QWidget * parent) :
|
||||||
|
|
|
@ -20,7 +20,9 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
#include <QList>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include <QListWidgetItem>
|
||||||
#include <QTabWidget>
|
#include <QTabWidget>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
#include "settingsdialog.h"
|
#include "settingsdialog.h"
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
#include <QDialog>
|
||||||
|
#include <QString>
|
||||||
#include <QClipboard>
|
#include <QClipboard>
|
||||||
#include <QMimeData>
|
#include <QMimeData>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
|
@ -16,9 +16,12 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
#include "threadhandler.h"
|
#include <QStringList>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include "settings.h"
|
||||||
|
#include "threadhandler.h"
|
||||||
|
#include "resultsview.h"
|
||||||
|
|
||||||
ThreadHandler::ThreadHandler(QObject *parent) :
|
ThreadHandler::ThreadHandler(QObject *parent) :
|
||||||
QObject(parent),
|
QObject(parent),
|
||||||
|
|
|
@ -17,8 +17,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <QString>
|
||||||
|
#include <QMutexLocker>
|
||||||
|
#include <QList>
|
||||||
|
#include <QStringList>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include "erroritem.h"
|
#include "erroritem.h"
|
||||||
|
#include "errorlogger.h"
|
||||||
#include "threadresult.h"
|
#include "threadresult.h"
|
||||||
|
|
||||||
ThreadResult::ThreadResult() : mMaxProgress(0), mProgress(0)
|
ThreadResult::ThreadResult() : mMaxProgress(0), mProgress(0)
|
||||||
|
|
|
@ -16,10 +16,14 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
#include <QString>
|
||||||
|
#include <QList>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QXmlStreamWriter>
|
#include <QXmlStreamWriter>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include "report.h"
|
||||||
#include "erroritem.h"
|
#include "erroritem.h"
|
||||||
#include "xmlreport.h"
|
#include "xmlreport.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue