KVIrc  4.9.2
DeveloperAPIs
Namespaces | Functions
KviMiscUtils.h File Reference

Helper functions. More...

#include "kvi_settings.h"
#include "KviQString.h"

Go to the source code of this file.

Namespaces

 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. More...
 
bool KviMiscUtils::isValidVersionString (const QString &szVersion)
 Checks if the argument string is a valid x.y.z... version string. More...
 

Detailed Description

Helper functions.

Author
Szymon Stefanek