mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-22 20:18:35 -04:00
Remove most references to ".tf2".
This commit is contained in:
parent
74c3d55e7f
commit
d0ea461355
@ -16,7 +16,7 @@ extern struct { //This is "common/datcom/..." in Fortran
|
||||
int mousefqso; //User-selected QSO freq (kHz)
|
||||
int nagain; //1 ==> decode only at fQSO +/- Tol
|
||||
int ndepth; //How much hinted decoding to do?
|
||||
int ndiskdat; //1 ==> data read from *.tf2 or *.iq file
|
||||
int ndiskdat; //1 ==> data read from *.iq file
|
||||
int neme; //Hinted decoding tries only for EME calls
|
||||
int newdat; //1 ==> new data, must do long FFT
|
||||
int nfa; //Low decode limit (kHz)
|
||||
@ -55,7 +55,7 @@ extern struct { //This is "common/datcom/..." in Fortran
|
||||
int mousefqso; //User-selected QSO freq (kHz)
|
||||
int nagain; //1 ==> decode only at fQSO +/- Tol
|
||||
int ndepth; //How much hinted decoding to do?
|
||||
int ndiskdat; //1 ==> data read from *.tf2 or *.iq file
|
||||
int ndiskdat; //1 ==> data read from *.iq file
|
||||
int neme; //Hinted decoding tries only for EME calls
|
||||
int newdat; //1 ==> new data, must do long FFT
|
||||
int nfa; //Low decode limit (kHz)
|
||||
|
@ -44,7 +44,7 @@ void getfile(QString fname, bool xpol, int dbDgrd)
|
||||
|
||||
datcom_.ndiskdat=1;
|
||||
int nfreq=(int)datcom_.fcenter;
|
||||
if(nfreq!=144 and nfreq != 432 and nfreq != 1296) datcom_.fcenter=144.125;
|
||||
if(nfreq!=144 and nfreq != 432 and nfreq != 1296) datcom_.fcenter=1296.080;
|
||||
int i0=fname.indexOf(".tf2");
|
||||
if(i0<0) i0=fname.indexOf(".iq");
|
||||
datcom_.nutc=0;
|
||||
@ -78,8 +78,6 @@ void savetf2(QString fname, bool xpol)
|
||||
free(buf);
|
||||
}
|
||||
|
||||
//#define MAX_RANDOM 0x7fffffff
|
||||
|
||||
/* Generate gaussian random float with mean=0 and std_dev=1 */
|
||||
float gran()
|
||||
{
|
||||
|
@ -743,13 +743,12 @@ void MainWindow::decoderFinished() //diskWriteFinished
|
||||
lab5->setText(t1);
|
||||
}
|
||||
|
||||
//Delete ../save/*.tf2
|
||||
void MainWindow::on_actionDelete_all_tf2_files_in_SaveDir_triggered()
|
||||
void MainWindow::on_actionDelete_all_iq_files_in_SaveDir_triggered()
|
||||
{
|
||||
int i;
|
||||
QString fname;
|
||||
int ret = QMessageBox::warning(this, "Confirm Delete",
|
||||
"Are you sure you want to delete all *.tf2 and *.iq files in\n" +
|
||||
"Are you sure you want to delete all *.iq files in\n" +
|
||||
QDir::toNativeSeparators(m_saveDir) + " ?",
|
||||
QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
|
||||
if(ret==QMessageBox::Yes) {
|
||||
@ -758,8 +757,6 @@ void MainWindow::on_actionDelete_all_tf2_files_in_SaveDir_triggered()
|
||||
QList<QString>::iterator f;
|
||||
for(f=files.begin(); f!=files.end(); ++f) {
|
||||
fname=*f;
|
||||
i=(fname.indexOf(".tf2"));
|
||||
if(i==11) dir.remove(fname);
|
||||
i=(fname.indexOf(".iq"));
|
||||
if(i==11) dir.remove(fname);
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ private slots:
|
||||
void on_actionOpen_triggered();
|
||||
void on_actionOpen_next_in_directory_triggered();
|
||||
void on_actionDecode_remaining_files_in_directory_triggered();
|
||||
void on_actionDelete_all_tf2_files_in_SaveDir_triggered();
|
||||
void on_actionDelete_all_iq_files_in_SaveDir_triggered();
|
||||
void on_actionNo_Deep_Search_triggered();
|
||||
void on_actionNormal_Deep_Search_triggered();
|
||||
void on_actionAggressive_Deep_Search_triggered();
|
||||
|
@ -627,7 +627,7 @@ p, li { white-space: pre-wrap; }
|
||||
<addaction name="actionOpen_next_in_directory"/>
|
||||
<addaction name="actionDecode_remaining_files_in_directory"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionDelete_all_tf2_files_in_SaveDir"/>
|
||||
<addaction name="actionDelete_all_iq_files_in_SaveDir"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionSettings"/>
|
||||
<addaction name="separator"/>
|
||||
@ -757,9 +757,9 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Shift+F6</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDelete_all_tf2_files_in_SaveDir">
|
||||
<action name="actionDelete_all_iq_files_in_SaveDir">
|
||||
<property name="text">
|
||||
<string>Delete all *.tf2 and *.iq files in SaveDir</string>
|
||||
<string>Delete all *.iq files in SaveDir</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionErase_Band_Map_and_Messages">
|
||||
|
Loading…
Reference in New Issue
Block a user