emailuis/nmsettingui/inc/nmmailboxsettingview.h
changeset 18 578830873419
child 48 10eaf342f539
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/emailuis/nmsettingui/inc/nmmailboxsettingview.h	Fri Apr 16 14:51:52 2010 +0300
@@ -0,0 +1,67 @@
+/*
+* Copyright (c) 2010 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 NMMAILBOXSETTINGVIEW_H
+#define NMMAILBOXSETTINGVIEW_H
+
+#include <cpbasesettingview.h>
+#include <nmcommon.h>
+#include "nmsettingscommon.h"
+
+class HbDataForm;
+class HbDataFormModel;
+class NmMailboxSettingsManager;
+class QGraphicsItem;
+class NmId;
+
+
+class NmMailboxSettingView : public CpBaseSettingView
+{
+    Q_OBJECT
+
+public:
+
+    explicit NmMailboxSettingView(const NmId &mailboxId,
+        const QString &mailboxName,
+        NmMailboxSettingsManager& settingsManager,
+        QGraphicsItem *parent = 0);
+
+    ~NmMailboxSettingView();
+
+
+private slots:
+
+    void mailboxListChanged(const NmId &mailboxId, NmSettings::MailboxEventType type);
+
+    void mailboxPropertyChanged(const NmId &mailboxId, QVariant property, QVariant value);
+
+
+private:
+
+    Q_DISABLE_COPY(NmMailboxSettingView)
+
+
+private: // Data
+
+    HbDataForm *mForm; // Owned
+    HbDataFormModel *mModel; // Owned
+    const NmId mMailboxId;
+};
+
+#endif // NMMAILBOXSETTINGVIEW_H
+
+// End of file.