--- a/filebrowser/ui/inc/enginewrapper.h Fri May 14 15:53:02 2010 +0300
+++ b/filebrowser/ui/inc/enginewrapper.h Thu May 27 12:52:19 2010 +0300
@@ -34,6 +34,7 @@
class SearchAttributes;
class SearchResults;
class FileBrowserView;
+class HbProgressDialog;
class QModelIndex;
@@ -55,9 +56,10 @@
/**
* class that is used for communicating between Symbian and Qt code.
*/
-class EngineWrapper : MFileBrowserUI {
+class EngineWrapper : public QObject, public MFileBrowserUI
+{
+ Q_OBJECT
public:
-
/**
* Constructor
*/
@@ -79,6 +81,9 @@
void ShowInformationNote(const TDesC &aDescText, const TDesC &aDescTitle);
void ShowErrorNote(const TDesC& aDescText, TBool aNoTimeout = EFalse);
void ShowConfirmationNote(const TDesC& aDescText, TBool aNoTimeout = EFalse);
+ void ShowWaitDialog(const TDesC& aText);
+ void CancelWaitDialog();
+ void ProcessEvents();
TBool ShowConfirmationQuery(const TDesC& aDescText);
public:
@@ -158,14 +163,20 @@
quint32 getDebugMask();
void toolsSetDebugMask(quint32 aDbgMask);
+ void toolsWriteAllFiles();
+
void showFileCheckSums(const QModelIndex &aIndex, TFileBrowserCmdFileChecksums checksumType);
+private slots:
+ void waitDialogCancelled();
+
private:
// FB engine
CEngine *mEngine;
// List of found files results for Ui
QStringList mFilesFound;
FileBrowserSettings mSettings;
+ HbProgressDialog *mWaitDialog;
};
#endif //ENGINEWRAPPER_H