Changeset 2877
- Timestamp:
- 10/09/08 08:38:17 (17 months ago)
- Location:
- pcbsd
- Files:
-
- 2 removed
- 4 modified
-
branches/7.0/PCInstall/pcinstall.cpp (modified) (2 diffs)
-
branches/7.0/PCInstall/pcinstall.h (modified) (1 diff)
-
branches/7.0/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallLangCD.sh (deleted)
-
trunk/PCInstall/pcinstall.cpp (modified) (2 diffs)
-
trunk/PCInstall/pcinstall.h (modified) (1 diff)
-
trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallLangCD.sh (deleted)
Legend:
- Unmodified
- Added
- Removed
-
pcbsd/branches/7.0/PCInstall/pcinstall.cpp
r2810 r2877 2966 2966 2967 2967 2968 void PCInstall::slotRunInstallLangCD()2969 {2970 QString tmp;2971 2972 // Get the language selected2973 tmp = listBoxLang->currentText();2974 tmp.remove(0, tmp.find("(") + 1 );2975 tmp.truncate(tmp.find(")") );2976 2977 textFileProgress->setText(tr("Installing Language Packages..."));2978 textFileProgressUpgrade->setText(tr("Installing Language Packages..."));2979 2980 //Setup Process to mount the root partition2981 AddLangFiles = new Q3Process( this );2982 AddLangFiles->addArgument( "/usr/local/pcbsd/scripts/PCBSD.InstallLangCD.sh" );2983 AddLangFiles->addArgument( tmp );2984 2985 connect( AddLangFiles, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3()) );2986 connect( AddLangFiles, SIGNAL(readyReadStdout()), this, SLOT(readLangInstallSlot() ) );2987 2988 if ( !AddLangFiles->start() ) {2989 QMessageBox::warning( this, "PCBSD Installer", "Failed Starting InstallLangCD", "Retry", "Quit", 0, 0, 1 );2990 }2991 2992 }2993 2994 2995 2968 void PCInstall::slotRunInstallComponents() 2996 2969 { … … 3035 3008 InstallComponentsProc->addArgument( "/usr/local/pcbsd/scripts/PCBSD.InstallCD3.sh" ); 3036 3009 3037 // connect our slots 3038 if ( listBoxLang->currentItem() != 0 ) 3039 { 3040 connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotRunInstallLangCD() ) ); 3041 } else { 3042 connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3() ) ); 3043 } 3044 3010 // connect our slots 3011 connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3() ) ); 3045 3012 connect( InstallComponentsProc, SIGNAL(readyReadStdout()), this, SLOT(readInstallComponentSlot() ) ); 3046 3013 -
pcbsd/branches/7.0/PCInstall/pcinstall.h
r2616 r2877 91 91 void selectComponentSlot(); 92 92 void removeComponentSlot(); 93 void slotRunInstallLangCD();94 93 void slotRunInstallComponents(); 95 94 void readInstallComponentSlot(); -
pcbsd/trunk/PCInstall/pcinstall.cpp
r2810 r2877 2966 2966 2967 2967 2968 void PCInstall::slotRunInstallLangCD()2969 {2970 QString tmp;2971 2972 // Get the language selected2973 tmp = listBoxLang->currentText();2974 tmp.remove(0, tmp.find("(") + 1 );2975 tmp.truncate(tmp.find(")") );2976 2977 textFileProgress->setText(tr("Installing Language Packages..."));2978 textFileProgressUpgrade->setText(tr("Installing Language Packages..."));2979 2980 //Setup Process to mount the root partition2981 AddLangFiles = new Q3Process( this );2982 AddLangFiles->addArgument( "/usr/local/pcbsd/scripts/PCBSD.InstallLangCD.sh" );2983 AddLangFiles->addArgument( tmp );2984 2985 connect( AddLangFiles, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3()) );2986 connect( AddLangFiles, SIGNAL(readyReadStdout()), this, SLOT(readLangInstallSlot() ) );2987 2988 if ( !AddLangFiles->start() ) {2989 QMessageBox::warning( this, "PCBSD Installer", "Failed Starting InstallLangCD", "Retry", "Quit", 0, 0, 1 );2990 }2991 2992 }2993 2994 2995 2968 void PCInstall::slotRunInstallComponents() 2996 2969 { … … 3035 3008 InstallComponentsProc->addArgument( "/usr/local/pcbsd/scripts/PCBSD.InstallCD3.sh" ); 3036 3009 3037 // connect our slots 3038 if ( listBoxLang->currentItem() != 0 ) 3039 { 3040 connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotRunInstallLangCD() ) ); 3041 } else { 3042 connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3() ) ); 3043 } 3044 3010 // connect our slots 3011 connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3() ) ); 3045 3012 connect( InstallComponentsProc, SIGNAL(readyReadStdout()), this, SLOT(readInstallComponentSlot() ) ); 3046 3013 -
pcbsd/trunk/PCInstall/pcinstall.h
r2616 r2877 91 91 void selectComponentSlot(); 92 92 void removeComponentSlot(); 93 void slotRunInstallLangCD();94 93 void slotRunInstallComponents(); 95 94 void readInstallComponentSlot();
