diff options
| author | Frederik Gladhorn <[email protected]> | 2012-08-07 20:31:01 +0200 |
|---|---|---|
| committer | Amandeep Singh <[email protected]> | 2012-08-14 20:27:56 +0530 |
| commit | 9149dc84b876f7797082e718ae8dbefd2f39db58 (patch) | |
| tree | 54316c4960f71efa63257a3178905837e8ab5c0f /src/kitemviews/kitemlistviewaccessible.h | |
| parent | 9def70cf8bd1bb11cbecbd637b747b0fa6daf600 (diff) | |
Accessibility: Implement rect for cells and view.
Remove comparison of QAccessibleInterfaces - these are pointers that get
instantiated again and again, so they cannot be compared. Use the object()
function in QAI instead for comparison.
Diffstat (limited to 'src/kitemviews/kitemlistviewaccessible.h')
| -rw-r--r-- | src/kitemviews/kitemlistviewaccessible.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kitemviews/kitemlistviewaccessible.h b/src/kitemviews/kitemlistviewaccessible.h index 98009aea6..105978c94 100644 --- a/src/kitemviews/kitemlistviewaccessible.h +++ b/src/kitemviews/kitemlistviewaccessible.h @@ -114,9 +114,9 @@ public: KItemListAccessibleCell(KItemListView *view, int m_index); QObject *object() const { return 0; } - Role role(int child) const; - State state(int child) const; - QRect rect(int child) const; + Role role(int) const; + State state(int) const; + QRect rect(int) const; bool isValid() const; int childAt(int, int) const { return 0; } |
