--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/pbkcommonui/inc/cntgroupactionsview.h Fri Mar 19 09:27:18 2010 +0200
@@ -0,0 +1,107 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef CNTGROUPACTIONSVIEW_H
+#define CNTGROUPACTIONSVIEW_H
+
+#include <QObject>
+#include "cntbaseview.h"
+#include "qtpbkglobal.h"
+
+class QModelIndex;
+class QGraphicsWidget;
+class HbListView;
+class HbLabel;
+
+
+QTM_BEGIN_NAMESPACE
+class QContact;
+QTM_END_NAMESPACE
+
+QTM_USE_NAMESPACE
+
+class QGraphicsWidget;
+class HbScrollArea;
+class QGraphicsLinearLayout;
+class CntContactCardDataContainer;
+class CntContactCardHeadingItem;
+class ThumbnailManager;
+
+class CntGroupActionsView : public CntBaseView
+{
+ Q_OBJECT
+
+public slots:
+
+ virtual void aboutToCloseView();
+ virtual void editContact();
+ void editGroup();
+ void groupMembers();
+ void doConferenceCall();
+ void sendGroupMessage();
+ void sendGroupEmail();
+ void addMenuItems();
+ void manageMembers();
+ void editGroupDetails();
+ void placeGroupToHs();
+ void deleteGroup();
+ void thumbnailReady(const QPixmap& pixmap, void *data, int id, int error);
+ void openNamesView();
+ void openCollections();
+ void onItemActivated();
+
+public:
+ CntGroupActionsView(CntViewManager *viewManager, QGraphicsItem *parent = 0);
+ ~CntGroupActionsView();
+
+ CntViewParameters::ViewId viewId() const { return CntViewParameters::groupActionsView; }
+ virtual void activateView(const CntViewParameters &viewParameters);
+
+signals:
+ void preferredUpdated();
+
+#ifdef PBK_UNIT_TEST
+public:
+#else
+private:
+#endif
+ void resizeEvent(QGraphicsSceneResizeEvent *event);
+
+#ifdef PBK_UNIT_TEST
+public:
+#else
+protected:
+#endif
+ virtual void addActionsToToolBar();
+
+#ifdef PBK_UNIT_TEST
+public:
+#else
+protected:
+#endif
+ QContact *mGroupContact;
+ HbScrollArea *mScrollArea;
+ QGraphicsWidget *mContainerWidget;
+ QGraphicsLinearLayout *mContainerLayout;
+ CntContactCardDataContainer *mDataContainer;
+ CntContactCardHeadingItem *mHeadingItem;
+ ThumbnailManager *mThumbnailManager;
+};
+
+#endif // CNTGROUPACTIONSVIEW_H
+
+// EOF