mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Convert uninstallation to use signals / slots for logging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26782 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f2e048493e
commit
a1209350d4
4 changed files with 30 additions and 28 deletions
|
|
@ -35,8 +35,8 @@ public:
|
|||
Uninstaller(QObject* parent,QString mountpoint) ;
|
||||
~Uninstaller(){}
|
||||
|
||||
void deleteAll(ProgressloggerInterface* dp);
|
||||
void uninstall(ProgressloggerInterface* dp);
|
||||
void deleteAll(void);
|
||||
void uninstall(void);
|
||||
|
||||
bool uninstallPossible();
|
||||
|
||||
|
|
@ -44,6 +44,10 @@ public:
|
|||
|
||||
void setSections(QStringList sections) {uninstallSections = sections;}
|
||||
|
||||
signals:
|
||||
void logItem(QString, int); //! set logger item
|
||||
void logProgress(int, int); //! set progress bar.
|
||||
void logFinished(void);
|
||||
|
||||
private slots:
|
||||
|
||||
|
|
@ -52,8 +56,6 @@ private:
|
|||
QString m_mountpoint;
|
||||
|
||||
QStringList uninstallSections;
|
||||
|
||||
ProgressloggerInterface* m_dp;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue