Extending Qt Creator Manual | Utils Namespace

Extending Qt Creator Manual 4.11.0

# Utils Namespace

Header: | #include <Utils>

## Namespaces

namespace | CodeModelIcon
namespace | FadingIndicator
namespace | Icons
namespace | Internal
namespace | Memory
namespace | OsSpecificAspects
namespace | Ui

## Classes

class | BasicSmallString
class | BasicSmallStringLiteral
class | BasicSmallStringVector
class | ElfProgramHeader
class | ElfSectionHeader
class | EventCode
class | ExecuteOnDestruction
class | LineColumn
class | Link
class | ScopedSwap
class | SizedArray
class | SmallStringView
class | TreeModel
class | TypedTreeItem
class | View
class | functionTakesArgument
class | functionTraits

## Types

enum | ActivationMode { DoubleClickActivation, SingleClickActivation, PlatformDefaultActivation }
enum | ApplyMode { ImmediateApply, DeferedApply }
enum | DebugSymbolsType { UnknownSymbols, NoSymbols, LinkedSymbols, BuildIdSymbols, PlainSymbols, FastSymbols }
enum | ElfClass { Elf_ELFCLASS32, Elf_ELFCLASS64 }
enum | ElfEndian { Elf_ELFDATANONE, Elf_ELFDATA2LSB, Elf_ELFDATA2MSB, Elf_ELFDATANUM }
enum | ElfMachine { Elf_EM_386, Elf_EM_ARM, Elf_EM_X86_64 }
enum | ElfProgramHeaderType { Elf_PT_NULL, Elf_PT_LOAD, Elf_PT_DYNAMIC, Elf_PT_INTERP, ..., Elf_PT_NUM }
enum | ElfSectionHeaderType { Elf_SHT_NULL, Elf_SHT_PROGBITS, Elf_SHT_SYMTAB, Elf_SHT_STRTAB, ..., Elf_SHT_SYMTAB_SHNDX }
enum | ElfType { Elf_ET_NONE, Elf_ET_REL, Elf_ET_EXEC, Elf_ET_DYN, Elf_ET_CORE }
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
typedef | EnvironmentItem
enum | FileDeletedPromptAnswer { FileDeletedClose, FileDeletedCloseAll, FileDeletedSaveAs, FileDeletedSave }
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
typedef | FilePathList
enum | HighlightingItemRole { LineNumber, StartColumn, Length, Foreground, Background, User }
enum | Language { None, C, Cxx }
enum | LanguageExtension { None, Gnu, Microsoft, Borland, ..., All }
enum | LanguageVersion { None, C89, C99, C11, ..., LatestCxx }
enum | MapReduceOption { Ordered, Unordered }
enum | MimeMatchMode { MatchDefault, MatchExtension, MatchContent }
enum | MimeStartupPhase { BeforeInitialize, PluginsLoading, PluginsInitializing, PluginsDelayedInitializing, UpAndRunning }
typedef | NameValuePair
typedef | NameValuePair
typedef | NameValuePair
typedef | NameValuePair
typedef | NameValuePair
typedef | NameValuePair
typedef | NameValuePair
typedef | NameValuePair
typedef | NameValuePair
typedef | OptionalLineColumn
typedef | OptionalLineColumn
typedef | OptionalLineColumn
typedef | OptionalLineColumn
enum | OsType { OsTypeWindows, OsTypeLinux, OsTypeMac, OsTypeOtherUnix, OsTypeOther }
enum | OutputFormat { NormalMessageFormat, ErrorMessageFormat, LogMessageFormat, DebugFormat, ..., NumberOfFormats }
typedef | PathString
typedef | PathString
typedef | PathStringVector
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
typedef | PreprocessorMacroItem
enum | ProgressIndicatorSize { Small, Medium, Large }
enum | QtVersion { Unknown, None, Qt4, Qt5 }
enum | ReloadPromptAnswer { ReloadCurrent, ReloadAll, ReloadSkipCurrent, ReloadNone, ReloadNoneAndDiff, CloseCurrent }
typedef | ScopedBoolSwap
typedef | SmallString
typedef | SmallStringLiteral
typedef | SmallStringVector
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StackSizeInBytes
typedef | StringViewVector
enum | WinDLLVersionType { WinDLLFileVersion, WinDLLProductVersion }

## Functions

int | Q_DECLARE_FLAGS(int, Utils::LanguageExtension)
Utils::Q_DECL_IMPORT | addMimeTypes(const int &id, const int &data)
Utils::Q_DECL_IMPORT | addMimeTypes(const QString &id, const int &data)
Utils::Q_DECL_IMPORT | addMimeTypes(const QString &id, const QByteArray &data)
Utils::Q_DECL_IMPORT | allMimeTypes()
bool | allOf(const T &container, F predicate)
bool | allOf(const T &container, R (S::*)() const predicate)
bool | allOf(const T &container, R S::*member)
bool | allOf(const C &container, PointerType<C> p)
int | allOf(const C &container, int)
bool | anyOf(const T &container, F predicate)
bool | anyOf(const T &container, R (S::*)() const predicate)
bool | anyOf(const T &container, R S::*member)
bool | anyOf(const C &container, PointerType<C> p)
bool | anyOf(const C &container, int)
int | caseFriendlyCompare(const int &, const int &)
Utils::Q_DECL_IMPORT | caseFriendlyCompare(const class QString &a, const class QString &b)
T * | checkEventType(int *ev)
int | compare(Utils::SmallStringView first, Utils::SmallStringView second)
bool | contains(const T &container, F function)
bool | contains(const T &container, R (S::*)() const function)
bool | contains(const C &container, R S::*member)
bool | contains(const C &container, PointerType<C> p)
bool | contains(const C &container, int)
int | count(const T &container, F predicate)
int | count(const C &container, PointerType<C> p)
int | count(const C &container, int)
decltype(auto) | equal(R (S::*)() const function, T value)
decltype(auto) | equal(R S::*member, T value)
auto | equalTo(Type &&value)
void | erase(T &container, F predicate)
void | erase(C &container, PointerType<C> p)
int | erase(const C &container, int)
int | filtered(const int &, int)
int | filtered(const int &, int () const)
int | filteredUnique(const int &)
int | findOr(const C &, typename C::value_type, F)
int | findOr(const T &, typename T::value_type, R (S::*)() const)
int | findOr(const T &, typename T::value_type, R S::*)
int | findOr(const int &, int, int)
int | findOr(const int &, int, int () const)
int | findOrDefault(const int &, int)
int | findOrDefault(const int &, int () const)
void | fromSettings(const int &postFix, const int &category, const QSettings *s, SettingsClassT *obj)
auto | greaterEqualThan(Type &&value)
auto | greaterThan(Type &&value)
int | indexOf(const C &, F)
int | indexOf(const C &, PointerType<C>)
int | indexOf(const C &, int)
Utils::Q_DECL_IMPORT | is64BitWindowsBinary(const int &binary)
Utils::Q_DECL_IMPORT | is64BitWindowsBinary(const class QString &binary)
Utils::Q_DECL_IMPORT | is64BitWindowsSystem()
auto | lessEqualThan(Type &&value)
auto | lessThan(Type &&value)
Utils::Q_DECL_IMPORT | magicRulesForMimeType(const Utils::MimeType &mimeType)
Utils::Q_DECL_IMPORT | magicRulesForMimeType(const int &mimeType)
T | makeUniquelyNumbered(const T &preferred, const Container &reserved)
int | map(ForwardIterator, ForwardIterator, MapFunction &&, Utils::MapReduceOption, int *, int, int)
int | map(Container &&, MapFunction &&, Utils::MapReduceOption, int *, int)
int | mapReduce(ForwardIterator, ForwardIterator, InitFunction &&, MapFunction &&, ReduceFunction &&, CleanUpFunction &&, Utils::MapReduceOption, int *, int, int)
int | mapReduce(Container &&, InitFunction &&, MapFunction &&, ReduceFunction &&, CleanUpFunction &&, Utils::MapReduceOption, int *, int)
int | mapReduce(ForwardIterator, ForwardIterator, MapFunction &&, State &&, ReduceFunction &&, Utils::MapReduceOption, int *, int, int)
int | mapReduce(Container &&, MapFunction &&, State &&, ReduceFunction &&, Utils::MapReduceOption, int *, int)
int | mapped(int, int, int &&, Utils::MapReduceOption, int *, int, int)
int | mapped(int &&, int &&, Utils::MapReduceOption, int *, int)
int | mappedReduced(int, int, int &&, int &&, int &&, Utils::MapReduceOption, int *, int, int)
int | mappedReduced(int &&, int &&, int &&, int &&, Utils::MapReduceOption, int *, int)
typename T::value_type | maxElementOr(const T &container, typename T::value_type other)
Utils::Q_DECL_IMPORT | mimeTypesForFileName(const QString &fileName)
Utils::Q_DECL_IMPORT | originalVersionFromMap(const int &data)
Utils::Q_DECL_IMPORT | parseUsedPortFromNetstatOutput(const int &line)
class Q_DECL_IMPORT | parseUsedPortFromNetstatOutput(const QByteArray &line)
int | partition(const int &, int () const)
uint | qHash(const Utils::FilePath &a, uint seed = 0)
uint | qHash(const int &mime)
int | qHash(const int &, int)
uint | qHash(const int &a, uint seed = 0)
int | qHash(const Utils::MimeType &)
int | qHash(const Utils::FilePath &, int)
Container<T> | qobject_container_cast(const Container<Base> &container)
int | readMultiLineString(const QJsonValue &, int *)
Utils::Q_DECL_IMPORT | readMultiLineString(const int &value, int *out)
Utils::Q_DECL_IMPORT | readMultiLineString(const QJsonValue &value, class QString *out)
class Q_DECL_IMPORT | readMultiLineString(const int &value, class QString *out)
int | reverseCompare(Utils::SmallStringView first, Utils::SmallStringView second)
void | reverseForeach(const Container &c, const Op &operation)
int | runAsync(int *, int, Function &&, Args &&...)
int | runAsync(int, Function &&, Args &&...)
int | runAsync(int, int, Function &&, Args &&...)
int | runAsync(Utils::StackSizeInBytes, Function &&, Args &&...)
int | runAsync(Utils::StackSizeInBytes, int, Function &&, Args &&...)
int | runAsync(QThreadPool *, int, Function &&, Args &&...)
Utils::Q_DECL_IMPORT | setCreatorTheme(Utils::Theme *theme)
Utils::Q_DECL_IMPORT | setGlobPatternsForMimeType(const Utils::MimeType &mimeType, const class QStringList &patterns)
Utils::Q_DECL_IMPORT | setGlobPatternsForMimeType(const int &mimeType, const class QStringList &patterns)
Utils::Q_DECL_IMPORT | setMagicRulesForMimeType(const Utils::MimeType &mimeType, const int &rules)
Utils::Q_DECL_IMPORT | setMagicRulesForMimeType(const int &mimeType, const int &rules)
Utils::Q_DECL_IMPORT | setMimeStartupPhase(Utils::MimeStartupPhase)
Utils::Q_DECL_IMPORT | setOriginalVersionInMap(int &data, int version)
Utils::Q_DECL_IMPORT | setSettingsIdInMap(int &data, const int &id)
Utils::Q_DECL_IMPORT | setThemeApplicationPalette()
OutputIt | setUnionMerge(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt d_first, Merge merge, Compare comp)
OutputIt | setUnionMerge(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt d_first, Merge merge)
OutputContainer | setUnionMerge(InputContainer1 &&input1, InputContainer2 &&input2, Merge merge, Compare comp)
OutputContainer | setUnionMerge(InputContainer1 &&input1, InputContainer2 &&input2, Merge merge)
Utils::Q_DECL_IMPORT | setVersionInMap(int &data, int version)
OutputIterator | set_union(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
OutputIterator | set_union(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result)
OutputIterator | set_union_impl(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
void | sort(Container &container)
void | sort(Container &container, Predicate p)
void | sort(Container &container, R S::*member)
void | sort(Container &container, R (S::*)() const function)
int | ssize(Container)
Container<T> | static_container_cast(const Container<Base> &container)
int | take(int &, int)
int | takeOrDefault(int &, int)
auto | toConstReferences(const SourceContainer &sources)
int | toList(const int &)
ResultContainer | toRawPointer(const SourceContainer &sources)
auto | toRawPointer(const SourceContainer<SCArgs...> &sources)
auto | toReferences(SourceContainer &sources)
int | toSet(const int &)
int | toSet(const QList<T> &)
void | toSettings(const int &postFix, const int &category, QSettings *s, const SettingsClassT *obj)
Utils::Q_DECL_IMPORT | unCommentSelection(QPlainTextEdit *edit, const int &definiton = ...)
Utils::Q_DECL_IMPORT | unCommentSelection(int *edit, const int &definiton = ...)
auto | unequalTo(Type &&value)
int | usize(Container)
Utils::Q_DECL_IMPORT | versionFromMap(const int &data)
T | withNtfsPermissions(const int &task)
T | withNtfsPermissions(const int)
Utils::Q_DECL_IMPORT | writeAssertLocation(const char *msg)
int | writeBeginQtVersionCheck(QTextStream &)
int | writeClosingNameSpaces(const QStringList &, const int &, QTextStream &)
int | writeIncludeFileDirective(const int &, bool, QTextStream &)
int | writeQtIncludeSection(const QStringList &, const QStringList &, bool, bool, QTextStream &)
bool | operator!=(const int &dn1, const int &dn2)
bool | operator!=(Utils::LineColumn first, Utils::LineColumn second)
bool | operator!=(Utils::SmallStringView first, Utils::SmallStringView second)
bool | operator!=(const Utils::Port &p1, const Utils::Port &p2)
bool | operator!=(const Utils::ProcessHandle &p1, const Utils::ProcessHandle &p2)
bool | operator&&(Utils::LanguageExtension first, Utils::LanguageExtension second)
Utils::SmallString | operator+(Utils::SmallStringView first, Utils::SmallStringView second)
Utils::SmallString | operator+(Utils::SmallStringView first, const char (&)[Size] second = Size)
Utils::SmallString | operator+(const char (&)[Size] first = Size, Utils::SmallStringView second)
bool | operator<(const int &k1, const int &k2)
bool | operator<(Utils::SmallStringView first, Utils::SmallStringView second)
bool | operator<(const Utils::Port &p1, const Utils::Port &p2)
QDataStream & | operator<<(QDataStream &out, const BasicSmallString<Size> &string = Size)
int & | operator<<(int &, const String &)
std::ostream & | operator<<(std::ostream &out, const BasicSmallString<Size> &string = Size)
std::ostream & | operator<<(std::ostream &out, Utils::SmallStringView string)
QDataStream & | operator<<(QDataStream &out, const BasicSmallStringVector<String> &stringVector)
int | operator<<(int, const BasicSmallStringVector<String> &)
std::ostream & | operator<<(std::ostream &out, const BasicSmallStringVector<String> &textVector)
std::ostream & | operator<<(std::ostream &out, SizedArray<T, MaxSize> array)
bool | operator<=(const int &p1, const int &p2)
bool | operator<=(const Utils::Port &p1, const Utils::Port &p2)
bool | operator==(const int &p1, const int &p2)
bool | operator==(Utils::LineColumn first, Utils::LineColumn second)
bool | operator==(Utils::SmallStringView first, Utils::SmallStringView second)
bool | operator==(const Utils::Port &p1, const Utils::Port &p2)
bool | operator==(const Utils::ProcessHandle &p1, const Utils::ProcessHandle &p2)
bool | operator>(const int &k1, const int &k2)
bool | operator>(Utils::SmallStringView first, Utils::SmallStringView second)
bool | operator>(const Utils::Port &p1, const Utils::Port &p2)
bool | operator>=(const int &p1, const int &p2)
bool | operator>=(const Utils::Port &p1, const Utils::Port &p2)
QDataStream & | operator>>(QDataStream &in, BasicSmallString<Size> &string = Size)
QDataStream & | operator>>(QDataStream &in, BasicSmallStringVector<String> &stringVector)
Utils::LanguageExtension | operator|(Utils::LanguageExtension first, Utils::LanguageExtension second)

## Detailed Description

The Utils namespace contains a collection of utility classes and functions for use by all plugins.

## Namespaces

### namespace Utils::CodeModelIcon

### namespace Utils::FadingIndicator

### namespace Utils::Icons

### namespace Utils::Internal

### namespace Utils::Memory

### namespace Utils::OsSpecificAspects

### namespace Utils::Ui

## Classes

### class BasicSmallString

### class BasicSmallStringLiteral

### class BasicSmallStringVector

### class ElfProgramHeader

### class ElfSectionHeader

### class EventCode

### class ExecuteOnDestruction

### class LineColumn

### class Link

### class ScopedSwap

### class SizedArray

### class SmallStringView

### class TreeModel

The TreeModel class is a convienience base class for models to use in a QTreeView. More...

### class TypedTreeItem

### class View

### class functionTakesArgument

### class functionTraits

## Type Documentation

### enum Utils::ActivationMode

### enum Utils::ApplyMode

### enum Utils::DebugSymbolsType

### enum Utils::ElfClass

### enum Utils::ElfEndian

### enum Utils::ElfMachine

### enum Utils::ElfProgramHeaderType

### enum Utils::ElfSectionHeaderType

### enum Utils::ElfType

### typedef Utils::EnvironmentItem

### enum Utils::FileDeletedPromptAnswer

### typedef Utils::FilePathList

### enum Utils::HighlightingItemRole

### enum Utils::Language

### enum Utils::LanguageExtension

### enum Utils::LanguageVersion

### enum Utils::MapReduceOption

### enum Utils::MimeMatchMode

### enum Utils::MimeStartupPhase

### typedef Utils::NameValuePair

### typedef Utils::OptionalLineColumn

### enum Utils::OsType

### enum Utils::OutputFormat

### typedef Utils::PathString

### typedef Utils::PathStringVector

### typedef Utils::PreprocessorMacroItem

### enum Utils::ProgressIndicatorSize

Size of a progress indicator.

Constant | Value | Description
--- | --- | ---
`Utils::Small` | `0` | Small icon size. Useful for tool bars, status bars, rows in tree views, and so on.
`Utils::Medium` | `1` | Larger progress indicator useful for covering whole medium sized widgets.
`Utils::Large` | `2` | Very large progress indicator that can be used to cover large parts of a UI.

See also Utils::ProgressIndicator and Utils::ProgressIndicatorPainter.

### enum Utils::QtVersion

### enum Utils::ReloadPromptAnswer

### typedef Utils::ScopedBoolSwap

### typedef Utils::SmallString

### typedef Utils::SmallStringLiteral

### typedef Utils::SmallStringVector

### typedef Utils::StackSizeInBytes

### typedef Utils::StringViewVector

### enum Utils::WinDLLVersionType

## Function Documentation

### int Utils::Q_DECLARE_FLAGS(int, Utils::LanguageExtension)

### Utils::Q_DECL_IMPORT Utils::addMimeTypes(const int &id, const int &data)

### Utils::Q_DECL_IMPORT Utils::addMimeTypes(const QString &id, const int &data)

### Utils::Q_DECL_IMPORT Utils::addMimeTypes(const QString &id, const QByteArray &data)

### Utils::Q_DECL_IMPORT Utils::allMimeTypes()

### bool Utils::allOf(const T &container, F predicate)

### bool Utils::allOf(const T &container, R (S::*)() const predicate)

### bool Utils::allOf(const T &container, R S::*member)

### bool Utils::allOf(const C &container, PointerType<C> p)

### int Utils::allOf(const C &container, int)

### bool Utils::anyOf(const T &container, F predicate)

### bool Utils::anyOf(const T &container, R (S::*)() const predicate)

### bool Utils::anyOf(const T &container, R S::*member)

### bool Utils::anyOf(const C &container, PointerType<C> p)

### bool Utils::anyOf(const C &container, int)

### int Utils::caseFriendlyCompare(const int &, const int &)

### Utils::Q_DECL_IMPORT Utils::caseFriendlyCompare(const class QString &a, const class QString &b)

### T *Utils::checkEventType(int *ev)

### int Utils::compare(Utils::SmallStringView first, Utils::SmallStringView second)

### bool Utils::contains(const T &container, F function)

### bool Utils::contains(const T &container, R (S::*)() const function)

### bool Utils::contains(const C &container, R S::*member)

### bool Utils::contains(const C &container, PointerType<C> p)

### bool Utils::contains(const C &container, int)

### int Utils::count(const T &container, F predicate)

### int Utils::count(const C &container, PointerType<C> p)

### int Utils::count(const C &container, int)

### decltype(auto) Utils::equal(R (S::*)() const function, T value)

### decltype(auto) Utils::equal(R S::*member, T value)

### auto Utils::equalTo(Type &&value)

### void Utils::erase(T &container, F predicate)

### void Utils::erase(C &container, PointerType<C> p)

### int Utils::erase(const C &container, int)

### int Utils::filtered(const int &, int)

### int Utils::filtered(const int &, int () const)

### int Utils::filteredUnique(const int &)

### int Utils::findOr(const C &, typename C::value_type, F)

### int Utils::findOr(const T &, typename T::value_type, R (S::*)() const)

### int Utils::findOr(const T &, typename T::value_type, R S::*)

### int Utils::findOr(const int &, int, int)

### int Utils::findOr(const int &, int, int () const)

### int Utils::findOrDefault(const int &, int)

### int Utils::findOrDefault(const int &, int () const)

### void Utils::fromSettings(const int &postFix, const int &category, const QSettings *s, SettingsClassT *obj)

### auto Utils::greaterEqualThan(Type &&value)

### auto Utils::greaterThan(Type &&value)

### int Utils::indexOf(const C &, F)

### int Utils::indexOf(const C &, PointerType<C>)

### int Utils::indexOf(const C &, int)

### Utils::Q_DECL_IMPORT Utils::is64BitWindowsBinary(const int &binary)

### Utils::Q_DECL_IMPORT Utils::is64BitWindowsBinary(const class QString &binary)

### Utils::Q_DECL_IMPORT Utils::is64BitWindowsSystem()

### auto Utils::lessEqualThan(Type &&value)

### auto Utils::lessThan(Type &&value)

### Utils::Q_DECL_IMPORT Utils::magicRulesForMimeType(const Utils::MimeType &mimeType)

See also setMagicRulesForMimeType().

### Utils::Q_DECL_IMPORT Utils::magicRulesForMimeType(const int &mimeType)

### T Utils::makeUniquelyNumbered(const T &preferred, const Container &reserved)

### int Utils::map(ForwardIterator, ForwardIterator, MapFunction &&, Utils::MapReduceOption, int *, int, int)

### int Utils::map(Container &&, MapFunction &&, Utils::MapReduceOption, int *, int)

### int Utils::mapReduce(ForwardIterator, ForwardIterator, InitFunction &&, MapFunction &&, ReduceFunction &&, CleanUpFunction &&, Utils::MapReduceOption, int *, int, int)

### int Utils::mapReduce(Container &&, InitFunction &&, MapFunction &&, ReduceFunction &&, CleanUpFunction &&, Utils::MapReduceOption, int *, int)

### int Utils::mapReduce(ForwardIterator, ForwardIterator, MapFunction &&, State &&, ReduceFunction &&, Utils::MapReduceOption, int *, int, int)

### int Utils::mapReduce(Container &&, MapFunction &&, State &&, ReduceFunction &&, Utils::MapReduceOption, int *, int)

### int Utils::mapped(int, int, int &&, Utils::MapReduceOption, int *, int, int)

### int Utils::mapped(int &&, int &&, Utils::MapReduceOption, int *, int)

### int Utils::mappedReduced(int, int, int &&, int &&, int &&, Utils::MapReduceOption, int *, int, int)

### int Utils::mappedReduced(int &&, int &&, int &&, int &&, Utils::MapReduceOption, int *, int)

### typename T::value_type Utils::maxElementOr(const T &container, typename T::value_type other)

### Utils::Q_DECL_IMPORT Utils::mimeTypesForFileName(const QString &fileName)

### Utils::Q_DECL_IMPORT Utils::originalVersionFromMap(const int &data)

### Utils::Q_DECL_IMPORT Utils::parseUsedPortFromNetstatOutput(const int &line)

### class Q_DECL_IMPORT Utils::parseUsedPortFromNetstatOutput(const QByteArray &line)

### int Utils::partition(const int &, int () const)

### uint Utils::qHash(const Utils::FilePath &a, uint seed = 0)

### uint Utils::qHash(const int &mime)

### int Utils::qHash(const int &, int)

### uint Utils::qHash(const int &a, uint seed = 0)

### int Utils::qHash(const Utils::MimeType &)

### int Utils::qHash(const Utils::FilePath &, int)

### Container<T> Utils::qobject_container_cast(const Container<Base> &container)

### int Utils::readMultiLineString(const QJsonValue &, int *)

### Utils::Q_DECL_IMPORT Utils::readMultiLineString(const int &value, int *out)

### Utils::Q_DECL_IMPORT Utils::readMultiLineString(const QJsonValue &value, class QString *out)

### class Q_DECL_IMPORT Utils::readMultiLineString(const int &value, class QString *out)

### int Utils::reverseCompare(Utils::SmallStringView first, Utils::SmallStringView second)

### void Utils::reverseForeach(const Container &c, const Op &operation)

### int Utils::runAsync(int *, int, Function &&, Args &&...)

### int Utils::runAsync(int, Function &&, Args &&...)

### int Utils::runAsync(int, int, Function &&, Args &&...)

### int Utils::runAsync(Utils::StackSizeInBytes, Function &&, Args &&...)

### int Utils::runAsync(Utils::StackSizeInBytes, int, Function &&, Args &&...)

### int Utils::runAsync(QThreadPool *, int, Function &&, Args &&...)

### Utils::Q_DECL_IMPORT Utils::setCreatorTheme(Utils::Theme *theme)

### Utils::Q_DECL_IMPORT Utils::setGlobPatternsForMimeType(const Utils::MimeType &mimeType, const class QStringList &patterns)

### Utils::Q_DECL_IMPORT Utils::setGlobPatternsForMimeType(const int &mimeType, const class QStringList &patterns)

### Utils::Q_DECL_IMPORT Utils::setMagicRulesForMimeType(const Utils::MimeType &mimeType, const int &rules)

See also magicRulesForMimeType().

### Utils::Q_DECL_IMPORT Utils::setMagicRulesForMimeType(const int &mimeType, const int &rules)

### Utils::Q_DECL_IMPORT Utils::setMimeStartupPhase(Utils::MimeStartupPhase)

### Utils::Q_DECL_IMPORT Utils::setOriginalVersionInMap(int &data, int version)

### Utils::Q_DECL_IMPORT Utils::setSettingsIdInMap(int &data, const int &id)

### Utils::Q_DECL_IMPORT Utils::setThemeApplicationPalette()

### OutputIt Utils::setUnionMerge(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt d_first, Merge merge, Compare comp)

### OutputIt Utils::setUnionMerge(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt d_first, Merge merge)

### OutputContainer Utils::setUnionMerge(InputContainer1 &&input1, InputContainer2 &&input2, Merge merge, Compare comp)

### OutputContainer Utils::setUnionMerge(InputContainer1 &&input1, InputContainer2 &&input2, Merge merge)

### Utils::Q_DECL_IMPORT Utils::setVersionInMap(int &data, int version)

### OutputIterator Utils::set_union(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)

### OutputIterator Utils::set_union(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result)

### OutputIterator Utils::set_union_impl(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)

### void Utils::sort(Container &container)

### void Utils::sort(Container &container, Predicate p)

### void Utils::sort(Container &container, R S::*member)

### void Utils::sort(Container &container, R (S::*)() const function)

### int Utils::ssize(Container)

### Container<T> Utils::static_container_cast(const Container<Base> &container)

### int Utils::take(int &, int)

### int Utils::takeOrDefault(int &, int)

### auto Utils::toConstReferences(const SourceContainer &sources)

### int Utils::toList(const int &)

### ResultContainer Utils::toRawPointer(const SourceContainer &sources)

### auto Utils::toRawPointer(const SourceContainer<SCArgs...> &sources)

### auto Utils::toReferences(SourceContainer &sources)

### int Utils::toSet(const int &)

### int Utils::toSet(const QList<T> &)

### void Utils::toSettings(const int &postFix, const int &category, QSettings *s, const SettingsClassT *obj)

### Utils::Q_DECL_IMPORT Utils::unCommentSelection(QPlainTextEdit *edit, const int &definiton = ...)

### Utils::Q_DECL_IMPORT Utils::unCommentSelection(int *edit, const int &definiton = ...)

### auto Utils::unequalTo(Type &&value)

### int Utils::usize(Container)

### Utils::Q_DECL_IMPORT Utils::versionFromMap(const int &data)

### T Utils::withNtfsPermissions(const int &task)

### T Utils::withNtfsPermissions(const int)

### Utils::Q_DECL_IMPORT Utils::writeAssertLocation(const char *msg)

### int Utils::writeBeginQtVersionCheck(QTextStream &)

### int Utils::writeClosingNameSpaces(const QStringList &, const int &, QTextStream &)

### int Utils::writeIncludeFileDirective(const int &, bool, QTextStream &)

### int Utils::writeQtIncludeSection(const QStringList &, const QStringList &, bool, bool, QTextStream &)

### bool Utils::operator!=(const int &dn1, const int &dn2)

### bool Utils::operator!=(Utils::LineColumn first, Utils::LineColumn second)

### bool Utils::operator!=(Utils::SmallStringView first, Utils::SmallStringView second)

### bool Utils::operator!=(const Utils::Port &p1, const Utils::Port &p2)

### bool Utils::operator!=(const Utils::ProcessHandle &p1, const Utils::ProcessHandle &p2)

### bool Utils::operator&&(Utils::LanguageExtension first, Utils::LanguageExtension second)

### Utils::SmallString Utils::operator+(Utils::SmallStringView first, Utils::SmallStringView second)

### Utils::SmallString Utils::operator+(Utils::SmallStringView first, const char (&)[Size] second = Size)

### Utils::SmallString Utils::operator+(const char (&)[Size] first = Size, Utils::SmallStringView second)

### bool Utils::operator<(const int &k1, const int &k2)

### bool Utils::operator<(Utils::SmallStringView first, Utils::SmallStringView second)

### bool Utils::operator<(const Utils::Port &p1, const Utils::Port &p2)

### QDataStream &Utils::operator<<(QDataStream &out, const BasicSmallString<Size> &string = Size)

### int &Utils::operator<<(int &, const String &)

### std::ostream &Utils::operator<<(std::ostream &out, const BasicSmallString<Size> &string = Size)

### std::ostream &Utils::operator<<(std::ostream &out, Utils::SmallStringView string)

### QDataStream &Utils::operator<<(QDataStream &out, const BasicSmallStringVector<String> &stringVector)

### int Utils::operator<<(int, const BasicSmallStringVector<String> &)

### std::ostream &Utils::operator<<(std::ostream &out, const BasicSmallStringVector<String> &textVector)

### std::ostream &Utils::operator<<(std::ostream &out, SizedArray<T, MaxSize> array)

### bool Utils::operator<=(const int &p1, const int &p2)

### bool Utils::operator<=(const Utils::Port &p1, const Utils::Port &p2)

### bool Utils::operator==(const int &p1, const int &p2)

### bool Utils::operator==(Utils::LineColumn first, Utils::LineColumn second)

### bool Utils::operator==(Utils::SmallStringView first, Utils::SmallStringView second)

### bool Utils::operator==(const Utils::Port &p1, const Utils::Port &p2)

### bool Utils::operator==(const Utils::ProcessHandle &p1, const Utils::ProcessHandle &p2)

### bool Utils::operator>(const int &k1, const int &k2)

### bool Utils::operator>(Utils::SmallStringView first, Utils::SmallStringView second)

### bool Utils::operator>(const Utils::Port &p1, const Utils::Port &p2)

### bool Utils::operator>=(const int &p1, const int &p2)

### bool Utils::operator>=(const Utils::Port &p1, const Utils::Port &p2)

### QDataStream &Utils::operator>>(QDataStream &in, BasicSmallString<Size> &string = Size)

### QDataStream &Utils::operator>>(QDataStream &in, BasicSmallStringVector<String> &stringVector)

### Utils::LanguageExtension Utils::operator|(Utils::LanguageExtension first, Utils::LanguageExtension second)