Changeset View
Changeset View
Standalone View
Standalone View
src/kitemviews/kstandarditemlistwidget.h
Show First 20 Lines • Show All 179 Lines • ▼ Show 20 Line(s) | 119 | protected: | |||
---|---|---|---|---|---|
180 | virtual void selectedChanged(bool selected) Q_DECL_OVERRIDE; | 180 | virtual void selectedChanged(bool selected) Q_DECL_OVERRIDE; | ||
181 | virtual void siblingsInformationChanged(const QBitArray& current, const QBitArray& previous) Q_DECL_OVERRIDE; | 181 | virtual void siblingsInformationChanged(const QBitArray& current, const QBitArray& previous) Q_DECL_OVERRIDE; | ||
182 | virtual void editedRoleChanged(const QByteArray& current, const QByteArray& previous) Q_DECL_OVERRIDE; | 182 | virtual void editedRoleChanged(const QByteArray& current, const QByteArray& previous) Q_DECL_OVERRIDE; | ||
183 | virtual void resizeEvent(QGraphicsSceneResizeEvent* event) Q_DECL_OVERRIDE; | 183 | virtual void resizeEvent(QGraphicsSceneResizeEvent* event) Q_DECL_OVERRIDE; | ||
184 | virtual void showEvent(QShowEvent* event) Q_DECL_OVERRIDE; | 184 | virtual void showEvent(QShowEvent* event) Q_DECL_OVERRIDE; | ||
185 | virtual void hideEvent(QHideEvent* event) Q_DECL_OVERRIDE; | 185 | virtual void hideEvent(QHideEvent* event) Q_DECL_OVERRIDE; | ||
186 | bool event(QEvent *event) Q_DECL_OVERRIDE; | 186 | bool event(QEvent *event) Q_DECL_OVERRIDE; | ||
187 | 187 | | |||
188 | public slots: | ||||
189 | void forceRoleEditingFinished(); | ||||
elvisangelaccio: Maybe let's call it `emitRoleEditingFinished()` ? (which is what eventually happens)… | |||||
190 | | ||||
188 | private slots: | 191 | private slots: | ||
189 | void slotCutItemsChanged(); | 192 | void slotCutItemsChanged(); | ||
190 | void slotRoleEditingCanceled(const QByteArray& role, const QVariant& value); | 193 | void slotRoleEditingCanceled(const QByteArray& role, const QVariant& value); | ||
191 | void slotRoleEditingFinished(const QByteArray& role, const QVariant& value); | 194 | void slotRoleEditingFinished(const QByteArray& role, const QVariant& value); | ||
192 | 195 | | |||
193 | private: | 196 | private: | ||
194 | void triggerCacheRefreshing(); | 197 | void triggerCacheRefreshing(); | ||
195 | void updateExpansionArea(); | 198 | void updateExpansionArea(); | ||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |
Maybe let's call it emitRoleEditingFinished() ? (which is what eventually happens)
finishRoleEditing() could also work...