Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F37526819
mimetreeparserplugin.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
686 B
Subscribers
None
mimetreeparserplugin.cpp
View Options
// SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
// SPDX-License-Identifier: LGPL-2.0-or-later
#include
"mimetreeparserplugin.h"
#include
<MimeTreeParserCore/MessageParser>
#include
<MimeTreeParserCore/PartModel>
#include
<QQmlEngine>
void
MimeTreeParserPlugin
::
registerTypes
(
const
char
*
uri
)
{
Q_ASSERT
(
uri
==
QByteArray
(
"org.kde.pim.mimetreeparser"
));
qmlRegisterModule
(
uri
,
1
,
0
);
qmlRegisterType
<
MessageParser
>
(
uri
,
1
,
0
,
"MessageParser"
);
qmlRegisterUncreatableType
<
PartModel
>
(
uri
,
1
,
0
,
"PartModel"
,
QStringLiteral
(
"not instanciated"
));
}
void
MimeTreeParserPlugin
::
initializeEngine
(
QQmlEngine
*
engine
,
const
char
*
uri
)
{
Q_UNUSED
(
uri
);
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Mar 13, 8:36 AM (1 d, 20 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
92/47/dabbe86e9bcc45e791319bd097ff
Attached To
rMTP MIME Tree Parser
Event Timeline
Log In to Comment