Logo Search packages:      
Sourcecode: kbiff version File versions

void KBiffMonitor::setMailboxIsRead (  )  [slot]

Fakes KBiffMonitor into thinking that the mailbox was just read

Definition at line 410 of file kbiffmonitor.cpp.

{
  lastRead  = QDateTime::currentDateTime();
  if (mailState == NewMail)
  {
    if (b_new_lastSize)     lastSize     = new_lastSize;
    if (b_new_lastRead)     lastRead     = new_lastRead;
    if (b_new_lastModified) lastModified = new_lastModified;
    if (b_new_uidlList)     uidlList     = new_uidlList;

    if (curCount!=-1) curCount+=newCount;
    newCount = 0;
    b_new_lastSize = false;
    b_new_lastRead = false;
    b_new_lastModified = false;
    b_new_uidlList = false;

    determineState(OldMail);
  }
}


Generated by  Doxygen 1.6.0   Back to index