summaryrefslogtreecommitdiffabout
path: root/kaddressbook/views/cardview.h
Side-by-side diff
Diffstat (limited to 'kaddressbook/views/cardview.h') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/views/cardview.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kaddressbook/views/cardview.h b/kaddressbook/views/cardview.h
index 37dddb6..2ea3771 100644
--- a/kaddressbook/views/cardview.h
+++ b/kaddressbook/views/cardview.h
@@ -406,6 +406,10 @@ class CardView : public QScrollView
void returnPressed( CardViewItem * );
protected:
+ bool mFlagKeyPressed;
+ bool mFlagBlockKeyPressed;
+ virtual void keyPressEvent ( QKeyEvent * );
+ virtual void keyReleaseEvent ( QKeyEvent * );
/** Determines which cards intersect that region and tells them to paint
* themselves.
*/
@@ -444,7 +448,6 @@ class CardView : public QScrollView
virtual void focusInEvent( QFocusEvent * );
virtual void focusOutEvent( QFocusEvent * );
- virtual void keyPressEvent( QKeyEvent * );
/** Overload this method to be told when a drag should be started.
* In most cases you will want to start a drag event with the currently