--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bluetoothengine/btnotif/btdevicedialogplugin/inc/btmoredevicesdialogwidget.h Thu May 27 13:01:44 2010 +0300
@@ -0,0 +1,79 @@
+/*
+ * 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 BTMOREDEVICESDIALOGWIDGET_H_
+#define BTMOREDEVICESDIALOGWIDGET_H_
+
+#include <QObject>
+#include <QVariantMap>
+#include <hbdialog.h>
+#include <hbdevicedialoginterface.h>
+#include <hbpopup.h>
+#include <hbdocumentloader.h>
+#include <qstandarditemmodel.h>
+
+
+class BTMoreDevicesDialogWidget : public HbDialog,
+ public HbDeviceDialogInterface
+ {
+ Q_OBJECT
+
+public:
+ BTMoreDevicesDialogWidget(const QVariantMap ¶meters);
+ ~BTMoreDevicesDialogWidget();
+
+public: // from HbDeviceDialogInterface
+ bool setDeviceDialogParameters(const QVariantMap ¶meters);
+ int deviceDialogError() const;
+ void closeDeviceDialog(bool byClient);
+ HbPopup *deviceDialogWidget() const;
+ // virtual QObject *signalSender() const;
+
+public slots:
+ void moreDevicesClicked();
+ void cancelClicked();
+ void deviceSelected(const QModelIndex& modelIndex);
+ // void inputClosed(HbAction *action);
+
+private:
+ bool constructDialog(const QVariantMap ¶meters);
+ void hideEvent(QHideEvent *event);
+ void showEvent(QShowEvent *event);
+ QIcon icon(/*QString deviceType*/);
+
+signals:
+ void deviceDialogClosed();
+ void deviceDialogData(QVariantMap data);
+
+private:
+ HbDocumentLoader *mLoader;
+ int mDeviceDialogData;
+// HbAction *mMoreAction;
+// HbAction *mCancelAction;
+
+ /**
+ *
+ * item model for content list view.
+ */
+
+ QStandardItemModel* mContentItemModel;
+
+ Q_DISABLE_COPY(BTMoreDevicesDialogWidget)
+ };
+
+#endif /* BTMOREDEVICESDIALOGWIDGET_H_ */