kioslaves/mbox
ReadMBox Class Reference
#include <readmbox.h>
Inheritance diagram for ReadMBox:

Detailed Description
This class handels reading from a mbox-file.
Definition at line 36 of file readmbox.h.
Public Member Functions | |
ReadMBox (const UrlInfo *info, MBoxProtocol *parent, bool onlynew=false, bool savetime=false) | |
~ReadMBox () | |
QString | currentLine () const |
QString | currentID () const |
bool | nextLine () |
bool | searchMessage (const QString &id) |
unsigned int | skipMessage () |
void | rewind () |
bool | atEnd () const |
bool | inListing () const |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 40 of file readmbox.cc. |
|
Destructor.
Definition at line 66 of file readmbox.cc. |
Member Function Documentation
|
Returns true if the cursor is at EOF.
Definition at line 150 of file readmbox.cc. |
|
This function returns the current id. The id is the first line of an email, and is used in filenaming. The id normally starts with "From ".
Definition at line 77 of file readmbox.cc. |
|
This functions return the current line.
Definition at line 72 of file readmbox.cc. |
|
Return true if the message is a new message, or all messages are listed.
Definition at line 158 of file readmbox.cc. |
|
This function reads the next line. The next line can be read by the currentLine() function call.
Definition at line 82 of file readmbox.cc. |
|
Sets the cursor back to the beginning of the file.
Definition at line 143 of file readmbox.cc. |
|
This function search the file for a certain id. If not found, the position is EOF.
Definition at line 119 of file readmbox.cc. |
|
Skips all lines which belongs to the current message. The cursor is on the first line of a new message message at the end of this function, or at EOF if the cursor was already on the last message.
Definition at line 130 of file readmbox.cc. |
The documentation for this class was generated from the following files: