diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /akregator/src/articlefilter.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'akregator/src/articlefilter.cpp')
-rw-r--r-- | akregator/src/articlefilter.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/akregator/src/articlefilter.cpp b/akregator/src/articlefilter.cpp index 080d61e7d..27ecd64e8 100644 --- a/akregator/src/articlefilter.cpp +++ b/akregator/src/articlefilter.cpp @@ -122,7 +122,7 @@ Criterion::Criterion( Subject subject, Predicate predicate, const TQVariant &obj } -void Criterion::writeConfig(KConfig* config) const +void Criterion::writeConfig(TDEConfig* config) const { config->writeEntry(TQString::fromLatin1("subject"), subjectToString(m_subject)); @@ -133,7 +133,7 @@ void Criterion::writeConfig(KConfig* config) const config->writeEntry(TQString::fromLatin1("objectValue"), m_object); } -void Criterion::readConfig(KConfig* config) +void Criterion::readConfig(TDEConfig* config) { m_subject = stringToSubject(config->readEntry(TQString::fromLatin1("subject"))); m_predicate = stringToPredicate(config->readEntry(TQString::fromLatin1("predicate"))); @@ -267,7 +267,7 @@ bool ArticleMatcher::matches( const Article &a ) const return true; } -void ArticleMatcher::writeConfig(KConfig* config) const +void ArticleMatcher::writeConfig(TDEConfig* config) const { config->writeEntry(TQString::fromLatin1("matcherAssociation"), associationToString(m_association)); @@ -283,7 +283,7 @@ void ArticleMatcher::writeConfig(KConfig* config) const } } -void ArticleMatcher::readConfig(KConfig* config) +void ArticleMatcher::readConfig(TDEConfig* config) { m_criteria.clear(); m_association = stringToAssociation(config->readEntry(TQString::fromLatin1("matcherAssociation"))); @@ -406,13 +406,13 @@ TagMatcher::TagMatcher(const TagMatcher& other) : AbstractMatcher(other), d(0) *this = other; } -void TagMatcher::writeConfig(KConfig* config) const +void TagMatcher::writeConfig(TDEConfig* config) const { config->writeEntry(TQString::fromLatin1("matcherType"), TQString::fromLatin1("TagMatcher")); config->writeEntry(TQString::fromLatin1("matcherParams"), d->tagID); } -void TagMatcher::readConfig(KConfig* config) +void TagMatcher::readConfig(TDEConfig* config) { d->tagID = config->readEntry(TQString::fromLatin1("matcherParams")); } @@ -462,13 +462,13 @@ void SetStatusAction::setStatus(int status) m_status = status; } -void SetStatusAction::writeConfig(KConfig* config) const +void SetStatusAction::writeConfig(TDEConfig* config) const { config->writeEntry(TQString::fromLatin1("actionType"), TQString::fromLatin1("SetStatusAction")); config->writeEntry(TQString::fromLatin1("actionParams"), m_status); } -void SetStatusAction::readConfig(KConfig* config) +void SetStatusAction::readConfig(TDEConfig* config) { m_status = config->readNumEntry(TQString::fromLatin1("actionParams"), Article::Read); } @@ -579,7 +579,7 @@ bool ArticleFilter::operator==(const ArticleFilter& other) const return *(d->matcher) == *(other.d->matcher) && *(d->action) == *(other.d->action) && d->name == other.d->name; } -void ArticleFilterList::writeConfig(KConfig* config) const +void ArticleFilterList::writeConfig(TDEConfig* config) const { config->setGroup(TQString::fromLatin1("Filters")); config->writeEntry(TQString::fromLatin1("count"), count()); @@ -592,7 +592,7 @@ void ArticleFilterList::writeConfig(KConfig* config) const } } -void ArticleFilterList::readConfig(KConfig* config) +void ArticleFilterList::readConfig(TDEConfig* config) { clear(); config->setGroup(TQString::fromLatin1("Filters")); @@ -607,12 +607,12 @@ void ArticleFilterList::readConfig(KConfig* config) } -void AssignTagAction::readConfig(KConfig* config) +void AssignTagAction::readConfig(TDEConfig* config) { m_tagID = config->readEntry(TQString::fromLatin1("actionParams")); } -void AssignTagAction::writeConfig(KConfig* config) const +void AssignTagAction::writeConfig(TDEConfig* config) const { config->writeEntry(TQString::fromLatin1("actionType"), TQString::fromLatin1("AssignTagAction")); config->writeEntry(TQString::fromLatin1("actionParams"), m_tagID); @@ -638,11 +638,11 @@ void AssignTagAction::setTagID(const TQString& tagID) m_tagID = tagID; } -void DeleteAction::readConfig(KConfig* /*config*/) +void DeleteAction::readConfig(TDEConfig* /*config*/) { } -void DeleteAction::writeConfig(KConfig* config) const +void DeleteAction::writeConfig(TDEConfig* config) const { config->writeEntry(TQString::fromLatin1("actionType"), TQString::fromLatin1("DeleteAction")); } @@ -654,7 +654,7 @@ bool DeleteAction::operator==(const AbstractAction& other) return o != 0; } -void ArticleFilter::readConfig(KConfig* config) +void ArticleFilter::readConfig(TDEConfig* config) { delete d->matcher; d->matcher = 0; @@ -688,7 +688,7 @@ void ArticleFilter::readConfig(KConfig* config) d->action->readConfig(config); } -void ArticleFilter::writeConfig(KConfig* config) const +void ArticleFilter::writeConfig(TDEConfig* config) const { config->writeEntry(TQString::fromLatin1("name"), d->name); config->writeEntry(TQString::fromLatin1("id"), d->id); |