kaddressbook
contactswitcher.cpp
Go to the documentation of this file.
68 connect( mView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), SLOT(updateStatus()));
127 mNextButton->setEnabled( (mView->model()->rowCount() != 0 ) && (row != ( mView->model()->rowCount() - 1 )) );
QLayout * layout() const
virtual int rowCount(const QModelIndex &parent) const =0
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
QModelIndex currentIndex() const
QItemSelectionModel * selectionModel() const
void clear()
bool isValid() const
void setEnabled(bool)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int row() const
void setText(const QString &)
void setView(QAbstractItemView *view)
Sets the view the contact switcher shall work on.
Definition: contactswitcher.cpp:59
void setWhatsThis(const QString &)
void addStretch(int stretch)
void setCurrentIndex(const QModelIndex &index, QFlags< QItemSelectionModel::SelectionFlag > command)
ContactSwitcher(QWidget *parent=0)
Creates a new contact switcher.
Definition: contactswitcher.cpp:29
void setToolTip(const QString &)
QAbstractItemModel * model() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.