KCoreAddons

KCoreAddons Namespace Reference

Functions

KCOREADDONS_EXPORT unsigned int version ()
 
KCOREADDONS_EXPORT QString versionString ()
 

Detailed Description

Provides utility functions for metadata about the KCoreAddons library.

Function Documentation

◆ version()

uint KCoreAddons::version ( )

Returns a numerical version number of KCoreAddons at run-time in the form 0xMMNNPP (MM = major, NN = minor, PP = patch) This can be compared using the macro QT_VERSION_CHECK.

For example:

if (KCoreAddons::version() < QT_VERSION_CHECK(5,19,0))

This may be a different version than the version the application was compiled against.

Since
5.20

Definition at line 18 of file kcoreaddons.cpp.

◆ versionString()

QString KCoreAddons::versionString ( )

Returns the version number of KCoreAddons at run-time as a string (for example, "5.19.0").

This may be a different version than the version the application was compiled against.

Since
5.20

Definition at line 13 of file kcoreaddons.cpp.

KCOREADDONS_EXPORT unsigned int version()
Returns a numerical version number of KCoreAddons at run-time in the form 0xMMNNPP (MM = major,...
Definition: kcoreaddons.cpp:18
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:20:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.