8#include "defaulttemplates.h"
10#include <KLocalizedString>
12using namespace TemplateParser;
14QString DefaultTemplates::defaultNewMessage()
19QString DefaultTemplates::defaultReply()
21 return QStringLiteral(
"%REM=\"") +
i18n(
"Default reply template") + QStringLiteral(
"\"%-\n")
23 "Default reply template."
24 "%1: date of original message, %2: time of original message, "
25 "%3: quoted text of original message, %4: cursor Position",
26 "On %1 %2 you wrote:\n"
29 QStringLiteral(
"%ODATE"),
30 QStringLiteral(
"%OTIMELONG"),
31 QStringLiteral(
"%QUOTE"),
32 QStringLiteral(
"%CURSOR"));
35QString DefaultTemplates::defaultReplyAll()
37 return QStringLiteral(
"%REM=\"") +
i18n(
"Default reply all template") + QStringLiteral(
"\"%-\n")
39 "Default reply all template: %1: date, %2: time, %3: name of original sender, "
40 "%4: quoted text of original message, %5: cursor position",
41 "On %1 %2 %3 wrote:\n"
44 QStringLiteral(
"%ODATE"),
45 QStringLiteral(
"%OTIMELONG"),
46 QStringLiteral(
"%OFROMNAME"),
47 QStringLiteral(
"%QUOTE"),
48 QStringLiteral(
"%CURSOR"));
51QString DefaultTemplates::defaultForward()
53 return QStringLiteral(
"%REM=\"") +
i18n(
"Default forward template") + QStringLiteral(
"\"%-\n")
55 "Default forward template: %1: subject of original message, "
56 "%2: date of original message, "
57 "%3: time of original message, "
58 "%4: mail address of original sender, "
59 "%5: original message text",
61 "---------- Forwarded Message ----------\n"
69 "-----------------------------------------",
70 QStringLiteral(
"%OFULLSUBJECT"),
71 QStringLiteral(
"%ODATE"),
72 QStringLiteral(
"%OTIMELONG"),
73 QStringLiteral(
"%OFROMADDR"),
74 QStringLiteral(
"%TEXT"));
77QString DefaultTemplates::defaultQuoteString()
79 return QStringLiteral(
"> ");
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.