knode
kncollectionviewitem.cpp
Go to the documentation of this file.
25 KNCollectionViewItem::KNCollectionViewItem( FolderTreeWidget *parent, Protocol protocol, FolderType type) :
32 KNCollectionViewItem::KNCollectionViewItem( FolderTreeWidgetItem *parent, Protocol protocol, FolderType type, int unread, int total ) :
107 QString KNCollectionViewItem::elidedLabelText( const QFontMetrics &fm, unsigned int width ) const
virtual QString elidedLabelText(const QFontMetrics &fm, unsigned int width) const
Elid names of group according to usenet habit.
Definition: kncollectionviewitem.cpp:107
bool operator<(const QTreeWidgetItem &other) const
Sort newsgroups before local folders.
Definition: kncollectionviewitem.cpp:81
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
~KNCollectionViewItem()
Definition: kncollectionviewitem.cpp:41
void setCollection(KNCollection::Ptr c)
Sets the collection this item represents.
Definition: kncollectionviewitem.cpp:100
void setUnreadCount(int unreadCount)
Sets the unread message count to be displayed in the special "Unread" column.
Definition: foldertreewidget.cpp:453
FolderType
Folder type information Please note that this list should be kept in the order of items that one want...
Definition: foldertreewidget.h:245
Protocol protocol() const
Returns the protocol associated to the folder item.
Definition: foldertreewidget.h:379
boost::shared_ptr< KNCollection > Ptr
Shared pointer to a KNCollection.
Definition: kncollection.h:40
const QString & labelText() const
Returns the textual data for the "Label" column of the parent FolderTreeWidget.
Definition: foldertreewidget.h:300
KNCollectionViewItem(FolderTreeWidget *parent, Protocol protocol=NONE, FolderType type=Root)
Definition: kncollectionviewitem.cpp:25
void setTotalCount(int totalCount)
Sets the total message count to be displayed in the special "Total" column.
Definition: foldertreewidget.cpp:476
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.