mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add missing includes
This commit is contained in:
@@ -43,10 +43,10 @@
|
||||
#include <QObject>
|
||||
#include <QPointer>
|
||||
#include <QStringList>
|
||||
#include <QWidget>
|
||||
|
||||
class QAction;
|
||||
class QKeySequence;
|
||||
class QWidget;
|
||||
|
||||
namespace caf
|
||||
{
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "cafPdmXmlColor3f.h"
|
||||
|
||||
#include <QString>
|
||||
#include <QTextStream>
|
||||
|
||||
QTextStream& operator>>( QTextStream& str, cvf::Color3f& value )
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "cafPdmXmlVec3d.h"
|
||||
|
||||
#include <QString>
|
||||
#include <QTextStream>
|
||||
|
||||
QTextStream& operator>>( QTextStream& str, cvf::Vec3d& value )
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include <QString>
|
||||
|
||||
class QTextStream;
|
||||
class QStringList;
|
||||
|
||||
namespace caf
|
||||
{
|
||||
|
||||
@@ -67,7 +67,7 @@ void PdmFieldScriptingCapabilityIOHandler<QString>::writeToField( QString&
|
||||
while ( !inputStream.atEnd() )
|
||||
{
|
||||
currentChar = errorMessageContainer->readCharWithLineNumberCount( inputStream );
|
||||
if ( currentChar > 1 && currentChar != QChar( '\\' ) )
|
||||
if ( !currentChar.isNull() && currentChar != QChar( '\\' ) )
|
||||
{
|
||||
if ( currentChar == QChar( '"' ) ) // End Quote
|
||||
{
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
#include "cafPdmPtrField.h"
|
||||
#include "cafPdmScriptIOMessages.h"
|
||||
|
||||
#include <QIODevice>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QTextStream>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <QString>
|
||||
#include <QTextStream>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -10,7 +10,7 @@ class WidgetLayoutTest : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
WidgetLayoutTest( QWidget* parent = 0, Qt::WindowFlags f = 0 );
|
||||
WidgetLayoutTest( QWidget* parent = 0, Qt::WindowFlags f = Qt::WindowFlags() );
|
||||
~WidgetLayoutTest();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user