summaryrefslogtreecommitdiffstats
path: root/kmail/templateparser.h
diff options
context:
space:
mode:
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;