summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-02-14 21:02:52 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-02-14 21:10:54 +0100
commitf7fdf134681a35950edeb1054a1e095f7acec058 (patch)
tree684e59f2f84d11b507065f25d5cfd592680cffda /rbutil/rbutilqt/rbutilqt.h
parent3933afcc0942a635ff253a59d6138983e6fd90b8 (diff)
downloadrockbox-f7fdf134681a35950edeb1054a1e095f7acec058.tar.gz
rockbox-f7fdf134681a35950edeb1054a1e095f7acec058.tar.bz2
rockbox-f7fdf134681a35950edeb1054a1e095f7acec058.zip
Move manual tab contents to separate widget.
Create a new widget which holds the contents of the manual tab and its logic. Unify its display / download code. Fixes FS#12587, which was caused by duplicated code. Change-Id: I5721d2a95ebeaf80481c1fd149eda22cf1328501
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.h')
-rw-r--r--rbutil/rbutilqt/rbutilqt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.h b/rbutil/rbutilqt/rbutilqt.h
index 5cc1f0de94..e10569ff2f 100644
--- a/rbutil/rbutilqt/rbutilqt.h
+++ b/rbutil/rbutilqt/rbutilqt.h
@@ -32,6 +32,7 @@
#include "zipinstaller.h"
#include "progressloggergui.h"
#include "bootloaderinstallbase.h"
+#include "manualwidget.h"
class RbUtilQt : public QMainWindow
{
@@ -43,6 +44,7 @@ class RbUtilQt : public QMainWindow
static bool chkConfig(QWidget *parent = 0);
private:
+ ManualWidget *manual;
Ui::RbUtilQtFrm ui;
void changeEvent(QEvent *e);
@@ -55,7 +57,6 @@ class RbUtilQt : public QMainWindow
QString absolutePath;
QTemporaryFile buildInfo;
QTemporaryFile bleedingInfo;
- void updateManual(void);
ProgressLoggerGui *logger;
ZipInstaller *installer;
QUrl proxy(void);
@@ -109,7 +110,6 @@ class RbUtilQt : public QMainWindow
void installThemes(void);
void uninstall(void);
void uninstallBootloader(void);
- void downloadManual(void);
void installPortable(void);
void updateInfo(void);
void updateTabs(int);