Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
Utils Namespace Reference

Classes

struct  FilterOptions
 
struct  FirmnessOptions
 Contains the Re-usability search filters. More...
 
struct  HierarchyOptions
 Contains the search settings for hierarchy. More...
 
struct  ImplementationOptions
 Contains firmness search settings. More...
 
struct  RevisionOptions
 
struct  TypeOptions
 Contains the search options for document types. More...
 
struct  ValidityOptions
 

Functions

KACTUS2_API QString getCurrentUser ()
 
const QRegularExpression URL_VALIDITY_REG_EXP ("^[a-z]{3,9}[:][/]{2}[a-z0-9]+([-.][a-z0-9]+)*([/][-a-z0-9_.;,?=&%#~+]*)*$", QRegularExpression::CaseInsensitiveOption)
 Regular expression to validate URLs.
 

Function Documentation

◆ getCurrentUser()

KACTUS2_API QString Utils::getCurrentUser ( )

Retrieves and returns the name of the current user.

◆ URL_VALIDITY_REG_EXP()

const QRegularExpression Utils::URL_VALIDITY_REG_EXP ( "^{3,9}{2}+([-.][a-z0-9]+)*([/][-a-z0-9_.;,?=&%#~+]*)*$" [a-z][:][/][a-z0-9],
QRegularExpression::CaseInsensitiveOption  )
inline

Regular expression to validate URLs.