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

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 19 of file kcoreaddons.cpp.

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 14 of file kcoreaddons.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Dec 5 2020 23:02:18 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.