X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fglobal.cpp;h=ce71aeb0fbf26cf47e2e7124d54cd42866f40b86;hb=ca0390418a6ca30eae315aa84db7811b692e76db;hp=09aa5902aa63c1637b2be50da6de69ad7d580f73;hpb=b797e5f581b10a517c30f78cb53f813af741e261;p=quassel.git 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; -