diff options
| author | Frank Reininghaus <[email protected]> | 2012-02-01 21:52:50 +0100 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2012-02-01 21:58:23 +0100 |
| commit | 7f4e9d9ed908eaa10659cbd04f53a82e28e8a59b (patch) | |
| tree | 109395e80e67886a26128853a3b7c7f6095fc069 /src/kitemviews/kitemlistviewlayouter_p.h | |
| parent | 43373b3a1650a5834f3d030b61d80b0a4e858588 (diff) | |
First version of a unit test for KItemListController
At the moment, only key press events are tested, and the current item
and selection after the event are verified.
Moreover, this commit makes sure that
KItemListController::keyPressEvent() really does not select anything
if the selection mode is NoSelection.
Diffstat (limited to 'src/kitemviews/kitemlistviewlayouter_p.h')
| -rw-r--r-- | src/kitemviews/kitemlistviewlayouter_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kitemviews/kitemlistviewlayouter_p.h b/src/kitemviews/kitemlistviewlayouter_p.h index dec99d054..25f8eb6cd 100644 --- a/src/kitemviews/kitemlistviewlayouter_p.h +++ b/src/kitemviews/kitemlistviewlayouter_p.h @@ -161,6 +161,8 @@ private: qreal m_groupHeaderHeight; QList<QRectF> m_itemRects; + + friend class KItemListControllerTest; }; #endif |
