--- a/appinstaller/AppinstUi/sifuidevicedialogplugin/inc/sifuidialog.h Thu May 27 12:58:35 2010 +0300
+++ b/appinstaller/AppinstUi/sifuidevicedialogplugin/inc/sifuidialog.h Fri Jun 11 13:45:18 2010 +0300
@@ -23,7 +23,7 @@
#include "sifuidialogdefinitions.h" // enum SifUiDeviceDialogType
#include <qmobilityglobal.h> // QTM namespace macros
-class QTranslator;
+class HbTranslator;
class SifUiDialogTitleWidget;
class SifUiDialogContentWidget;
class HbIndicator;
@@ -65,12 +65,11 @@
void showEvent(QShowEvent *event);
private: // new functions
- void installTranslator();
- void removeTranslator();
+ bool isInstallIndicatorActive();
bool constructDialog(const QVariantMap ¶meters);
bool updateFromParameters(const QVariantMap ¶meters);
- void updateButtons();
- void sendResult(bool accepted);
+ void updateButtons(const QVariantMap ¶meters);
+ void sendResult(SifUiDeviceDialogReturnValue value);
void monitorIndicatorActivity();
private slots:
@@ -78,14 +77,14 @@
void handleCancelled();
void handleMemorySelectionChanged(const QChar &driveLetter);
void handleHidePressed();
- void handleIndicatorActivityChanged();
void handleShowInstalled();
void handleErrorDetails();
private:
Q_DISABLE_COPY(SifUiDialog)
- QTranslator *mTranslator;
+ HbTranslator *mCommonTranslator;
+ HbTranslator *mSifUITranslator;
int mLastDialogError;
bool mShowEventReceived;
SifUiDeviceDialogType mDialogType;
@@ -94,6 +93,8 @@
int mInstallError;
QVariantMap mResultMap;
HbAction *mIgnoreCloseAction;
+ HbAction *mPrimaryAction;
+ HbAction *mSecondaryAction;
HbIndicator *mIndicator;
QTM_PREPEND_NAMESPACE(QValueSpaceSubscriber) *mSubscriber;