whitespeces/comments removed

This commit is contained in:
Uwe Rathmann 2025-01-06 15:03:57 +01:00
parent 4f91034745
commit b97889d2d8
2 changed files with 0 additions and 17 deletions

View File

@ -268,7 +268,6 @@ bool QskItemPrivate::transformChanged( QQuickItem* transformedItem )
accepted |= Inherited::transformChanged( transformedItem ); accepted |= Inherited::transformChanged( transformedItem );
return accepted; return accepted;
} }

View File

@ -16,26 +16,17 @@
class QSK_EXPORT QskPainterCommand class QSK_EXPORT QskPainterCommand
{ {
public: public:
//! Type of the paint command
enum Type : qint8 enum Type : qint8
{ {
//! Invalid command
Invalid = -1, Invalid = -1,
//! Draw a QPainterPath
Path, Path,
//! Draw a QPixmap
Pixmap, Pixmap,
//! Draw a QImage
Image, Image,
//! QPainter state change
State State
}; };
//! Attributes how to paint a QPixmap
struct PixmapData struct PixmapData
{ {
QRectF rect; QRectF rect;
@ -43,7 +34,6 @@ class QSK_EXPORT QskPainterCommand
QRectF subRect; QRectF subRect;
}; };
//! Attributes how to paint a QImage
struct ImageData struct ImageData
{ {
QRectF rect; QRectF rect;
@ -52,7 +42,6 @@ class QSK_EXPORT QskPainterCommand
Qt::ImageConversionFlags flags; Qt::ImageConversionFlags flags;
}; };
//! Attributes of a state change
struct StateData struct StateData
{ {
QPaintEngine::DirtyFlags flags; QPaintEngine::DirtyFlags flags;
@ -137,33 +126,28 @@ inline bool QskPainterCommand::operator!=( const QskPainterCommand& other ) cons
return !( *this == other ); return !( *this == other );
} }
//! \return Type of the command
inline QskPainterCommand::Type QskPainterCommand::type() const noexcept inline QskPainterCommand::Type QskPainterCommand::type() const noexcept
{ {
return m_type; return m_type;
} }
//! \return Painter path to be painted
inline const QPainterPath* QskPainterCommand::path() const noexcept inline const QPainterPath* QskPainterCommand::path() const noexcept
{ {
return m_path; return m_path;
} }
//! \return Attributes how to paint a QPixmap
inline const QskPainterCommand::PixmapData* inline const QskPainterCommand::PixmapData*
QskPainterCommand::pixmapData() const noexcept QskPainterCommand::pixmapData() const noexcept
{ {
return m_pixmapData; return m_pixmapData;
} }
//! \return Attributes how to paint a QImage
inline const QskPainterCommand::ImageData* inline const QskPainterCommand::ImageData*
QskPainterCommand::imageData() const noexcept QskPainterCommand::imageData() const noexcept
{ {
return m_imageData; return m_imageData;
} }
//! \return Attributes of a state change
inline const QskPainterCommand::StateData* inline const QskPainterCommand::StateData*
QskPainterCommand::stateData() const noexcept QskPainterCommand::stateData() const noexcept
{ {