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))
KCOREADDONS_EXPORT unsigned int version()
Returns a numerical version number of KCoreAddons at run-time in the form 0xMMNNPP (MM = major,...

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.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.