Konsole
SessionListModel.cpp
Go to the documentation of this file.
bool hasIndex(int row, int column, const QModelIndex &parent) const
Represents a terminal session consisting of a pseudo-teletype and a terminal emulation.
Definition: Session.h:78
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const
Definition: SessionListModel.cpp:88
QObject * sender() const
The title of the session which is displayed in tabs etc.
Definition: Session.h:255
virtual QVariant data(const QModelIndex &index, int role) const
Definition: SessionListModel.cpp:51
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
Definition: SessionListModel.cpp:136
Item-view model which contains a flat list of sessions.
Definition: SessionListModel.h:42
void reset()
bool isValid() const
QString number(int n, int base)
void beginRemoveRows(const QModelIndex &parent, int first, int last)
int row() const
void setSessions(const QList< Session * > &sessions)
Sets the list of sessions displayed in the model.
Definition: SessionListModel.cpp:40
virtual int rowCount(const QModelIndex &parent) const
Definition: SessionListModel.cpp:113
QModelIndex createIndex(int row, int column, void *ptr) const
QString & replace(int position, int n, QChar after)
int column() const
void endRemoveRows()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual int columnCount(const QModelIndex &parent) const
Definition: SessionListModel.cpp:108
QObject * parent() const
virtual void sessionRemoved(Session *)
Definition: SessionListModel.h:66
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.