MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / localizedUserAccountType

Function localizedUserAccountType

src/apiuseraccount.cpp:3–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "apiuseraccount.h"
2
3QString localizedUserAccountType(APIUserAccountTypes t)
4{
5 switch (t) {
6 case APIUserAccountTypes::Regular:
7 return QObject::tr("Regular");
8
9 case APIUserAccountTypes::Premium:
10 return QObject::tr("Premium");
11
12 case APIUserAccountTypes::None: // fall-through
13 default:
14 return QObject::tr("None");
15 }
16}
17
18APIUserAccount::APIUserAccount() : m_type(APIUserAccountTypes::None) {}
19

Callers 1

updateNexusDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected