equal
deleted
inserted
replaced
71 |
71 |
72 public: |
72 public: |
73 virtual ~FmViewDetailsDialog(); |
73 virtual ~FmViewDetailsDialog(); |
74 |
74 |
75 static void showDriveViewDetailsDialog( const QString &driverName, |
75 static void showDriveViewDetailsDialog( const QString &driverName, |
76 QList<FmDriveDetailsSize*> detailsSizeList ); |
76 QList<FmDriveDetailsSize*> detailsSizeList, |
|
77 const QString& associatedDrives = QString() ); |
77 static void showFolderViewDetailsDialog( const QString &folderPath, |
78 static void showFolderViewDetailsDialog( const QString &folderPath, |
78 int numofSubFolders, int numofFiles, |
79 int numofSubFolders, int numofFiles, |
79 quint64 sizeofFolder); |
80 quint64 sizeofFolder, const QString& associatedDrives = QString() ); |
80 static void showFileViewDetailsDialog( const QString &filePath ); |
81 static void showFileViewDetailsDialog( const QString &filePath, const QString& associatedDrives = QString() ); |
81 |
82 |
82 private: |
83 private: |
83 FmViewDetailsDialog( QGraphicsItem *parent = 0 ); |
84 FmViewDetailsDialog( QGraphicsItem *parent = 0 ); |
84 |
85 |
85 void init(); |
86 void init(); |
87 void setFolderDetails( const QString &folderPath ); |
88 void setFolderDetails( const QString &folderPath ); |
88 void setFileDetails( const QString &filePath ); |
89 void setFileDetails( const QString &filePath ); |
89 void setNumofSubfolders( int numofSubFolders, int numofFiles, quint64 sizeofFolder ); |
90 void setNumofSubfolders( int numofSubFolders, int numofFiles, quint64 sizeofFolder ); |
90 void setSizeofContent( QList<FmDriveDetailsSize*> detailsSizeList ); |
91 void setSizeofContent( QList<FmDriveDetailsSize*> detailsSizeList ); |
91 |
92 |
|
93 static HbAction *executeDialog( HbDialog *dialog, const QString &associatedDrives ); |
92 private: |
94 private: |
93 HbListView *mListView; |
95 HbListView *mListView; |
94 HbLabel *mHeaderLabel; |
96 HbLabel *mHeaderLabel; |
95 HbAction *mOkAction; |
97 HbAction *mOkAction; |
96 |
98 |