kaddressbook
#include <stylepage.h>
Inherits QWidget.
Signals | |
void | styleChanged (int index) |
Public Member Functions | |
StylePage (QWidget *parent=0, const char *name=0) | |
~StylePage () | |
void | addStyleName (const QString &name) |
void | clearStyleNames () |
int | printingStyle () const |
void | setPreview (const QPixmap &pixmap) |
void | setPrintingStyle (int index) |
void | setSortField (ContactFields::Field field) |
void | setSortOrder (Qt::SortOrder sortOrder) |
ContactFields::Field | sortField () const |
Qt::SortOrder | sortOrder () const |
Detailed Description
Definition at line 37 of file stylepage.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 45 of file stylepage.cpp.
StylePage::~StylePage | ( | ) |
Definition at line 59 of file stylepage.cpp.
Member Function Documentation
void StylePage::addStyleName | ( | const QString & | name | ) |
Add a style name.
Definition at line 72 of file stylepage.cpp.
void StylePage::clearStyleNames | ( | ) |
Clear the style name list.
Definition at line 77 of file stylepage.cpp.
int StylePage::printingStyle | ( | ) | const |
Returns the sort order.
Definition at line 205 of file stylepage.cpp.
void StylePage::setPreview | ( | const QPixmap & | pixmap | ) |
Set a preview image.
If pixmap is 'null' a text will be displayed instead.
Definition at line 63 of file stylepage.cpp.
void StylePage::setPrintingStyle | ( | int | index | ) |
Returns the sort order.
Definition at line 210 of file stylepage.cpp.
void StylePage::setSortField | ( | ContactFields::Field | field | ) |
Set the sort criterion field.
Definition at line 82 of file stylepage.cpp.
void StylePage::setSortOrder | ( | Qt::SortOrder | sortOrder | ) |
Sets the sort order.
Definition at line 87 of file stylepage.cpp.
ContactFields::Field StylePage::sortField | ( | ) | const |
Returns the sort criterion field.
Definition at line 96 of file stylepage.cpp.
Qt::SortOrder StylePage::sortOrder | ( | ) | const |
Returns the sort order.
Definition at line 105 of file stylepage.cpp.
|
signal |
This signal is emmited when the user selects a new style in the style combo box.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.