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

void Mailody::Imaplib::addFlag ( const QString &  box,
int  uidmin,
int  uidmax,
const QString &  flag 
)

add a flag to a message or messages. Keep uidmin and uidmax the same if you want it for one message.

Parameters:
box the mailbox
uidmin minuid of the message
uidmax maxuid of the message
flag flag to add

Definition at line 395 of file imaplib.cpp.

Referenced by Mailody::ImapManager::addFlag(), and Mailody::ImapManager::removeFlag().

{
    // kdDebug() << k_funcinfo
    //        << box << " - " << min << " - " << max << " - " << flag << endl;
    m_queue.append(Queue(Queue::NoResponse, box,
                   "UID STORE "
                           + QString::number(min) + ":" + QString::number(max)
                           + " +FLAGS (" + flag + ')'));
}


Generated by  Doxygen 1.6.0   Back to index