equal
deleted
inserted
replaced
17 |
17 |
18 #ifndef CAUNINSTALLNOTIFIER_P_H |
18 #ifndef CAUNINSTALLNOTIFIER_P_H |
19 #define CAUNINSTALLNOTIFIER_P_H |
19 #define CAUNINSTALLNOTIFIER_P_H |
20 |
20 |
21 #include <QObject> |
21 #include <QObject> |
|
22 #include <QVariantMap> |
22 #include <QSharedPointer> |
23 #include <QSharedPointer> |
23 class CaUninstallObserver; |
24 class CaUninstallObserver; |
24 class CCaProgresScanner; |
25 class CCaProgresScanner; |
25 class CaUninstallNotifier; |
26 class CaUninstallNotifier; |
26 class CaSoftwareRegistry; |
27 class CaSoftwareRegistry; |
34 explicit CaUninstallNotifierPrivate(); |
35 explicit CaUninstallNotifierPrivate(); |
35 |
36 |
36 virtual ~CaUninstallNotifierPrivate(); |
37 virtual ~CaUninstallNotifierPrivate(); |
37 |
38 |
38 void makeConnect(); |
39 void makeConnect(); |
|
40 |
|
41 QVariantMap getLastNotification(); |
|
42 |
|
43 private slots: |
|
44 |
|
45 void progressChange(int componentId, int valueOfProgress); |
39 |
46 |
40 private: |
47 private: |
41 CaUninstallObserver* mUninstallObserver; |
48 CaUninstallObserver* mUninstallObserver; |
42 CCaProgresScanner* mProgressScanner; |
49 CCaProgresScanner* mProgressScanner; |
43 QSharedPointer<CaSoftwareRegistry> mCaSoftwareRegistry; |
50 QSharedPointer<CaSoftwareRegistry> mCaSoftwareRegistry; |
44 |
51 |
45 const CaUninstallNotifier *m_q; |
52 CaUninstallNotifier *m_q; |
46 friend class CaUninstallNotifier; |
53 friend class CaUninstallNotifier; |
|
54 friend class T_CaSoftwareRegistry; |
|
55 |
|
56 int mLastComponentId; |
|
57 int mLastValueOfProgress; |
47 |
58 |
48 }; |
59 }; |
49 |
60 |
50 |
61 |
51 #endif // CAUNINSTALLNOTIFIER_P_H |
62 #endif // CAUNINSTALLNOTIFIER_P_H |