summaryrefslogtreecommitdiffstats
path: root/libkdepim/kscoring.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkdepim/kscoring.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/kscoring.h')
-rw-r--r--libkdepim/kscoring.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libkdepim/kscoring.h b/libkdepim/kscoring.h
index 9623c2285..766591ed1 100644
--- a/libkdepim/kscoring.h
+++ b/libkdepim/kscoring.h
@@ -186,7 +186,7 @@ class KDE_EXPORT KScoringExpression
{
friend class KScoringRule;
public:
- enum Condition { CONTAINS, MATCH, EQUALS, SMALLER, GREATER, MATCHCS };
+ enum Condition { CONTAINS, MATCH, ETQUALS, SMALLER, GREATER, MATCHCS };
KScoringExpression(const TQString&,const TQString&,const TQString&, const TQString&);
~KScoringExpression();
@@ -300,15 +300,16 @@ private:
//----------------------------------------------------------------------------
// Manages the score rules.
-class KDE_EXPORT KScoringManager : public QObject
+class KDE_EXPORT KScoringManager : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
//* this is the container for all rules
typedef TQPtrList<KScoringRule> ScoringRuleList;
- KScoringManager(const TQString& appName = TQString::null);
+ KScoringManager(const TQString& appName = TQString());
virtual ~KScoringManager();
//* returns a list of all available groups, must be overridden
@@ -409,6 +410,7 @@ class KDE_EXPORT KScoringManager : public QObject
class KDE_EXPORT NotifyDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
static void display(ScorableArticle&,const TQString&);
protected slots: