KDEUI
Go to the documentation of this file. 22 #ifndef KPAGEWIDGETMODEL_H 23 #define KPAGEWIDGETMODEL_H 53 Q_PROPERTY( QString
name READ
name WRITE setName )
54 Q_PROPERTY( QString header READ header WRITE setHeader )
55 Q_PROPERTY(
KIcon icon READ icon WRITE setIcon )
56 Q_PROPERTY(
bool checkable READ isCheckable WRITE setCheckable )
57 Q_PROPERTY(
bool checked READ isChecked WRITE setChecked )
63 Q_PROPERTY(
bool enabled READ isEnabled WRITE setEnabled)
96 void setName( const QString &name );
101 QString name() const;
113 void setHeader( const QString &header );
118 QString header() const;
124 void setIcon( const
KIcon &icon );
136 void setCheckable(
bool checkable );
141 bool isCheckable() const;
146 bool isChecked() const;
151 bool isEnabled() const;
157 void setEnabled(
bool);
162 void setChecked(
bool checked );
175 void toggled(
bool checked );
182 class KPageWidgetModelPrivate;
273 virtual int columnCount(
const QModelIndex &parent = QModelIndex() )
const;
274 virtual QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole )
const;
275 virtual bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole );
276 virtual Qt::ItemFlags flags(
const QModelIndex &index )
const;
277 virtual QModelIndex index(
int row,
int column,
const QModelIndex &parent = QModelIndex() )
const;
278 virtual QModelIndex parent(
const QModelIndex &index )
const;
279 virtual int rowCount(
const QModelIndex &parent = QModelIndex() )
const;
300 Q_PRIVATE_SLOT(d_func(),
void _k_itemChanged())
301 Q_PRIVATE_SLOT(d_func(),
void _k_itemToggled(
bool))
A base class for a model used by KPageView.
const char * name(StandardAction id)
This will return the internal name of a given standard action.
This page model is used by.
A wrapper around QIcon that provides KDE icon features.
KPageWidgetItem is used by KPageWidget and represents a page.
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Wed May 10 2017 10:43:10 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.