bluetoothengine/btnotif/btdevicedialogplugin/inc/btsenddialogwidget.h
changeset 42 b72428996822
parent 31 a0ea99b6fa53
child 67 16e4b9007960
--- a/bluetoothengine/btnotif/btdevicedialogplugin/inc/btsenddialogwidget.h	Fri May 28 17:03:06 2010 +0300
+++ b/bluetoothengine/btnotif/btdevicedialogplugin/inc/btsenddialogwidget.h	Mon Jul 12 18:51:05 2010 +0300
@@ -16,8 +16,8 @@
  */
 
 
-#ifndef BTSENDDIALOGWIDGET_H_
-#define BTSENDDIALOGWIDGET_H_
+#ifndef BTSENDDIALOGWIDGET_H
+#define BTSENDDIALOGWIDGET_H
 
 #include <QObject>
 #include <QVariantMap>
@@ -29,9 +29,10 @@
 #include <hbprogressbar.h>
 #include <hblabel.h>
 #include <hblistview.h>
+#include <hbaction.h>
 
 
-class BTSendDialogWidget : public HbDialog,
+class BTSendDialogWidget : public QObject,
                                 public HbDeviceDialogInterface
     {
     Q_OBJECT
@@ -49,8 +50,8 @@
     
 public slots:
 //    void hideClicked();
-//    void cancelClicked();
-    void inputClosed(HbAction* action);
+    void cancelClicked();
+//    void inputClosed(HbAction* action);
 private:
     bool constructDialog(const QVariantMap &parameters);
     void hideEvent(QHideEvent *event);
@@ -61,13 +62,21 @@
     
 private:
     HbDocumentLoader *mLoader;
-    QStandardItemModel* mContentItemModel;
+ //   QStandardItemModel* mContentItemModel;
     HbProgressBar*      mProgressBar;
-    HbLabel*            mLabel;
-    HbListView*         mListView;
-    int                 mFileIndex;
+    HbLabel*            mDialogHeading;
+    HbLabel*            mFileIconLabel;
+	HbLabel*			mFileNameLabel;
+	HbLabel*			mFileSizeLabel;
+    
+//    HbListView*         mListView;
+    HbDialog *mSendDialog;
+    HbAction *mHideAction;
+    HbAction *mCancelAction;
+    int       mFileIndex;
+
     
     Q_DISABLE_COPY(BTSendDialogWidget)
     };
 
-#endif /* BTSENDDIALOGWIDGET_H_ */
+#endif /* BTSENDDIALOGWIDGET_H */