• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messagelist

  • MessageList
  • Core
  • Theme
  • Row
Public Member Functions | List of all members
MessageList::Core::Theme::Row Class Reference

#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.

Definition at line 466 of file theme.h.

Constructor & Destructor Documentation

Theme::Row::Row ( )
explicit

Definition at line 234 of file theme.cpp.

Theme::Row::Row ( const Row &  src)
explicit

Definition at line 238 of file theme.cpp.

Theme::Row::~Row ( )

Definition at line 250 of file theme.cpp.

Member Function Documentation

void MessageList::Core::Theme::Row::addLeftItem ( ContentItem *  item)
inline

Adds a left aligned item to this row.

The row takes the ownership of the ContentItem pointer.

Definition at line 493 of file theme.h.

void MessageList::Core::Theme::Row::addRightItem ( ContentItem *  item)
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...

Definition at line 525 of file theme.h.

bool Theme::Row::containsTextItems ( ) const

Returns true if this row contains text items.

This is useful if you want to know if the column should just get its minimum allowable space or it should get more.

Definition at line 288 of file theme.cpp.

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.

Definition at line 268 of file theme.cpp.

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.

Definition at line 278 of file theme.cpp.

const QList< ContentItem * >& MessageList::Core::Theme::Row::leftItems ( ) const
inline

Returns the list of left aligned items for this row.

Definition at line 481 of file theme.h.

bool Theme::Row::load ( QDataStream &  stream,
int  themeVersion 
)

Handles row loading (used by Theme::Column::load())

Definition at line 328 of file theme.cpp.

void Theme::Row::removeAllLeftItems ( )

Removes all the left items from this row: the items are deleted.

Definition at line 256 of file theme.cpp.

void Theme::Row::removeAllRightItems ( )

Removes all the right items from this row.

The items are deleted.

Definition at line 262 of file theme.cpp.

void MessageList::Core::Theme::Row::removeLeftItem ( ContentItem *  item)
inline

Removes the specified left aligned content item from this row.

The item is NOT deleted.

Definition at line 506 of file theme.h.

void MessageList::Core::Theme::Row::removeRightItem ( ContentItem *  item)
inline

Removes the specified right aligned content item from this row.

The item is NOT deleted.

Definition at line 538 of file theme.h.

const QList< ContentItem * >& MessageList::Core::Theme::Row::rightItems ( ) const
inline

Returns the list of right aligned items for this row.

Definition at line 512 of file theme.h.

void Theme::Row::save ( QDataStream &  stream) const

Handles row saving (used by Theme::Column::save())

Definition at line 305 of file theme.cpp.


The documentation for this class was generated from the following files:
  • theme.h
  • theme.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messagelist

Skip menu "messagelist"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal