knode
knarticlefilter.cpp
Go to the documentation of this file.
26 //=============================================================================================================
45 //=============================================================================================================
49 : i_d(id), c_ount(0), l_oaded(false), e_nabled(true), translateName(true), s_earchFilter(false), apon(articles)
56 : i_d(-1), c_ount(0), l_oaded(false), e_nabled(org.e_nabled), translateName(true), s_earchFilter(org.s_earchFilter), apon(org.apon)
259 for ( KNRemoteArticle::List::Iterator it = orphant_threads.begin(); it != orphant_threads.end(); ++it ) {
265 for ( KNRemoteArticle::List::Iterator it2 = orphant_threads.begin(); it2 != orphant_threads.end(); ++it2 ) {
271 for ( KNRemoteArticle::List::Iterator it2 = same_subjects.begin(); it2 != same_subjects.end(); ++it2 ) {
311 if (i18nc("default filter name",n_ame.toLocal8Bit())!=n_ame.toLocal8Bit().data()) // try to guess if this english or not
327 for (const char **c=defFil;(*c)!=0;c++) // ok, try if it matches any of the standard filter names
336 translateName = false; // and don't try to translate it, so a german user *can* use the original english name
void clear()
boost::shared_ptr< KNLocalArticle > Ptr
Shared pointer to a KNLocalArticle. To be used instead of raw KNLocalArticle*.
Definition: knarticle.h:216
void setTranslatedName(const QString &s)
tries to retranslate the name to english
Definition: knarticlefilter.cpp:324
Definition: knarticlefilter.h:72
bool isNull() const
int count(const T &value) const
void append(const T &value)
static void displayInternalFileError(QWidget *w=0)
use this for all internal files
Definition: utilities.cpp:344
bool isEmpty() const
typedef Iterator
iterator end()
QByteArray toLocal8Bit() const
boost::shared_ptr< KNRemoteArticle > Ptr
Shared pointer to a KNRemoteArticle. To be used instead of raw KNRemoteArticle*.
Definition: knarticle.h:109
char * data()
QString fromLatin1(const char *str, int size)
iterator begin()
bool applyFilter(KNRemoteArticle::Ptr a)
Definition: knarticlefilter.cpp:343
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.