diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-13 15:08:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-13 15:08:46 -0600 |
commit | d497b1b0373d758ede3d877ab68c8d7c8ab29062 (patch) | |
tree | 00ebfc47087a5fd82949fc1abf08dd7e03c1c631 /akregator/src/articlefilter.cpp | |
parent | 639f34ef2efdec6ff0d1f47d919ca070d027fb80 (diff) | |
download | tdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.tar.gz tdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.zip |
Fix inadvertent TQt changes
This closes Bug 752
Diffstat (limited to 'akregator/src/articlefilter.cpp')
-rw-r--r-- | akregator/src/articlefilter.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/akregator/src/articlefilter.cpp b/akregator/src/articlefilter.cpp index 20ebc5afc..a8bf8a365 100644 --- a/akregator/src/articlefilter.cpp +++ b/akregator/src/articlefilter.cpp @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSETQUENTIAL DAMAGES (INCLUDING, BUT + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT @@ -442,41 +442,41 @@ void DeleteAction::exec(Article& article) article.setDeleted(); } -SeStatusAction::SeStatusAction(int status) : m_status(status) +SetStatusAction::SetStatusAction(int status) : m_status(status) { } -void SeStatusAction::exec(Article& article) +void SetStatusAction::exec(Article& article) { if (!article.isNull()) article.setStatus(m_status); } -int SeStatusAction::status() const +int SetStatusAction::status() const { return m_status; } -void SeStatusAction::setStatus(int status) +void SetStatusAction::setStatus(int status) { m_status = status; } -void SeStatusAction::writeConfig(KConfig* config) const +void SetStatusAction::writeConfig(KConfig* config) const { - config->writeEntry(TQString::fromLatin1("actionType"), TQString::fromLatin1("SeStatusAction")); + config->writeEntry(TQString::fromLatin1("actionType"), TQString::fromLatin1("SetStatusAction")); config->writeEntry(TQString::fromLatin1("actionParams"), m_status); } -void SeStatusAction::readConfig(KConfig* config) +void SetStatusAction::readConfig(KConfig* config) { m_status = config->readNumEntry(TQString::fromLatin1("actionParams"), Article::Read); } -bool SeStatusAction::operator==(const AbstractAction& other) +bool SetStatusAction::operator==(const AbstractAction& other) { AbstractAction* ptr = const_cast<AbstractAction*>(&other); - SeStatusAction* o = dynamic_cast<SeStatusAction*>(ptr); + SetStatusAction* o = dynamic_cast<SetStatusAction*>(ptr); if (!o) return false; else @@ -681,8 +681,8 @@ void ArticleFilter::readConfig(KConfig* config) d->action = new AssignTagAction(); else if (actionType == TQString::fromLatin1("DeleteAction")) d->action = new DeleteAction(); - else if (actionType == TQString::fromLatin1("SeStatusAction")) - d->action = new SeStatusAction(); + else if (actionType == TQString::fromLatin1("SetStatusAction")) + d->action = new SetStatusAction(); if (d->action) d->action->readConfig(config); |