summaryrefslogtreecommitdiffstats
path: root/libtdepim/kscoring.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /libtdepim/kscoring.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libtdepim/kscoring.cpp')
-rw-r--r--libtdepim/kscoring.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libtdepim/kscoring.cpp b/libtdepim/kscoring.cpp
index cf02d88f4..bc8c4a088 100644
--- a/libtdepim/kscoring.cpp
+++ b/libtdepim/kscoring.cpp
@@ -24,10 +24,10 @@
#include <tqfile.h>
#include <tqdom.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqcheckbox.h>
-#include <tqtextview.h>
+#include <textview.h>
#include <klocale.h>
#include <kstandarddirs.h>
@@ -773,7 +773,7 @@ TQString KScoringRule::getExpireDateString() const
bool KScoringRule::isExpired() const
{
- return (expires.isValid() && (expires < TQDate::tqcurrentDate()));
+ return (expires.isValid() && (expires < TQDate::currentDate()));
}
@@ -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::tqcurrentDate().addDays(30));
+ rule->setExpireDate(TQDate::currentDate().addDays(30));
addRule(rule);
KScoringEditor *edit = KScoringEditor::createEditor(this);
edit->setRule(rule);
@@ -1137,7 +1137,7 @@ TQString KScoringManager::findUniqueName() const
while (nr < 99999999) {
nr++;
- ret = i18n("rule %1").tqarg(nr);
+ ret = i18n("rule %1").arg(nr);
duplicated=false;
TQPtrListIterator<KScoringRule> it(allRules);