Logo Search packages:      
Sourcecode: qt4-x11 version File versions

int & QSize::rwidth (  )  [inline]

Returns a reference to the width.

Using a reference makes it possible to manipulate the width directly. For example:

        QSize size(100, 10);
        size.rwidth() += 20;

        // size becomes (120,10)

See also:
rheight(), setWidth()

Definition at line 119 of file qsize.h.

Referenced by QItemDelegate::doLayout(), QAbstractScrollArea::maximumViewportSize(), QLabel::minimumSizeHint(), Q3WidgetStack::minimumSizeHint(), QSizeGrip::mouseMoveEvent(), operator>>(), QHeaderView::sectionSizeFromContents(), QMotifStyle::sizeFromContents(), QPlastiqueStyle::sizeFromContents(), Q3WidgetStack::sizeHint(), and QMenu::sizeHint().

{ return wd; }

Generated by  Doxygen 1.6.0   Back to index