summaryrefslogtreecommitdiff
path: root/Decoder/decodedtext.h
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:28 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:28 +0200
commit69344560ea394c06ca94acac46a2e4c3e8b7b229 (patch)
treeebc98370a697a9bbd6b973a14fa5113c475c6db7 /Decoder/decodedtext.h
parent3e9d10a67671d0bd5c7b8c3ca8088f1818322eff (diff)
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
Update upstream source from tag 'upstream/3.2.0_rc1+dfsg'
Update to upstream version '3.2.0~rc1+dfsg' with Debian dir dbff457fd2c3616d5c77b863c7bfb2186ed86047
Diffstat (limited to 'Decoder/decodedtext.h')
-rw-r--r--Decoder/decodedtext.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Decoder/decodedtext.h b/Decoder/decodedtext.h
index 1e6706b5..d911c53a 100644
--- a/Decoder/decodedtext.h
+++ b/Decoder/decodedtext.h
@@ -11,7 +11,15 @@
#include <QString>
+struct DecodedMessageFields
+{
+ QString destination;
+ QString sender;
+ QString grid;
+ bool cq {};
+};
+DecodedMessageFields parseDecodedMessage (QString message);
/*
012345678901234567890123456789012345678901
@@ -33,6 +41,7 @@ public:
QString string() const { return string_; };
QString clean_string() const { return clean_string_; };
+ QString message() const { return message_; };
QStringList messageWords () const;
int indexOf(QString s) const { return string_.indexOf(s); };
int indexOf(QString s, int i) const { return string_.indexOf(s,i); };