bluetoothengine/btnotif/btdevicedialogplugin/inc/btsenddialogwidget.h
changeset 67 16e4b9007960
parent 42 b72428996822
--- a/bluetoothengine/btnotif/btdevicedialogplugin/inc/btsenddialogwidget.h	Wed Sep 29 13:09:05 2010 +0300
+++ b/bluetoothengine/btnotif/btdevicedialogplugin/inc/btsenddialogwidget.h	Wed Oct 13 13:15:31 2010 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ * 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""
@@ -19,16 +19,12 @@
 #ifndef BTSENDDIALOGWIDGET_H
 #define BTSENDDIALOGWIDGET_H
 
-#include <QObject>
 #include <QVariantMap>
 #include <hbdialog.h>
 #include <hbdevicedialoginterface.h>
-#include <hbpopup.h>
 #include <hbdocumentloader.h>
-#include <qstandarditemmodel.h>
 #include <hbprogressbar.h>
 #include <hblabel.h>
-#include <hblistview.h>
 #include <hbaction.h>
 
 
@@ -49,31 +45,25 @@
     virtual QObject *signalSender() const;
     
 public slots:
-//    void hideClicked();
     void cancelClicked();
-//    void inputClosed(HbAction* action);
 private:
-    bool constructDialog(const QVariantMap &parameters);
-    void hideEvent(QHideEvent *event);
-    void showEvent(QShowEvent *event);
+    void constructDialog(const QVariantMap &parameters);
     
 signals:
     void deviceDialogClosed();
     
 private:
     HbDocumentLoader *mLoader;
- //   QStandardItemModel* mContentItemModel;
-    HbProgressBar*      mProgressBar;
-    HbLabel*            mDialogHeading;
-    HbLabel*            mFileIconLabel;
-	HbLabel*			mFileNameLabel;
-	HbLabel*			mFileSizeLabel;
-    
-//    HbListView*         mListView;
+    HbProgressBar    *mProgressBar;
+    HbLabel *mDialogHeading;
+    HbLabel *mFileIconLabel;
+	HbLabel	*mFileNameLabel;
+	HbLabel	*mFileSizeLabel;
     HbDialog *mSendDialog;
     HbAction *mHideAction;
     HbAction *mCancelAction;
     int       mFileIndex;
+    int 			mLastError;
 
     
     Q_DISABLE_COPY(BTSendDialogWidget)