[kwin/tabbox] Make ClientModel::longestClient() invokable
This allows to just invoke the method on the model instead of setting it from the C++ side.
This commit is contained in:
parent
5f7eab206d
commit
3f7344501f
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ public:
|
|||
virtual int rowCount(const QModelIndex& parent = QModelIndex()) const;
|
||||
virtual QModelIndex parent(const QModelIndex& child) const;
|
||||
virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const;
|
||||
QString longestCaption() const;
|
||||
Q_INVOKABLE QString longestCaption() const;
|
||||
|
||||
/**
|
||||
* @param client The TabBoxClient whose index should be returned
|
||||
|
|
Loading…
Reference in a new issue