![]() |
KVIrc 5.2.0
Developer APIs
|
Helper functions. More...
#include "kvi_settings.h"
Go to the source code of this file.
Namespaces | |
namespace | KviMiscUtils |
A namespace for helper functions. | |
Functions | |
int | KviMiscUtils::compareVersions (const QString &szVersion1, const QString &szVersion2) |
Compares two x.y.z... version strings The function behaves like strcmp: it returns 0 when the versions are equal, -1 if the szVersion1 is greater and 1 if szVersion2 is greater. | |
bool | KviMiscUtils::isValidVersionString (const QString &szVersion) |
Checks if the argument string is a valid x.y.z... version string. | |
Helper functions.