knode
knfolder.cpp
Go to the documentation of this file.
void setCodec(QTextCodec *codec)
virtual bool seek(qint64 pos)
boost::shared_ptr< KNLocalArticle > Ptr
Shared pointer to a KNLocalArticle. To be used instead of raw KNLocalArticle*.
Definition: knarticle.h:216
bool remove()
virtual qint64 pos() const
QString fileName() const
bool isEmpty() const
void setFileName(const QString &name)
unsigned int lockedArticles()
Definition: knarticlecollection.h:102
int length() const
bool exists() const
bool isExpanded() const
FileError error() const
bool loadArticle(KNLocalArticle::Ptr a)
Load the full content of an article.
Definition: knfolder.cpp:314
void resize(int size)
int indexOf(char ch, int from) const
int count(const T &value) const
void append(const T &value)
This class encapsulates an article, that is stored locally in an MBOX-file.
Definition: knarticle.h:212
bool isEmpty() const
bool isEmpty() const
Definition: knfolder.h:108
KNCollectionViewItem * l_istItem
The list view item representing this collection in the folder tree.
Definition: kncollection.h:97
typedef Iterator
qint64 read(char *data, qint64 maxSize)
bool isOpen() const
QByteArray mid(int pos, int len) const
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
void deleteComposerForArticle(KNLocalArticle::Ptr a)
Definition: knarticlefactory.cpp:688
iterator end()
virtual qint64 size() const
virtual void close()
boost::shared_ptr< KNCollection > Ptr
Shared pointer to a KNCollection.
Definition: kncollection.h:42
void append(KNArticle::Ptr a)
Appends an article to this collection.
Definition: knarticlecollection.cpp:186
void flush()
virtual bool atEnd() const
void removeArticles(KNLocalArticle::List &l, bool del=true)
Definition: knfolder.cpp:449
void setLabelText(const QString &label)
Sets the textual data for the "Label" column of the parent FolderTreeWidget.
Definition: foldertreewidget.cpp:439
char * data()
qint64 write(const char *data, qint64 maxSize)
boost::shared_ptr< KNArticleCollection > Ptr
Shared pointer to a KNArticle.
Definition: knarticlecollection.h:82
Abstract base class for article collections, ie.
Definition: knarticlecollection.h:76
This object change the application cursor to a given type and then restore the previous cursor when i...
Definition: scoped_cursor_override.h:36
QString absolutePath() const
void setTotalCount(int totalCount)
Sets the total message count to be displayed in the special "Total" column.
Definition: foldertreewidget.cpp:476
void updateListItem()
Updates the listview item after the collection has changed.
Definition: knfolder.cpp:90
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QString baseName() const
iterator begin()
bool endsWith(const QByteArray &ba) const
qint64 readLine(char *data, qint64 maxSize)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.