diff -r d30183af6ca6 -r 554fe4dbbb59 contactwidgethsplugin/contactwidgeths/inc/commlauncherwidget.h --- a/contactwidgethsplugin/contactwidgeths/inc/commlauncherwidget.h Mon Aug 23 16:06:28 2010 +0300 +++ b/contactwidgethsplugin/contactwidgeths/inc/commlauncherwidget.h Fri Sep 03 14:32:33 2010 +0300 @@ -21,6 +21,8 @@ #include #include #include +#include +#include #include "contactwidgetplugin_global.h" @@ -52,8 +54,11 @@ QRectF& sceneRect, QRectF& launcherRect); void selectAppearEffect(QPointF FriendPos, QPointF LauncherPos); + bool isPendingRequest(); + signals: void launcherClosed(); + void requestCompleted(); protected: void keyPressEvent(QKeyEvent *event); @@ -68,10 +73,11 @@ void makeCall(); void sendMessage(); - // EMAIL FUNCTIONALITY COMMENTED OUT BECAUSE PLATFORM DOES NOT SUPPORT IT! - //void sendEmail(); + void sendEmail(); void openPhonebook(); + void handleRequestOk(const QVariant& value); + int commLauncherWidth(); private: @@ -80,8 +86,11 @@ QGraphicsLinearLayout *mLayout; int mButtonCount; + + XQAiwRequest *mRequest; + QContactAction* mCommLauncherAction; HbPushButton *mCallButton; HbPushButton *mSendMsgButton; @@ -91,6 +100,10 @@ XQApplicationManager *mApplicationManager; QString mAppearEffect; + QObjectCleanupHandler mCleanupHandler; + + bool mPendingRequest; + CONTACTWIDGET_TEST_FRIEND_CLASS(TestContactWidget) };