--- a/phoneapp/phoneuiview2/inc/phoneuiqtview.h Wed Jun 23 18:12:20 2010 +0300
+++ b/phoneapp/phoneuiview2/inc/phoneuiqtview.h Tue Jul 06 14:15:47 2010 +0300
@@ -31,6 +31,7 @@
class HbVolumeSliderPopup;
class Dialpad;
class XqKeyCapture;
+class DialpadKeyHandler;
#ifdef BUILD_PHONEUIQTVIEW
#define PHONEUIQTVIEW_EXPORT Q_DECL_EXPORT
@@ -224,6 +225,20 @@
*/
HbMenu &menuReference();
+ /*!
+ \fn void PhoneUIQtViewIF::captureKey()
+
+ Captures key.
+ */
+ void captureKey(Qt::Key key, bool capture);
+
+ /*
+ \fn void setRestrictedMode()
+
+ Sets Ui to restricted mode. Decides which keyevent are allowed.
+ */
+ void setRestrictedMode(bool restrictedMode);
+
public slots:
/*!
@@ -378,6 +393,9 @@
QSignalMapper *m_menuSignalMapper;
XqKeyCapture *m_keyCapture;
QSystemNetworkInfo *m_networkInfo;
+ QList<Qt::Key> m_keyCaptures;
+ DialpadKeyHandler *m_dialpadKeyHandler;
+ bool m_restrictedMode;
};
#endif // PHONEUIQTVIEW_H