Logo Search packages:      
Sourcecode: kcheckgmail version File versions

const GMailParser::Thread & GMailParser::getThread ( const QString &  msgId  )  const

Return the thread information of the thread specified by msgId

msgId The message Id of the thread
A copy of the Thread

Definition at line 594 of file gmailparser.cpp.

      static Thread nullThread;

      QMap<QString, Thread*>::const_iterator iter = mThreads.find(msgId);
      if(iter == mThreads.end()) {
            nullThread.isNull = true;
            return nullThread;
      } else
            return *(*iter);

Generated by  Doxygen 1.6.0   Back to index