X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fglobal.cpp;h=ce71aeb0fbf26cf47e2e7124d54cd42866f40b86;hp=09aa5902aa63c1637b2be50da6de69ad7d580f73;hb=d1b6499b0b848d4287efae89107576548533502c;hpb=f37791b92e3bf6e78b93036c0669926eeba3347b diff --git a/src/common/global.cpp b/src/common/global.cpp index 09aa5902..ce71aeb0 100644 --- a/src/common/global.cpp +++ b/src/common/global.cpp @@ -64,6 +64,7 @@ void Global::initIconMap() { //! Register our custom types with Qt's Meta Object System. /** This makes them available for QVariant and in signals/slots, among other things. + * */ void Global::registerMetaTypes() { // Complex types @@ -82,13 +83,24 @@ void Global::registerMetaTypes() { qRegisterMetaType("IdentityId"); qRegisterMetaType("BufferId"); qRegisterMetaType("NetworkId"); + qRegisterMetaType("UserId"); qRegisterMetaTypeStreamOperators("IdentityId"); qRegisterMetaTypeStreamOperators("BufferId"); qRegisterMetaTypeStreamOperators("NetworkId"); + qRegisterMetaTypeStreamOperators("UserId"); } +// Static variables + +QString Global::quasselVersion; +QString Global::quasselDate; +uint Global::quasselBuild; +uint Global::clientBuildNeeded; +QString Global::clientVersionNeeded; +uint Global::coreBuildNeeded; +QString Global::coreVersionNeeded; + Global::RunMode Global::runMode; uint Global::defaultPort; -