messagelist
#include <theme.h>
Public Member Functions | |
Row () | |
Row (const Row &src) | |
~Row () | |
void | addLeftItem (ContentItem *item) |
void | addRightItem (ContentItem *item) |
bool | containsTextItems () const |
void | insertLeftItem (int idx, ContentItem *item) |
void | insertRightItem (int idx, ContentItem *item) |
const QList< ContentItem * > & | leftItems () const |
bool | load (QDataStream &stream, int themeVersion) |
void | removeAllLeftItems () |
void | removeAllRightItems () |
void | removeLeftItem (ContentItem *item) |
void | removeRightItem (ContentItem *item) |
const QList< ContentItem * > & | rightItems () const |
void | save (QDataStream &stream) const |
Detailed Description
The Row class defines a row of items inside a Column.
The Row has a list of left aligned and a list of right aligned ContentItems.
Constructor & Destructor Documentation
Member Function Documentation
|
inline |
Adds a left aligned item to this row.
The row takes the ownership of the ContentItem pointer.
|
inline |
Adds a right aligned item to this row.
The row takes the ownership of the ContentItem pointer. Please note that the first right aligned item will start at the right edge, the second right aligned item will come after it etc...
bool Theme::Row::containsTextItems | ( | ) | const |
void Theme::Row::insertLeftItem | ( | int | idx, |
ContentItem * | item | ||
) |
Adds a left aligned item at the specified position in this row.
The row takes the ownership of the ContentItem pointer.
void Theme::Row::insertRightItem | ( | int | idx, |
ContentItem * | item | ||
) |
Adds a right aligned item at the specified position in this row.
The row takes the ownership of the ContentItem pointer. Remember that right item positions go from right to left.
|
inline |
bool Theme::Row::load | ( | QDataStream & | stream, |
int | themeVersion | ||
) |
Handles row loading (used by Theme::Column::load())
void Theme::Row::removeAllLeftItems | ( | ) |
void Theme::Row::removeAllRightItems | ( | ) |
|
inline |
|
inline |
|
inline |
void Theme::Row::save | ( | QDataStream & | stream | ) | const |
Handles row saving (used by Theme::Column::save())
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.