Add missing includes

This commit is contained in:
Magne Sjaastad
2024-01-05 13:01:34 +01:00
parent ff6472c6b7
commit 50234f0ea8
8 changed files with 7 additions and 4 deletions

View File

@@ -43,10 +43,10 @@
#include <QObject>
#include <QPointer>
#include <QStringList>
#include <QWidget>
class QAction;
class QKeySequence;
class QWidget;
namespace caf
{

View File

@@ -36,6 +36,7 @@
#include "cafPdmXmlColor3f.h"
#include <QString>
#include <QTextStream>
QTextStream& operator>>( QTextStream& str, cvf::Color3f& value )

View File

@@ -36,6 +36,7 @@
#include "cafPdmXmlVec3d.h"
#include <QString>
#include <QTextStream>
QTextStream& operator>>( QTextStream& str, cvf::Vec3d& value )

View File

@@ -39,7 +39,6 @@
#include <QString>
class QTextStream;
class QStringList;
namespace caf
{

View File

@@ -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
{

View File

@@ -44,6 +44,7 @@
#include "cafPdmPtrField.h"
#include "cafPdmScriptIOMessages.h"
#include <QIODevice>
#include <QString>
#include <QStringList>
#include <QTextStream>

View File

@@ -1,3 +1,4 @@
#include <QString>
#include <QTextStream>
//--------------------------------------------------------------------------------------------------

View File

@@ -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: