deprecated calls removed
This commit is contained in:
parent
774a34a6b8
commit
ec0d3dc49a
@ -48,10 +48,6 @@ class QSK_EXPORT QskGridBox : public QskBox
|
||||
|
||||
int count() const;
|
||||
|
||||
#ifdef QSK_LAYOUT_COMPAT
|
||||
int itemCount() const { return count(); } // items and spacers
|
||||
#endif
|
||||
|
||||
QQuickItem* itemAtIndex( int index ) const;
|
||||
int indexOf( const QQuickItem* ) const;
|
||||
|
||||
@ -72,24 +68,6 @@ class QSK_EXPORT QskGridBox : public QskBox
|
||||
|
||||
void setSpacing( qreal spacing );
|
||||
|
||||
#ifdef QSK_LAYOUT_COMPAT
|
||||
|
||||
void setVerticalSpacing( qreal spacing ) { setSpacing( Qt::Vertical, spacing ); }
|
||||
qreal verticalSpacing() const { return spacing( Qt::Vertical ); }
|
||||
|
||||
void setHorizontalSpacing( qreal spacing ) { setSpacing( Qt::Horizontal, spacing ); }
|
||||
qreal horizontalSpacing() const { return spacing( Qt::Horizontal ); }
|
||||
|
||||
void setActive( bool ) {}
|
||||
bool isActive() const { return true; }
|
||||
|
||||
void setRowMinimumHeight( int row, qreal height )
|
||||
{ setRowSizeHint( row, Qt::MinimumSize, height ); }
|
||||
|
||||
void setColumnMaximumWidth( int column, qreal width )
|
||||
{ setColumnSizeHint( column, Qt::MaximumSize, width ); }
|
||||
#endif
|
||||
|
||||
// stretch factors
|
||||
Q_INVOKABLE void setRowStretchFactor( int row, int stretch );
|
||||
Q_INVOKABLE int rowStretchFactor( int row ) const;
|
||||
|
@ -42,10 +42,6 @@ class QSK_EXPORT QskLinearBox : public QskIndexedLayoutBox
|
||||
bool isEmpty() const;
|
||||
int count() const; // items and spacers
|
||||
|
||||
#ifdef QSK_LAYOUT_COMPAT
|
||||
int itemCount() const { return count(); }
|
||||
#endif
|
||||
|
||||
qreal spacingAtIndex( int index ) const;
|
||||
|
||||
QQuickItem* itemAtIndex( int index ) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user