summaryrefslogtreecommitdiffstats
path: root/knode/knscoring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knscoring.cpp')
-rw-r--r--knode/knscoring.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/knode/knscoring.cpp b/knode/knscoring.cpp
index cad44fc81..c83cbccde 100644
--- a/knode/knscoring.cpp
+++ b/knode/knscoring.cpp
@@ -12,7 +12,7 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/
-#include <qstring.h>
+#include <tqstring.h>
#include <kwin.h>
#include <kscoringeditor.h>
@@ -43,35 +43,35 @@ void KNScorableArticle::addScore(short s)
_a->setChanged(true);
}
-void KNScorableArticle::changeColor(const QColor& c)
+void KNScorableArticle::changeColor(const TQColor& c)
{
_a->setColor(c);
}
-void KNScorableArticle::displayMessage(const QString& s)
+void KNScorableArticle::displayMessage(const TQString& s)
{
if (!_a->isNew()) return;
if (!notifyC) notifyC = new NotifyCollection();
notifyC->addNote(*this,s);
}
-QString KNScorableArticle::from() const
+TQString KNScorableArticle::from() const
{
return _a->from()->asUnicodeString();
}
-QString KNScorableArticle::subject() const
+TQString KNScorableArticle::subject() const
{
return _a->subject()->asUnicodeString();
}
-QString KNScorableArticle::getHeaderByType(const QString& s) const
+TQString KNScorableArticle::getHeaderByType(const TQString& s) const
{
KMime::Headers::Base *h = _a->getHeaderByType(s.latin1());
if (!h) return "";
- QString t = _a->getHeaderByType(s.latin1())->asUnicodeString();
+ TQString t = _a->getHeaderByType(s.latin1())->asUnicodeString();
Q_ASSERT( !t.isEmpty() );
return t;
}
@@ -105,13 +105,13 @@ KNScoringManager::~KNScoringManager()
}
-QStringList KNScoringManager::getGroups() const
+TQStringList KNScoringManager::getGroups() const
{
KNAccountManager *am = knGlobals.accountManager();
- QStringList res;
- QValueList<KNNntpAccount*>::Iterator it;
+ TQStringList res;
+ TQValueList<KNNntpAccount*>::Iterator it;
for ( it = am->begin(); it != am->end(); ++it ) {
- QStringList groups;
+ TQStringList groups;
knGlobals.groupManager()->getSubscribed( (*it), groups);
res += groups;
}
@@ -120,9 +120,9 @@ QStringList KNScoringManager::getGroups() const
}
-QStringList KNScoringManager::getDefaultHeaders() const
+TQStringList KNScoringManager::getDefaultHeaders() const
{
- QStringList l = KScoringManager::getDefaultHeaders();
+ TQStringList l = KScoringManager::getDefaultHeaders();
l << "Lines";
l << "References";
return l;