knode
KNode::AppearanceWidget::FontListItem Class Reference
Font list view item. More...
#include <knconfigwidgets.h>
Inheritance diagram for KNode::AppearanceWidget::FontListItem:

Public Member Functions | |
| FontListItem (const QString &text, const QFont &font, QListWidget *parent=0) | |
| const QFont & | font () |
| void | setFont (const QFont &font) |
Detailed Description
Font list view item.
Definition at line 185 of file knconfigwidgets.h.
Constructor & Destructor Documentation
| KNode::AppearanceWidget::FontListItem::FontListItem | ( | const QString & | text, | |
| const QFont & | font, | |||
| QListWidget * | parent = 0 | |||
| ) |
Create a new font list view item.
- Parameters:
-
text The item text. font The selected font for this item. parent The list widget this item is shown in.
Definition at line 376 of file knconfigwidgets.cpp.
Member Function Documentation
| const QFont& KNode::AppearanceWidget::FontListItem::font | ( | ) | [inline] |
Returns the current font.
Reimplemented from QListWidgetItem.
Definition at line 195 of file knconfigwidgets.h.
| void KNode::AppearanceWidget::FontListItem::setFont | ( | const QFont & | font | ) |
Sets the current font.
- Parameters:
-
font The new font.
Reimplemented from QListWidgetItem.
Definition at line 384 of file knconfigwidgets.cpp.
The documentation for this class was generated from the following files:
KDE 4.5 API Reference