KVIrc  4.9.2
DeveloperAPIs
Namespaces | Functions
KviMiscUtils.cpp File Reference
#include "KviMiscUtils.h"
#include <QStringList>

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...