KTnef

mapi.h
Go to the documentation of this file.
1/*
2 mapi.h
3
4 SPDX-FileCopyrightText: 2002 Michael Goffioul <kdeprint@swing.be>
5
6 This file is part of KTNEF, the KDE TNEF support library/program.
7
8 SPDX-License-Identifier: LGPL-2.0-or-later
9 */
10/**
11 * @file
12 * This file is part of the API for handling TNEF data and
13 * provides functions that convert MAPI keycodes to/from tag strings.
14 *
15 * @author Michael Goffioul
16 */
17
18#pragma once
19
20#include <QString>
21namespace KTnef
22{
23/**
24 * Convert a keycode to a @acronym MAPI tag string.
25 * @param key The input code to convert.
26 * @return A QString containing the tag string.
27 */
28[[nodiscard]] QString mapiTagString(int key);
29
30/**
31 * Convert a keycode to a @acronym MAPI named tag string.
32 * @param key The input code to convert.
33 * @param tag An input tag.
34 * @return A QString containing the named tag string.
35 */
36[[nodiscard]] QString mapiNamedTagString(int key, int tag = -1);
37}
QString mapiTagString(int key)
Convert a keycode to a MAPI tag string.
Definition mapi.cpp:190
QString mapiNamedTagString(int key, int tag=-1)
Convert a keycode to a MAPI named tag string.
Definition mapi.cpp:205
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:16:42 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.