Logo Search packages:      
Sourcecode: ultracopier version File versions  Download package

void copyThread::skipCurrentFile (  ) [slot]

Todo:
skip the current file here

Definition at line 356 of file CopyThread.cpp.

References MultiThreadCopyList, skipThecurrentFile, stopIt, and theCurrentStat.

Referenced by checkIfNeedWaitOneWriteThread(), run(), and Main_window::SkipButton().

{
      DEBUGCONSOLE(90,"copyThread::skipCurrentFile","start");
      /// \todo skip the current file here
      if(theCurrentStat==copyThread::Stopped)
      {
            QList<int> ids;
            {
                  QMutexLocker lock_mutex(&MultiThreadCopyList);
                  if(theCopyList.size())
                        ids<<theCopyList.first().id;
            }
            if(ids.size())
                  removeItems(ids);
      }
      else
      {
            stopIt=true;
            skipThecurrentFile=true;
      }
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index