Commit db3f1d7f authored by Ben Boeckel's avatar Ben Boeckel

HeaderTest: fix up some include warnings

parent 16152ce5
......@@ -25,7 +25,7 @@
#include "vtkDomainsChemistryModule.h" // For export macro
#include "vtkObject.h"
#include "vtkNew.h"
#include "vtkNew.h" // Needed for the static data member
class vtkBlueObeliskData;
class vtkColor3f;
......
......@@ -35,7 +35,7 @@
#ifndef vtkMatlabEngineFilter_h
#define vtkMatlabEngineFilter_h
#include "vtkFiltersMatlabModule.h"
#include "vtkFiltersMatlabModule.h" // For export macro
#include "vtkDataObjectAlgorithm.h"
class vtkMatlabEngineInterface;
......@@ -164,4 +164,4 @@ private:
};
#endif
\ No newline at end of file
#endif
......@@ -43,7 +43,7 @@
#ifndef vtkMatlabEngineInterface_h
#define vtkMatlabEngineInterface_h
#include "vtkFiltersMatlabModule.h"
#include "vtkFiltersMatlabModule.h" // For export macro
#include "vtkObject.h"
class vtkArray;
......@@ -120,4 +120,4 @@ private:
};
#endif
\ No newline at end of file
#endif
......@@ -53,7 +53,7 @@
#include "mex.h" // Needed for Matlab mex.h mxArray
#include "matrix.h" // Needed for Matlab matrix.h mxArray
#include "vtkObject.h"
#include "vtkFiltersMatlabModule.h"
#include "vtkFiltersMatlabModule.h" // For export macro
class vtkInformation;
class vtkInformationVector;
......@@ -132,4 +132,4 @@ private:
};
#endif
\ No newline at end of file
#endif
......@@ -33,13 +33,12 @@
#define vtkQtAbstractModelAdapter_h
#include "vtkGUISupportQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include <QAbstractItemModel>
#include <QItemSelection>
#include <QItemSelection> // Needed for selection methods
class vtkDataObject;
class vtkSelection;
class QItemSelection;
class VTKGUISUPPORTQT_EXPORT vtkQtAbstractModelAdapter : public QAbstractItemModel
{
Q_OBJECT
......
......@@ -30,7 +30,6 @@
#define vtkQtAnnotationLayersModelAdapter_h
#include "vtkGUISupportQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkQtAbstractModelAdapter.h"
class vtkAnnotationLayers;
......
......@@ -31,11 +31,10 @@
#ifndef vtkQtConnection_h
#define vtkQtConnection_h
#include "vtkObject.h"
#include "vtkCommand.h" // for event defines
#include "qobject.h"
#include <QObject>
class QObject;
class vtkObject;
class vtkCallbackCommand;
class vtkEventQtSlotConnect;
......@@ -99,4 +98,3 @@ class vtkQtConnection : public QObject
};
#endif
......@@ -23,7 +23,6 @@
#define vtkQtDebugLeaksModel_h
#include "vtkGUISupportQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include <QStandardItemModel>
class vtkObjectBase;
......
......@@ -24,7 +24,6 @@
#define vtkQtDebugLeaksView_h
#include "vtkGUISupportQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include <QWidget>
class QModelIndex;
......
......@@ -31,13 +31,14 @@
#include "vtkGUISupportQtModule.h" // For export macro
#include "vtkQtAbstractModelAdapter.h"
#include <QMimeData>
#include <QImage>
#include <QImage> // Needed for icon support
class vtkSelection;
class vtkTable;
class vtkVariant;
class QMimeData;
class VTKGUISUPPORTQT_EXPORT vtkQtTableModelAdapter : public vtkQtAbstractModelAdapter
{
Q_OBJECT
......
......@@ -30,18 +30,18 @@
#define vtkQtTreeModelAdapter_h
#include "vtkGUISupportQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkType.h"
#include "vtkSelection.h"
#include "vtkQtAbstractModelAdapter.h"
#include <QHash>
#include <QMimeData>
#include <QVector>
#include <QHash> // Needed for the decoration map
#include <QVector> // Needed for the index map
#include "vtkType.h" // Needed for vtkIdType
class vtkSelection;
class vtkTree;
class vtkAdjacentVertexIterator;
class QMimeData;
class VTKGUISUPPORTQT_EXPORT vtkQtTreeModelAdapter : public vtkQtAbstractModelAdapter
{
Q_OBJECT
......
......@@ -26,13 +26,13 @@
#define vtkQtSQLDatabase_h
// Check for Qt SQL module before defining this class.
#include <qglobal.h>
#include <qglobal.h> // Needed to check if SQL is available
#if (QT_EDITION & QT_MODULE_SQL)
#include "vtkGUISupportQtSQLModule.h"
#include "vtkGUISupportQtSQLModule.h" // For export macro
#include "vtkSQLDatabase.h"
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlDatabase> // For the database member
class vtkSQLQuery;
class vtkStringArray;
......
......@@ -26,12 +26,11 @@
#define vtkQtSQLQuery_h
// Check for Qt SQL module before defining this class.
#include <qglobal.h>
#include <qglobal.h> // Needed to check if SQL is available
#if (QT_EDITION & QT_MODULE_SQL)
#include "vtkGUISupportQtSQLModule.h"
#include "vtkGUISupportQtSQLModule.h" // For export macro
#include "vtkSQLQuery.h"
#include "vtkType.h"
class vtkVariant;
class vtkQtSQLQueryInternals;
......
......@@ -25,9 +25,9 @@
#ifndef vtkQtTimePointUtility_h
#define vtkQtTimePointUtility_h
#include "vtkGUISupportQtSQLModule.h"
#include "vtkGUISupportQtSQLModule.h" // For export macro
#include "vtkObject.h"
#include <QDateTime>
#include <QDateTime> // Needed for method return types
class VTKGUISUPPORTQTSQL_EXPORT vtkQtTimePointUtility : public vtkObject
{
......
......@@ -32,7 +32,6 @@
#define vtkQtRichTextView_h
#include "vtkGUISupportQtWebkitModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkQtView.h"
class vtkStdString;
......
......@@ -16,7 +16,7 @@
#define vtkTestErrorObserver_h
#include <vtkCommand.h>
#include <string>
#include <string> // Needed for std::string
namespace vtkTest
{
......
......@@ -29,12 +29,12 @@
#define vtkQtAnnotationView_h
#include "vtkViewsQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkQtView.h"
#include <QObject>
#include <QObject> // Needed for the Q_OBJECT macro
#include <QPointer>
#include "vtkQtAnnotationLayersModelAdapter.h"
#include <QPointer> // Needed to hold the view
class vtkQtAnnotationLayersModelAdapter;
class QItemSelection;
class QTableView;
......
......@@ -22,6 +22,7 @@
#include <QItemSelection>
#include <QListView>
#include <QSortFilterProxyModel>
#include "vtkAbstractArray.h"
#include "vtkAddMembershipArray.h"
......
......@@ -30,18 +30,16 @@
#define vtkQtListView_h
#include "vtkViewsQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkQtView.h"
#include <QPointer>
#include <QImage>
#include <QSortFilterProxyModel>
#include "vtkQtAbstractModelAdapter.h"
#include "vtkSmartPointer.h"
#include <QPointer> // Needed for the internal list view
#include <QImage> // Needed for the icon methods
#include "vtkSmartPointer.h" // Needed for member variables
class vtkApplyColors;
class vtkDataObjectToTable;
class QItemSelection;
class QSortFilterProxyModel;
class QListView;
class vtkQtTableModelAdapter;
......
......@@ -32,10 +32,9 @@
#define vtkQtRecordView_h
#include "vtkViewsQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkQtView.h"
#include "vtkSmartPointer.h"
#include <QPointer>
#include "vtkSmartPointer.h" // Needed for data table member
#include <QPointer> // Needed for the text widget member
class QTextEdit;
class vtkDataObjectToTable;
......
......@@ -50,7 +50,6 @@
#define vtkQtTableRepresentation_h
#include "vtkViewsQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkDataRepresentation.h"
class vtkDoubleArray;
......
......@@ -22,6 +22,7 @@
#include <QHeaderView>
#include <QItemSelection>
#include <QSortFilterProxyModel>
#include <QTableView>
#include "vtkAbstractArray.h"
......
......@@ -30,19 +30,17 @@
#define vtkQtTableView_h
#include "vtkViewsQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkQtView.h"
#include <QPointer>
#include <QSortFilterProxyModel>
#include "vtkQtAbstractModelAdapter.h"
#include "vtkSmartPointer.h"
#include <QPointer> // Needed to hold the view
#include "vtkSmartPointer.h" // Needed for member variables
class vtkAddMembershipArray;
class vtkApplyColors;
class vtkDataObjectToTable;
class vtkIdTypeArray;
class QItemSelection;
class QSortFilterProxyModel;
class QTableView;
class vtkQtTableModelAdapter;
......
......@@ -22,9 +22,11 @@
#include <QAbstractItemView>
#include <QColumnView>
#include "QFilterTreeProxyModel.h"
#include <QHeaderView>
#include <QItemSelection>
#include <QItemSelectionModel>
#include <QSortFilterProxyModel>
#include <QTreeView>
#include <QVBoxLayout>
......
......@@ -30,19 +30,18 @@
#define vtkQtTreeView_h
#include "vtkViewsQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkQtView.h"
#include <QList>
#include <QPointer>
#include "vtkQtAbstractModelAdapter.h"
#include "vtkSmartPointer.h"
#include "QFilterTreeProxyModel.h"
#include <QList> // Needed for member variables
#include <QPointer> // Needed for member variables
#include "vtkSmartPointer.h" // Needed for member variables
class QAbstractItemDelegate;
class QAbstractItemView;
class QFilterTreeProxyModel;
class QColumnView;
class QItemSelection;
class QModelIndex;
class QTreeView;
class vtkApplyColors;
class QVBoxLayout;
......
......@@ -22,10 +22,9 @@
#define vtkQtView_h
#include "vtkViewsQtModule.h" // For export macro
#include "QVTKWin32Header.h"
#include "vtkView.h"
#include <QObject>
#include <QObject> // Needed to hook into Qt
class VTKVIEWSQT_EXPORT vtkQtView : public QObject, public vtkView
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment