knode
#include <knarticlemanager.h>
Public Slots | |
void | slotFilterChanged (KNArticleFilter *f) |
void | slotItemExpanded (Q3ListViewItem *p) |
void | slotSearchDialogDone () |
Signals | |
void | aboutToShowFolder () |
void | aboutToShowGroup () |
Public Member Functions | |
KNArticleManager () | |
virtual | ~KNArticleManager () |
KNArticleCollection::Ptr | collection () |
void | copyIntoFolder (KNArticle::List &l, KNFolder::Ptr f) |
bool | deleteArticles (KNLocalArticle::List &l, bool ask=true) |
void | deleteTempFiles () |
KNArticleFilter * | filter () const |
bool | loadArticle (KNArticle::Ptr a) |
void | moveIntoFolder (KNLocalArticle::List &l, KNFolder::Ptr f) |
void | openContent (KMime::Content *c) |
void | rescoreArticles (KNRemoteArticle::List &l) |
void | saveArticleToFile (KNArticle::Ptr a, QWidget *parent) |
void | saveContentToFile (KMime::Content *c, QWidget *parent) |
QString | saveContentToTemp (KMime::Content *c) |
void | search () |
void | setAllNotNew () |
void | setAllRead (bool read=true, int lastcount=-1) |
void | setAllThreadsOpen (bool b=true) |
void | setFolder (KNFolder::Ptr f) |
void | setGroup (KNGroup::Ptr g) |
void | setRead (KNRemoteArticle::List &l, bool r=true, bool handleXPosts=true) |
void | setView (KNHeaderView *v) |
void | showHdrs (bool clear=true) |
bool | toggleIgnored (KNRemoteArticle::List &l) |
bool | toggleWatched (KNRemoteArticle::List &l) |
bool | unloadArticle (KNArticle::Ptr a, bool force=true) |
void | updateListViewItems () |
void | updateStatusString () |
void | updateViewForCollection (KNArticleCollection::Ptr c) |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Public Member Functions inherited from KNJobConsumer | |
KNJobConsumer () | |
virtual | ~KNJobConsumer () |
void | cancelJobs (boost::shared_ptr< KNJobItem > item) |
void | emitJob (KNJobData *j) |
void | jobDone (KNJobData *j) |
bool | jobsPending () const |
Protected Member Functions | |
void | createCompleteThread (KNRemoteArticle::Ptr a) |
void | createThread (KNRemoteArticle::Ptr a) |
void | processJob (KNJobData *j) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Protected Attributes | |
bool | d_isableExpander |
KNArticleFilter * | f_ilter |
KNFilterManager * | f_ilterMgr |
KNFolder::Ptr | f_older |
KNGroup::Ptr | g_roup |
QList< KTemporaryFile * > | mTempFiles |
KNode::SearchDialog * | s_earchDlg |
KNHeaderView * | v_iew |
Protected Attributes inherited from KNJobConsumer | |
QList< KNJobData * > | mJobs |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
Detailed Description
Article manager.
Definition at line 38 of file knarticlemanager.h.
Constructor & Destructor Documentation
KNArticleManager::KNArticleManager | ( | ) |
Definition at line 55 of file knarticlemanager.cpp.
|
virtual |
Definition at line 67 of file knarticlemanager.cpp.
Member Function Documentation
|
signal |
A local folder is about to be shown in the header view.
Connect to the header view to adapt to the upcoming content.
|
signal |
A newsgroup is about to be shown in the header view.
Connect to the header view to adapt to the upcoming content.
KNArticleCollection::Ptr KNArticleManager::collection | ( | ) |
Definition at line 422 of file knarticlemanager.cpp.
void KNArticleManager::copyIntoFolder | ( | KNArticle::List & | l, |
KNFolder::Ptr | f | ||
) |
Definition at line 497 of file knarticlemanager.cpp.
|
protected |
Definition at line 955 of file knarticlemanager.cpp.
|
protected |
Definition at line 938 of file knarticlemanager.cpp.
bool KNArticleManager::deleteArticles | ( | KNLocalArticle::List & | l, |
bool | ask = true |
||
) |
Definition at line 570 of file knarticlemanager.cpp.
void KNArticleManager::deleteTempFiles | ( | ) |
Definition at line 73 of file knarticlemanager.cpp.
|
inline |
Definition at line 62 of file knarticlemanager.h.
bool KNArticleManager::loadArticle | ( | KNArticle::Ptr | a | ) |
Loads the full content of the article a
.
Definition at line 433 of file knarticlemanager.cpp.
void KNArticleManager::moveIntoFolder | ( | KNLocalArticle::List & | l, |
KNFolder::Ptr | f | ||
) |
Definition at line 543 of file knarticlemanager.cpp.
void KNArticleManager::openContent | ( | KMime::Content * | c | ) |
Definition at line 163 of file knarticlemanager.cpp.
|
protectedvirtual |
The actual work is done here.
Reimplemented from KNJobConsumer.
Definition at line 903 of file knarticlemanager.cpp.
void KNArticleManager::rescoreArticles | ( | KNRemoteArticle::List & | l | ) |
Definition at line 873 of file knarticlemanager.cpp.
void KNArticleManager::saveArticleToFile | ( | KNArticle::Ptr | a, |
QWidget * | parent | ||
) |
Definition at line 96 of file knarticlemanager.cpp.
void KNArticleManager::saveContentToFile | ( | KMime::Content * | c, |
QWidget * | parent | ||
) |
Definition at line 82 of file knarticlemanager.cpp.
QString KNArticleManager::saveContentToTemp | ( | KMime::Content * | c | ) |
Definition at line 120 of file knarticlemanager.cpp.
void KNArticleManager::search | ( | ) |
Definition at line 388 of file knarticlemanager.cpp.
void KNArticleManager::setAllNotNew | ( | ) |
mark all articles in the current group as not new
Definition at line 735 of file knarticlemanager.cpp.
void KNArticleManager::setAllRead | ( | bool | read = true , |
int | lastcount = -1 |
||
) |
Definition at line 604 of file knarticlemanager.cpp.
void KNArticleManager::setAllThreadsOpen | ( | bool | b = true | ) |
Definition at line 367 of file knarticlemanager.cpp.
void KNArticleManager::setFolder | ( | KNFolder::Ptr | f | ) |
Definition at line 414 of file knarticlemanager.cpp.
void KNArticleManager::setGroup | ( | KNGroup::Ptr | g | ) |
Definition at line 406 of file knarticlemanager.cpp.
void KNArticleManager::setRead | ( | KNRemoteArticle::List & | l, |
bool | r = true , |
||
bool | handleXPosts = true |
||
) |
Definition at line 650 of file knarticlemanager.cpp.
void KNArticleManager::setView | ( | KNHeaderView * | v | ) |
Allow to delay the setup of UI elements, since the knode part may not be available when the config dialog is called.
Definition at line 1100 of file knarticlemanager.cpp.
void KNArticleManager::showHdrs | ( | bool | clear = true | ) |
Definition at line 181 of file knarticlemanager.cpp.
|
slot |
Definition at line 1038 of file knarticlemanager.cpp.
|
slot |
Definition at line 1052 of file knarticlemanager.cpp.
|
slot |
Definition at line 1045 of file knarticlemanager.cpp.
bool KNArticleManager::toggleIgnored | ( | KNRemoteArticle::List & | l | ) |
Definition at line 807 of file knarticlemanager.cpp.
bool KNArticleManager::toggleWatched | ( | KNRemoteArticle::List & | l | ) |
Definition at line 753 of file knarticlemanager.cpp.
bool KNArticleManager::unloadArticle | ( | KNArticle::Ptr | a, |
bool | force = true |
||
) |
Definition at line 466 of file knarticlemanager.cpp.
void KNArticleManager::updateListViewItems | ( | ) |
Definition at line 343 of file knarticlemanager.cpp.
void KNArticleManager::updateStatusString | ( | ) |
Definition at line 1001 of file knarticlemanager.cpp.
void KNArticleManager::updateViewForCollection | ( | KNArticleCollection::Ptr | c | ) |
Definition at line 336 of file knarticlemanager.cpp.
Member Data Documentation
|
protected |
Definition at line 121 of file knarticlemanager.h.
|
protected |
Definition at line 117 of file knarticlemanager.h.
|
protected |
Definition at line 118 of file knarticlemanager.h.
|
protected |
Definition at line 116 of file knarticlemanager.h.
|
protected |
Definition at line 115 of file knarticlemanager.h.
|
protected |
Definition at line 120 of file knarticlemanager.h.
|
protected |
Definition at line 119 of file knarticlemanager.h.
|
protected |
Definition at line 114 of file knarticlemanager.h.
The documentation for this class was generated from the following files:
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.