knode
knfoldermanager.cpp
Go to the documentation of this file.
105 knGlobals.memoryManager()->updateCacheEntry( boost::static_pointer_cast<KNArticleCollection>( f ) );
122 knGlobals.memoryManager()->removeCacheEntry( boost::static_pointer_cast<KNArticleCollection>( f ) );
194 knGlobals.memoryManager()->removeCacheEntry( boost::static_pointer_cast<KNArticleCollection>( f ) );
468 QStringList entries(d.entryList(QStringList("custom_*.info"))); // ignore info files of standard folders
void setCodec(QTextCodec *codec)
void clear()
KNFolderManager(KNArticleManager *a)
Definition: knfoldermanager.cpp:35
static int findStringInFile(QFile *file, const char *str)
Searches for the string from the current file position.
Definition: utilities.cpp:369
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
virtual qint64 pos() const
bool isEmpty() const
void setCurrentFolder(KNFolder::Ptr f)
Definition: knfoldermanager.cpp:77
File open helper (includes file open dialog and network download).
Definition: utilities.h:55
bool isNull() 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
static void displayInternalFileError(QWidget *w=0)
use this for all internal files
Definition: utilities.cpp:344
bool isEmpty() const
int removeAll(const T &value)
void compactFolder(KNFolder::Ptr f)
Definition: knfoldermanager.cpp:264
QFile * getFile(const QString &dialogTitle)
opens a file dialog and returns a file open for reading
Definition: utilities.cpp:113
typedef Iterator
qint64 read(char *data, qint64 maxSize)
void folderActivated(KNFolder::Ptr f)
void appendCollection(KNArticleCollection::Ptr c)
Add a collection to handle.
Definition: kncleanup.h:45
KNFolder::Ptr newFolder(KNFolder::Ptr p)
Definition: knfoldermanager.cpp:139
iterator end()
virtual qint64 size() const
bool moveFolder(KNFolder::Ptr f, KNFolder::Ptr p)
Move the folder f to a new parent p.
Definition: knfoldermanager.cpp:223
bool canMoveFolder(KNFolder::Ptr f, KNFolder::Ptr p)
Returns true if the folder f can be moved under a new parent p.
Definition: knfoldermanager.cpp:199
QByteArray left(int len) const
boost::shared_ptr< KNCollection > Ptr
Shared pointer to a KNCollection.
Definition: kncollection.h:42
bool unloadHeaders(KNFolder::Ptr f, bool force=true)
Definition: knfoldermanager.cpp:113
QStringList entryList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
void importFromMBox(KNFolder::Ptr f)
Definition: knfoldermanager.cpp:293
virtual bool atEnd() const
QString absoluteFilePath(const QString &fileName) const
boost::shared_ptr< KNArticleCollection > Ptr
Shared pointer to a KNArticle.
Definition: knarticlecollection.h:82
This object change the application cursor to a given type and then restore the previous cursor when i...
Definition: scoped_cursor_override.h:36
File save helper (includes file save dialog and network upload).
Definition: utilities.h:29
iterator begin()
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.