summaryrefslogtreecommitdiffstats
path: root/akregator/src/articlefilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/articlefilter.cpp')
-rw-r--r--akregator/src/articlefilter.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/akregator/src/articlefilter.cpp b/akregator/src/articlefilter.cpp
index 20ebc5af..a8bf8a36 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);