knode
KNode::AppearanceWidget::FontListItem Class Reference
#include <knconfigwidgets.h>
Inheritance diagram for KNode::AppearanceWidget::FontListItem:

Detailed Description
Font list view item.
Definition at line 241 of file knconfigwidgets.h.
Public Member Functions | |
| const QFont & | font () |
| FontListItem (const QString &text, const QFont &font, QListWidget *parent=0) | |
| void | setFont (const QFont &font) |
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 603 of file knconfigwidgets.cpp.
Member Function Documentation
| const QFont& KNode::AppearanceWidget::FontListItem::font | ( | ) | [inline] |
Returns the current font.
Reimplemented from QListWidgetItem.
Definition at line 251 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 611 of file knconfigwidgets.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference