--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bluetoothengine/btnotif/btdevicedialogplugin/inc/btdeviceinfowidget.h Fri Sep 03 16:17:59 2010 +0300
@@ -0,0 +1,61 @@
+/*
+ * 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 BTDEVICEINFOWIDGET_H
+#define BTDEVICEINFOWIDGET_H
+
+#include <QObject>
+#include <QVariantMap>
+#include <hbdevicedialoginterface.h>
+#include <hbmessagebox.h>
+
+
+class BtDeviceInfoWidget : public QObject, public HbDeviceDialogInterface
+ {
+ Q_OBJECT
+
+public:
+ BtDeviceInfoWidget(const QVariantMap ¶meters);
+ ~BtDeviceInfoWidget();
+
+public: // from HbDeviceDialogInterface
+ bool setDeviceDialogParameters(const QVariantMap ¶meters);
+ int deviceDialogError() const;
+ void closeDeviceDialog(bool byClient);
+ HbPopup *deviceDialogWidget() const;
+ QObject* signalSender() const;
+
+signals:
+ void deviceDialogClosed();
+ void deviceDialogData(QVariantMap data);
+
+private:
+ bool constructDialog(const QVariantMap ¶meters);
+
+public slots:
+ void messageBoxClosed(HbAction *action);
+ void messageBoxClosed(int action);
+
+private:
+ HbMessageBox* mMessageBox;
+ int mLastError;
+
+ Q_DISABLE_COPY(BtDeviceInfoWidget)
+ };
+
+#endif /* BTDEVICEINFOWIDGET_H */