summaryrefslogtreecommitdiffstats
path: root/kmail/templateparser.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 /kmail/templateparser.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 'kmail/templateparser.h')
-rw-r--r--kmail/templateparser.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kmail/templateparser.h b/kmail/templateparser.h
index 48bdbf578..679cbd00f 100644
--- a/kmail/templateparser.h
+++ b/kmail/templateparser.h
@@ -32,11 +32,11 @@ class KProcess;
/**
* The TemplateParser transforms a message with a given template.
*
- * A template tqcontains text and commands, such as %QUOTE or %ODATE, which will be
- * tqreplaced with the real values in process().
+ * A template contains text and commands, such as %TQUOTE or %ODATE, which will be
+ * replaced with the real values in process().
*
* The message given in the constructor is the message that is being transformed.
- * The message text will be tqreplaced by the processed text of the template, but other
+ * The message text will be replaced by the processed text of the template, but other
* properties, such as the attachments or the subject, are preserved.
*
* There are two different kind of commands: Those that work on the message that is
@@ -54,6 +54,7 @@ class KProcess;
class TemplateParser : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
enum Mode {
@@ -71,7 +72,7 @@ class TemplateParser : public TQObject
/**
* Sets the selection. If this is set, only the selection will be added to commands such
- * as %QUOTE. Otherwise, the whole message is quoted.
+ * as %TQUOTE. Otherwise, the whole message is quoted.
* If this is not called at all, the whole message is quoted as well.
* Call this before calling process().
*/
@@ -79,7 +80,7 @@ class TemplateParser : public TQObject
/**
* Sets whether the template parser is allowed to decrypt the original message when needing
- * its message text, for example for the %QUOTE command.
+ * its message text, for example for the %TQUOTE command.
* If true, it will tell the ObjectTreeParser it uses internally to decrypt the message,
* and that will possibly show a password request dialog to the user.
*
@@ -147,14 +148,14 @@ class TemplateParser : public TQObject
*
* In append mode, this will simply append the text to the body.
*
- * Otherwise, the content of the old message is deleted and tqreplaced with @p body.
+ * Otherwise, the content of the old message is deleted and replaced with @p body.
* Attachments of the original message are also added back to the new message.
*/
void addProcessedBodyToMessage( const TQString &body );
/**
* Determines whether the signature should be stripped when getting the text of the original
- * message, e.g. for commands such as %QUOTE
+ * message, e.g. for commands such as %TQUOTE
*/
bool shouldStripSignature() const;