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