MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / LoadOperateLasterClose

Method LoadOperateLasterClose

App/Client/mainwindow.cpp:1559–1579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1557}
1558
1559int MainWindow::LoadOperateLasterClose()
1560{
1561 if(!m_Parameter.GetOpenLasterClose())
1562 return 0;
1563
1564 QFile f(RabbitCommon::CDir::Instance()->GetDirUserConfig()
1565 + QDir::separator() + "LasterClose.dat");
1566 if(f.open(QFile::ReadOnly))
1567 {
1568 QDataStream d(&f);
1569 while(1){
1570 QString szFile;
1571 d >> szFile;
1572 if(szFile.isEmpty())
1573 break;
1574 slotOpenFile(szFile);
1575 }
1576 f.close();
1577 }
1578 return 0;
1579}
1580
1581int MainWindow::SaveOperateLasterClose()
1582{

Callers

nothing calls this directly

Calls 4

GetOpenLasterCloseMethod · 0.80
openMethod · 0.45
isEmptyMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected