From e5b63c61aba1c35edd67b8024da80cbaa23aff89 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Tue, 16 Feb 2010 18:30:24 +0000 Subject: Rename InstallFrm to InstallWindowFrm. The Install class has been renamed recently to InstallWindow. Rename the form too so it uses the same class basename again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24698 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/installfrm.ui | 244 ------------------------------------ rbutil/rbutilqt/installwindow.cpp | 11 +- rbutil/rbutilqt/installwindow.h | 4 +- rbutil/rbutilqt/installwindowfrm.ui | 244 ++++++++++++++++++++++++++++++++++++ rbutil/rbutilqt/rbutilqt.pro | 2 +- 5 files changed, 254 insertions(+), 251 deletions(-) delete mode 100644 rbutil/rbutilqt/installfrm.ui create mode 100644 rbutil/rbutilqt/installwindowfrm.ui (limited to 'rbutil/rbutilqt') diff --git a/rbutil/rbutilqt/installfrm.ui b/rbutil/rbutilqt/installfrm.ui deleted file mode 100644 index 040eca68d2..0000000000 --- a/rbutil/rbutilqt/installfrm.ui +++ /dev/null @@ -1,244 +0,0 @@ - - InstallFrm - - - Qt::WindowModal - - - - 0 - 0 - 644 - 500 - - - - Install Rockbox - - - - - - - - - :/icons/wizard.xpm - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - Please select the Rockbox version you want to install on your player: - - - true - - - - - - - Version - - - - - - Rockbox &stable - - - - - - - &Archived Build - - - - - - - &Current Build - - - - - - - - - - Details - - - - - - Details about the selected version - - - true - - - - - - - Note - - - true - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - &Install - - - - :/icons/go-next.png:/icons/go-next.png - - - - - - - &Cancel - - - - :/icons/process-stop.png:/icons/process-stop.png - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Backup - - - - - - Backup before installing - - - - - - - Backup location - - - - - - - - 0 - 0 - - - - - 60 - 16777215 - - - - Change - - - - - - - - - - Rockbox Utility stores copies of Rockbox it has downloaded on the local hard disk to save network traffic. If your local copy is no longer working, tick this box to download a fresh copy. - - - &Don't use locally cached copy - - - - - - - - - - - buttonOk - clicked() - InstallFrm - accept() - - - 562 - 420 - - - 500 - 352 - - - - - buttonCancel - clicked() - InstallFrm - reject() - - - 658 - 429 - - - 611 - 360 - - - - - diff --git a/rbutil/rbutilqt/installwindow.cpp b/rbutil/rbutilqt/installwindow.cpp index 8aefeb0bac..9eae0ce09f 100644 --- a/rbutil/rbutilqt/installwindow.cpp +++ b/rbutil/rbutilqt/installwindow.cpp @@ -18,7 +18,7 @@ ****************************************************************************/ #include "installwindow.h" -#include "ui_installfrm.h" +#include "ui_installwindowfrm.h" #include "rbzip.h" #include "system.h" #include "rbsettings.h" @@ -149,7 +149,8 @@ void InstallWindow::accept() else if(ui.radioArchived->isChecked()) { file = SystemInfo::value(SystemInfo::DailyUrl).toString(); RbSettings::setValue(RbSettings::Build, "archived"); - myversion = "r" + ServerInfo::value(ServerInfo::DailyRevision).toString() + "-" + ServerInfo::value(ServerInfo::DailyDate).toString(); + myversion = "r" + ServerInfo::value(ServerInfo::DailyRevision).toString() + + "-" + ServerInfo::value(ServerInfo::DailyDate).toString(); } else if(ui.radioCurrent->isChecked()) { file = SystemInfo::value(SystemInfo::BleedingUrl).toString(); @@ -270,7 +271,8 @@ void InstallWindow::setDetailsCurrent(bool show) ui.labelDetails->setText(tr("This is the absolute up to the minute " "Rockbox built. A current build will get updated every time " "a change is made. Latest version is r%1 (%2).") - .arg(ServerInfo::value(ServerInfo::BleedingRevision).toString(),ServerInfo::value(ServerInfo::BleedingDate).toString())); + .arg(ServerInfo::value(ServerInfo::BleedingRevision).toString(), + ServerInfo::value(ServerInfo::BleedingDate).toString())); if(ServerInfo::value(ServerInfo::CurReleaseVersion).toString().isEmpty()) ui.labelNote->setText(tr("This is the recommended version.")); else @@ -303,7 +305,8 @@ void InstallWindow::setDetailsArchived(bool show) "features than the last stable release but may be much less stable. " "Features may change regularly.")); ui.labelNote->setText(tr("Note: archived version is r%1 (%2).") - .arg(ServerInfo::value(ServerInfo::DailyRevision).toString(),ServerInfo::value(ServerInfo::DailyDate).toString())); + .arg(ServerInfo::value(ServerInfo::DailyRevision).toString(), + ServerInfo::value(ServerInfo::DailyDate).toString())); } } diff --git a/rbutil/rbutilqt/installwindow.h b/rbutil/rbutilqt/installwindow.h index e1a347099e..9fae7b5b4e 100644 --- a/rbutil/rbutilqt/installwindow.h +++ b/rbutil/rbutilqt/installwindow.h @@ -24,7 +24,7 @@ #include -#include "ui_installfrm.h" +#include "ui_installwindowfrm.h" #include "zipinstaller.h" #include "progressloggergui.h" @@ -38,7 +38,7 @@ class InstallWindow : public QDialog void accept(void); private: - Ui::InstallFrm ui; + Ui::InstallWindowFrm ui; ProgressLoggerGui* logger; QHttp *download; QFile *target; diff --git a/rbutil/rbutilqt/installwindowfrm.ui b/rbutil/rbutilqt/installwindowfrm.ui new file mode 100644 index 0000000000..3fa309202c --- /dev/null +++ b/rbutil/rbutilqt/installwindowfrm.ui @@ -0,0 +1,244 @@ + + InstallWindowFrm + + + Qt::WindowModal + + + + 0 + 0 + 644 + 500 + + + + Install Rockbox + + + + + + + + + :/icons/wizard.xpm + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + Please select the Rockbox version you want to install on your player: + + + true + + + + + + + Version + + + + + + Rockbox &stable + + + + + + + &Archived Build + + + + + + + &Current Build + + + + + + + + + + Details + + + + + + Details about the selected version + + + true + + + + + + + Note + + + true + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + &Install + + + + :/icons/go-next.png:/icons/go-next.png + + + + + + + &Cancel + + + + :/icons/process-stop.png:/icons/process-stop.png + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Backup + + + + + + Backup before installing + + + + + + + Backup location + + + + + + + + 0 + 0 + + + + + 60 + 16777215 + + + + Change + + + + + + + + + + Rockbox Utility stores copies of Rockbox it has downloaded on the local hard disk to save network traffic. If your local copy is no longer working, tick this box to download a fresh copy. + + + &Don't use locally cached copy + + + + + + + + + + + buttonOk + clicked() + InstallWindowFrm + accept() + + + 562 + 420 + + + 500 + 352 + + + + + buttonCancel + clicked() + InstallWindowFrm + reject() + + + 658 + 429 + + + 611 + 360 + + + + + diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro index f2f96e70d8..95c00c04a3 100644 --- a/rbutil/rbutilqt/rbutilqt.pro +++ b/rbutil/rbutilqt/rbutilqt.pro @@ -204,7 +204,7 @@ TARGET = rbutilqt FORMS += rbutilqtfrm.ui \ aboutbox.ui \ - installfrm.ui \ + installwindowfrm.ui \ progressloggerfrm.ui \ configurefrm.ui \ browsedirtreefrm.ui \ -- cgit