/* distrolst.cpp from tuxboot Copyright (C) 2007-2008 Geza Kovacs This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License at for more details. */ #ifdef CLONEZILLA if (nameDistro.startsWith("clonezilla_live")) { //printf("download clonezilla??\n"); QString iso_relname = QString("clonezilla-live-%1.iso").arg(relname); downloadfile(QString("http://prdownloads.sourceforge.net/clonezilla/clonezilla-live-%1.iso").arg(relname), isotmpf); checkisofile(iso_relname_md5, isotmpf, iso_relname); extractiso(isotmpf, targetPath); } if (nameDistro.startsWith("gparted-live")) { downloadfile(QString("http://prdownloads.sourceforge.net/gparted/gparted-live-%1.iso").arg(relname), isotmpf); QString iso_relname = QString("gparted-live-%1.iso").arg(relname); checkisofile(iso_relname_md5, isotmpf, iso_relname); extractiso(isotmpf, targetPath); } if (nameDistro.startsWith("drbl_live")) { downloadfile(QString("http://prdownloads.sourceforge.net/drbl/drbl-live-xfce-%1.iso").arg(relname), isotmpf); QString iso_relname = QString("drbl-live-xfce-%1.iso").arg(relname); checkisofile(iso_relname_md5, isotmpf, iso_relname); extractiso(isotmpf, targetPath); } if (nameDistro.startsWith("Cloudboot")) { downloadfile(QString("http://prdownloads.sourceforge.net/cloudboot/cloudboot_%1.iso").arg(relname), isotmpf); //checkisofile(QString("http://free.nchc.org.tw/drbl-live/stable/MD5SUMS"), isotmpf, QString("drbl-live-xfce-%1.iso").arg(relname)); extractiso(isotmpf, targetPath); } if (nameDistro == "Tux2Live") { radioFloppy->setChecked(true); QString nameISO = QDir::toNativeSeparators(QFileDialog::getOpenFileName(this, tr("Open Tux2Live Image File"), QDir::homePath(), tr("All Files (*.iso)"))); extractiso(nameISO, targetPath); } #endif