summaryrefslogtreecommitdiffstats
path: root/libkdepim/kscoring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kscoring.cpp')
-rw-r--r--libkdepim/kscoring.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdepim/kscoring.cpp b/libkdepim/kscoring.cpp
index 17dd1d43..c9d1f614 100644
--- a/libkdepim/kscoring.cpp
+++ b/libkdepim/kscoring.cpp
@@ -47,19 +47,19 @@ static TQString toXml(const TQString& str)
uint i = 0;
while ( i < len ) {
if (tmp[(int)i] == '<') {
- tmp.replace(i, 1, "&lt;");
+ tmp.tqreplace(i, 1, "&lt;");
len += 3;
i += 4;
} else if (tmp[(int)i] == '"') {
- tmp.replace(i, 1, "&quot;");
+ tmp.tqreplace(i, 1, "&quot;");
len += 5;
i += 6;
} else if (tmp[(int)i] == '&') {
- tmp.replace(i, 1, "&amp;");
+ tmp.tqreplace(i, 1, "&amp;");
len += 4;
i += 5;
} else if (tmp[(int)i] == '>') {
- tmp.replace(i, 1, "&gt;");
+ tmp.tqreplace(i, 1, "&gt;");
len += 3;
i += 4;
} else {
@@ -91,7 +91,7 @@ NotifyDialog::NotifyDialog(TQWidget* p)
void NotifyDialog::slotShowAgainToggled(bool flag)
{
- dict.replace(msg,!flag);
+ dict.tqreplace(msg,!flag);
kdDebug(5100) << "note \"" << note << "\" will popup again: " << flag << endl;
}
@@ -109,7 +109,7 @@ void NotifyDialog::display(ScorableArticle& a, const TQString& s)
arg(a.subject()).
arg(s);
me->note->setText(msg);
- if ( i == dict.end() ) i = dict.replace(s,false);
+ if ( i == dict.end() ) i = dict.tqreplace(s,false);
me->adjustSize();
me->exec();
}
@@ -773,7 +773,7 @@ TQString KScoringRule::getExpireDateString() const
bool KScoringRule::isExpired() const
{
- return (expires.isValid() && (expires < TQDate::currentDate()));
+ return (expires.isValid() && (expires < TQDate::tqcurrentDate()));
}
@@ -925,7 +925,7 @@ KScoringRule* KScoringManager::addRule(const ScorableArticle& a, TQString group,
new KScoringExpression("From","CONTAINS",
a.from(),"0"));
if (score) rule->addAction(new ActionSetScore(score));
- rule->setExpireDate(TQDate::currentDate().addDays(30));
+ rule->setExpireDate(TQDate::tqcurrentDate().addDays(30));
addRule(rule);
KScoringEditor *edit = KScoringEditor::createEditor(this);
edit->setRule(rule);