knode
knarticlemanager.cpp
Go to the documentation of this file.
124 KMime::Headers::Base *pathHdr=c->headerByType("X-KNode-Tempfile"); // check for existing temp file
131 for ( QList<KTemporaryFile*>::Iterator it = mTempFiles.begin(); it != mTempFiles.end(); ++it ) {
168 KService::Ptr offer = KMimeTypeTrader::self()->preferredService(c->contentType()->mimeType(), "Application");
199 current = boost::static_pointer_cast<KNRemoteArticle>( knGlobals.top->articleViewer()->article() );
480 ( KNGlobals::self()->articleFactory()->findComposer( boost::static_pointer_cast<KNLocalArticle>( a ) ) != 0 ) )
489 KNGlobals::self()->articleFactory()->deleteComposerForArticle( boost::static_pointer_cast<KNLocalArticle>( a ) );
535 knGlobals.memoryManager()->updateCacheEntry( boost::static_pointer_cast<KNArticleCollection>( f ) );
558 knGlobals.memoryManager()->updateCacheEntry( boost::static_pointer_cast<KNArticleCollection>( f ) );
594 knGlobals.memoryManager()->updateCacheEntry( boost::static_pointer_cast<KNArticleCollection>( f ) );
921 "<br />You could try to get it from <a href=\"http://groups.google.com/groups?selm=%1\">groups.google.com</a>.",
void updateViewForCollection(KNArticleCollection::Ptr c)
Definition: knarticlemanager.cpp:336
bool unloadArticle(KNArticle::Ptr a, bool force=true)
Definition: knarticlemanager.cpp:466
QFile * getFile(const QString &dialogTitle)
returns a file open for writing
Definition: utilities.cpp:58
KNComposer * findComposer(KNLocalArticle::Ptr a)
Definition: knarticlefactory.cpp:698
Downloads one specific article from the news server.
Definition: nntpjobs.h:83
boost::shared_ptr< KNLocalArticle > Ptr
Shared pointer to a KNLocalArticle. To be used instead of raw KNLocalArticle*.
Definition: knarticle.h:214
Header view, displays the article listing of the currently selected news group or folder...
Definition: headerview.h:130
Definition: knarticle.h:45
void aboutToShowGroup()
A newsgroup is about to be shown in the header view.
void emitJob(KNJobData *j)
Send the job to the scheduler and append it to the job queue.
Definition: knjobdata.cpp:42
Definition: kngroup.h:50
Definition: knjobdata.h:112
bool loadArticle(KNArticle::Ptr a)
Loads the full content of the article a.
Definition: knarticlemanager.cpp:433
void saveContentToFile(KMime::Content *c, QWidget *parent)
Definition: knarticlemanager.cpp:82
void setAllNotNew()
mark all articles in the current group as not new
Definition: knarticlemanager.cpp:735
void setRead(KNRemoteArticle::List &l, bool r=true, bool handleXPosts=true)
Definition: knarticlemanager.cpp:650
void createCompleteThread(KNRemoteArticle::Ptr a)
Definition: knarticlemanager.cpp:955
void saveArticleToFile(KNArticle::Ptr a, QWidget *parent)
Definition: knarticlemanager.cpp:96
void aboutToShowFolder()
A local folder is about to be shown in the header view.
void copyIntoFolder(KNArticle::List &l, KNFolder::Ptr f)
Definition: knarticlemanager.cpp:497
void slotFilterChanged(KNArticleFilter *f)
Definition: knarticlemanager.cpp:1038
void setView(KNHeaderView *v)
Allow to delay the setup of UI elements, since the knode part may not be available when the config di...
Definition: knarticlemanager.cpp:1100
static void displayTempFileError(QWidget *w=0)
use this for error on temporary files
Definition: utilities.cpp:362
Definition: kscoring.h:315
This class encapsulates an article, that is stored locally in an MBOX-file.
Definition: knarticle.h:210
bool toggleWatched(KNRemoteArticle::List &l)
Definition: knarticlemanager.cpp:753
static void displayExternalFileError(QWidget *w=0)
use this for all external files
Definition: utilities.cpp:350
static void displayInternalFileError(QWidget *w=0)
use this for all internal files
Definition: utilities.cpp:344
bool deleteArticles(KNLocalArticle::List &l, bool ask=true)
Definition: knarticlemanager.cpp:570
Definition: knarticle.h:46
QString saveContentToTemp(KMime::Content *c)
Definition: knarticlemanager.cpp:120
void moveIntoFolder(KNLocalArticle::List &l, KNFolder::Ptr f)
Definition: knarticlemanager.cpp:543
bool canceled() const
Returns true if the job has been canceled by the user.
Definition: knjobdata.h:132
void deleteComposerForArticle(KNLocalArticle::Ptr a)
Definition: knarticlefactory.cpp:688
static bool articleVisible(KNArticle::Ptr article)
check whether the given article is displayed in any instance
Definition: articlewidget.cpp:1096
static bool closeAllWindowsForArticle(KNArticle::Ptr art, bool force=true)
Clise all windows showing the given article.
Definition: knarticlewindow.cpp:48
KNArticleCollection::Ptr collection()
Definition: knarticlemanager.cpp:422
SearchDialog(searchType t=STgroupSearch, QWidget *parent=0)
Create a new article search dialog.
Definition: knsearchdialog.cpp:28
static void articleRemoved(KNArticle::Ptr article)
notify all instances that the given article has been removed
Definition: articlewidget.cpp:1105
void setAllThreadsOpen(bool b=true)
Definition: knarticlemanager.cpp:367
boost::shared_ptr< KNRemoteArticle > Ptr
Shared pointer to a KNRemoteArticle. To be used instead of raw KNRemoteArticle*.
Definition: knarticle.h:107
void setAllRead(bool read=true, int lastcount=-1)
Definition: knarticlemanager.cpp:604
void createThread(KNRemoteArticle::Ptr a)
Definition: knarticlemanager.cpp:938
boost::shared_ptr< KNArticle > Ptr
Shared pointer to a KNArticle. To be used instead of raw KNArticle*.
Definition: knarticle.h:39
bool toggleIgnored(KNRemoteArticle::List &l)
Definition: knarticlemanager.cpp:807
void removeArticles(KNLocalArticle::List &l, bool del=true)
Definition: knfolder.cpp:449
void dialogDone()
static void articleLoadError(KNArticle::Ptr article, const QString &error)
notify all instances about an error during loading the given article
Definition: articlewidget.cpp:1121
void doSearch(KNArticleFilter *)
boost::shared_ptr< KNArticleCollection > Ptr
Shared pointer to a KNArticle.
Definition: knarticlecollection.h:82
void openContent(KMime::Content *c)
Definition: knarticlemanager.cpp:163
KNRemoteArticle represents an article, whos body has to be retrieved from a remote host or from the l...
Definition: knarticle.h:103
void rescoreArticles(KNRemoteArticle::List &l)
Definition: knarticlemanager.cpp:873
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
static void articleChanged(KNArticle::Ptr article)
notify all instances that the given article has changed
Definition: articlewidget.cpp:1113
void slotSearchDialogDone()
Definition: knarticlemanager.cpp:1045
void slotItemExpanded(Q3ListViewItem *p)
Definition: knarticlemanager.cpp:1052
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.