umbrello 26.03.70-1a62d36
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
version.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2025 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef UMBRELLO_VERSION_H
7#define UMBRELLO_VERSION_H
8
9inline QByteArray umbrelloVersion()
10{
11#ifdef UMBRELLO_VERSION_STRING
12 QString versionStr = QString::fromLatin1(UMBRELLO_VERSION_STRING);
13#else
14 QString versionStr = QString::fromLatin1("%1.%2.%3")
15 .arg(KDE::versionMajor())
16 .arg(KDE::versionMinor())
17 .arg(KDE::versionRelease());
18#endif
19#if defined(ENABLE_WIDGET_SHOW_DOC) || defined(ENABLE_XMIRESOLUTION)
20 versionStr.append(QStringLiteral(" (experimental)"));
21#endif
22 return versionStr.toLatin1();
23}
24
25// Update this version and dtd's in doc/xml when changing the XMI file format
26#define XMI1_FILE_VERSION "1.7.6"
27#define XMI2_FILE_VERSION "2.0.4"
28
29#endif
QByteArray umbrelloVersion()
Definition: version.h:9