Changeset 3684
- Timestamp:
- 03/27/09 12:15:16 (12 months ago)
- Location:
- pcbsd/trunk/PCInstall
- Files:
-
- 2 modified
-
pcinstall.cpp (modified) (3 diffs)
-
pcinstall.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pcbsd/trunk/PCInstall/pcinstall.cpp
r3641 r3684 1415 1415 1416 1416 1417 1417 // Function which reads the output of the tar extraction and displays it on the GUI 1418 1418 void PCInstall::readTarStdoutSlot() 1419 1419 { … … 1445 1445 } 1446 1446 1447 // Function which reads the output of PCBSD.MountUpgrade.sh and displays on GUI its messages 1448 void PCInstall::readUpgradeStdoutSlot() 1449 { 1450 QString Buffer; 1451 QString tmp; 1452 1453 // Loop while getting input 1454 while (RunUpgradeProc->canReadLineStdout() ) 1455 { 1456 // Read the line 1457 Buffer = RunUpgradeProc->readLineStdout(); 1458 1459 // Set the Label to current text 1460 textFileProgress->setText(Buffer); 1461 1462 } // End while loop 1463 } 1447 1464 1448 1465 void PCInstall::setupUsersSlot() … … 2064 2081 2065 2082 connect( RunUpgradeProc, SIGNAL(processExited()), this, SLOT(startTarExtractSlot()) ); 2083 connect( RunUpgradeProc, SIGNAL(readyReadStdout() ), this, SLOT(readUpgradeStdoutSlot() ) ); 2066 2084 2067 2085 if ( !RunUpgradeProc->start() ) { -
pcbsd/trunk/PCInstall/pcinstall.h
r3501 r3684 65 65 void startTarExtractSlot(); 66 66 void readTarStdoutSlot(); 67 void readUpgradeStdoutSlot(); 67 68 void setupUsersSlot(); 68 69 void slotRunLastScripts();
