knode
foldertreewidget.h
Go to the documentation of this file.
int childrenUnreadCount() const
Returns the unread message count for the children.
Definition: foldertreewidget.h:350
A common QTreeWidget extension.
A folder tree node to be used with FolderTreeWidget.
Definition: foldertreewidget.h:225
A tree widget useful for displaying a tree of folders containing messages.
Definition: foldertreewidget.h:73
int unreadColumnIndex() const
Returns the logical index of the "Unread" column or -1 if such a column has not been added (yet)...
Definition: foldertreewidget.h:127
int totalColumnIndex() const
Returns the logical index of the "Total" column or -1 if such a column has not been added (yet)...
Definition: foldertreewidget.h:146
const QColor & closeToQuotaWarningColor() const
Returns the color used to display the "Label" column text when the item is marked as close to quota...
Definition: foldertreewidget.h:177
void setLabelTextElided(bool labelTextElided)
This is called by FolderTreeWidgetItemLabelColumnDelegate to update the mLabelTextElided flag...
Definition: foldertreewidget.h:456
bool alwaysDisplayCounts() const
Returns true if this item should bypass the size, total and unread display logic. ...
Definition: foldertreewidget.h:438
FolderType
Folder type information Please note that this list should be kept in the order of items that one want...
Definition: foldertreewidget.h:245
qint64 dataSize() const
Returns the size in bytes of the folder, displayed in the special "DataSize" column.
Definition: foldertreewidget.h:337
void setFolderType(FolderType folderType)
Sets the type of the folder.
Definition: foldertreewidget.h:402
Protocol protocol() const
Returns the protocol associated to the folder item.
Definition: foldertreewidget.h:379
int dataSizeColumnIndex() const
Returns the logical index of the "DataSize" column or -1 if such a column has not been added (yet)...
Definition: foldertreewidget.h:165
int childrenTotalCount() const
Returns the total message count for the children.
Definition: foldertreewidget.h:357
bool isCloseToQuota() const
Returns the sate of the "Close to quota" warning for this folder.
Definition: foldertreewidget.h:289
void setAlwaysDisplayCounts(bool alwaysDisplayCounts)
Sets whether this item should bypass the size, total and unread display logic.
Definition: foldertreewidget.h:448
const QString & labelText() const
Returns the textual data for the "Label" column of the parent FolderTreeWidget.
Definition: foldertreewidget.h:300
const QColor & unreadCountColor() const
Returns the color used to display the unread message count in the "Label" column. ...
Definition: foldertreewidget.h:189
bool labelTextElided() const
Returns true if the last painting operation had to elide the label text thus making it partially invi...
Definition: foldertreewidget.h:428
int labelColumnIndex() const
Returns the logical index of the "Label" column or -1 if such a column has not been added (yet)...
Definition: foldertreewidget.h:108
void setProtocol(Protocol protocol)
Sets the protocol associated to the folder item.
Definition: foldertreewidget.h:385
qint64 childrenDataSize() const
Returns the size in bytes of the children folders displayed in the special "DataSize" column...
Definition: foldertreewidget.h:364
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.