--- a/bluetoothengine/btnotif/btdevicedialogplugin/inc/btsenddialogwidget.h Fri Jun 11 13:48:51 2010 +0300
+++ b/bluetoothengine/btnotif/btdevicedialogplugin/inc/btsenddialogwidget.h Wed Jun 23 18:23:52 2010 +0300
@@ -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 ¶meters);
void hideEvent(QHideEvent *event);
@@ -61,11 +62,19 @@
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)
};