--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/phonebookservices/inc/cntserviceassigncontactcardview.h Fri Mar 19 09:27:18 2010 +0200
@@ -0,0 +1,62 @@
+/*
+* 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 CNTSERVICEASSIGNCONTACTCARDVIEW_H
+#define CNTSERVICEASSIGNCONTACTCARDVIEW_H
+
+#include <QObject>
+#include <qmobilityglobal.h>
+
+#include "cntcontactcardview.h"
+#include "cntviewparameters.h"
+
+class CntServiceHandler;
+
+QTM_BEGIN_NAMESPACE
+class QContactDetail;
+QTM_END_NAMESPACE
+
+QTM_USE_NAMESPACE
+
+class CntServiceAssignContactCardView : public CntContactCardView
+{
+ Q_OBJECT
+
+public slots:
+
+ void aboutToCloseView();
+ void addActionsToToolBar();
+ void addToContacts();
+ void saveNew();
+ void updateExisting();
+
+public:
+ CntServiceAssignContactCardView(CntServiceHandler *aServiceHandler, CntViewManager *viewManager, QGraphicsItem *parent = 0);
+ ~CntServiceAssignContactCardView();
+
+ CntViewParameters::ViewId viewId() const { return CntViewParameters::serviceAssignContactCardView; }
+ void activateView(const CntViewParameters &viewParameters);
+
+private:
+ CntServiceHandler *mServiceHandler;
+ QContactDetail mDetail;
+
+};
+
+#endif // CNTSERVICEASSIGNCONTACTCARDVIEW_H
+
+// EOF