Utils Namespace
Header: | #include <Utils> |
Namespaces
namespace | FadingIndicator |
namespace | Icons |
namespace | Internal |
namespace | Memory |
namespace | OsSpecificAspects |
namespace | Ui |
Classes
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 } |
enum | FileDeletedPromptAnswer { FileDeletedClose, FileDeletedCloseAll, FileDeletedSaveAs, FileDeletedSave } |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
typedef | FileNameList |
enum | HighlightingItemRole { LineNumber, StartColumn, Length, Foreground, Background, User } |
typedef | IconMaskAndColor |
typedef | MacroExpanderProvider |
typedef | MacroExpanderProviders |
enum | MapReduceOption { Ordered, Unordered } |
enum | MimeMatchMode { MatchDefault, MatchExtension, MatchContent } |
enum | MimeStartupPhase { BeforeInitialize, PluginsLoading, PluginsInitializing, PluginsDelayedInitializing, UpAndRunning } |
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 | PathString |
typedef | PathString |
typedef | PathStringVector |
typedef | PathStringVector |
enum | ProgressIndicatorSize { Small, Medium, Large } |
enum | ReloadPromptAnswer { ReloadCurrent, ReloadAll, ReloadSkipCurrent, ReloadNone, ReloadNoneAndDiff, CloseCurrent } |
typedef | ScopedBoolSwap |
typedef | SmallString |
typedef | SmallString |
typedef | SmallStringLiteral |
typedef | SmallStringLiteral |
typedef | SmallStringVector |
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 | StringViewVector |
typedef | StringViewVector |
enum | WinDLLVersionType { WinDLLFileVersion, WinDLLProductVersion } |
Functions
void | addMimeTypes(const QString &id, const QByteArray &data) |
void | addMimeTypes(const class QString &id, const QByteArray &data) |
QString | allFilesFilterString() |
QString | allFiltersString(QString *allFilesFilter = nullptr) |
QStringList | allGlobPatterns() |
QList<Utils::MimeType> | allMimeTypes() |
bool | allOf(const T &container, F predicate) |
bool | allOf(const C &container, int p) |
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, int p) |
Utils::Q_DECL_IMPORT | caseFriendlyCompare(const int &a, const int &b) |
int | caseFriendlyCompare(const QString &a, const QString &b) |
Utils::Q_DECL_IMPORT | caseFriendlyCompare(const class QString &a, const class QString &b) |
T * | checkEventType(int *ev) |
QString | commonPath(const QStringList &files) |
QString | commonPrefix(const QStringList &strings) |
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, int p) |
int | count(const T &container, F predicate) |
int | count(const C &container, int p) |
Utils::Theme * | creatorTheme() |
SynchronousProcessResponse::Result | defaultExitCodeInterpreter(int code) |
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, int p) |
int | erase(const C &container, int) |
void | expandMacros(QString *str, Utils::AbstractMacroExpander *mx) |
QString | expandMacros(const QString &str, Utils::AbstractMacroExpander *mx) |
Utils::FileDeletedPromptAnswer | fileDeletedPrompt(const QString &fileName, bool triggerExternally, QWidget *parent) |
typename C::value_type | findOr(const C &container, typename C::value_type other, F function) |
typename T::value_type | findOr(const T &container, typename T::value_type other, R (S::*)() const function) |
typename T::value_type | findOr(const T &container, typename T::value_type other, R S::*member) |
int | findOr(const C &, int, F) |
int | findOr(const C &, int, R (S::*)() const) |
int | findOr(const C &, int, R S::*) |
int | findOr(const C &, int, int) |
int | findOrDefault(const C &, F) |
int | findOrDefault(const C &, R (S::*)() const) |
int | findOrDefault(const C &, R S::*) |
int | findOrDefault(const C &, int) |
void | fromSettings(const int &postFix, const int &category, const int *s, SettingsClassT *obj) |
Utils::MacroExpander * | globalMacroExpander() |
auto | greaterEqualThan(Type &&value) |
auto | greaterThan(Type &&value) |
int | indexOf(const C &container, int p) |
Utils::Q_DECL_IMPORT | is64BitWindowsBinary(const int &binary) |
Utils::Q_DECL_IMPORT | is64BitWindowsSystem() |
auto | lessEqualThan(Type &&value) |
auto | lessThan(Type &&value) |
QMap<int, QList<Internal::MimeMagicRule> > | magicRulesForMimeType(const Utils::MimeType &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) |
Utils::MimeType | mimeTypeForData(const QByteArray &data) |
Utils::MimeType | mimeTypeForFile(const QString &fileName, Utils::MimeMatchMode mode = MimeMatchMode::MatchDefault) |
Utils::MimeType | mimeTypeForFile(const QFileInfo &fileInfo, Utils::MimeMatchMode mode = MimeMatchMode::MatchDefault) |
Utils::MimeType | mimeTypeForFile(const class QString &fileName, Utils::MimeMatchMode mode = MimeMatchMode::MatchDefault) |
Utils::MimeType | mimeTypeForName(const QString &nameOrAlias) |
Utils::MimeType | mimeTypeForName(const class QString &nameOrAlias) |
QList<Utils::MimeType> | mimeTypesForFileName(const QString &fileName) |
QList<Utils::MimeType> | mimeTypesForFileName(const class QString &fileName) |
Utils::Q_DECL_IMPORT | originalVersionFromMap(const int &data) |
Utils::Q_DECL_IMPORT | parseUsedPortFromNetstatOutput(const int &line) |
int | parseUsedPortFromNetstatOutput(const QByteArray &line) |
Utils::Theme * | proxyTheme() |
QString | quoteAmpersands(const QString &text) |
Utils::Q_DECL_IMPORT | readMultiLineString(const int &value, int *out) |
bool | readMultiLineString(const QJsonValue &value, QString *out) |
Utils::Q_DECL_IMPORT | readMultiLineString(const int &value, class QString *out) |
Utils::ReloadPromptAnswer | reloadPrompt(const Utils::FileName &fileName, bool modified, bool enableDiffOption, QWidget *parent) |
Utils::ReloadPromptAnswer | reloadPrompt(const QString &title, const QString &prompt, const QString &details, bool enableDiffOption, QWidget *parent) |
int | reverseCompare(Utils::SmallStringView first, Utils::SmallStringView second) |
int | runAsync(int *, int, Function &&, Args &&...) |
int | runAsync(int, Function &&, Args &&...) |
int | runAsync(Utils::StackSizeInBytes, Function &&, Args &&...) |
int | runAsync(Utils::StackSizeInBytes, int, Function &&, Args &&...) |
int | runAsync(int, int, Function &&, Args &&...) |
int | runAsync(QThreadPool *, int, Function &&, Args &&...) |
void | setCreatorTheme(Utils::Theme *theme) |
void | setGlobPatternsForMimeType(const Utils::MimeType &mimeType, const QStringList &patterns) |
void | setMagicRulesForMimeType(const Utils::MimeType &mimeType, const QMap<int, QList<Internal::MimeMagicRule> > &rules) |
void | setMimeStartupPhase(Utils::MimeStartupPhase) |
Utils::Q_DECL_IMPORT | setOriginalVersionInMap(int &data, int version) |
Utils::Q_DECL_IMPORT | setSettingsIdInMap(int &data, const int &id) |
void | setThemeApplicationPalette() |
Utils::Q_DECL_IMPORT | setVersionInMap(int &data, int version) |
QString | settingsKey(const QString &category) |
QString | stripAccelerator(const QString &text) |
int | take(C &, int) |
int | takeOrDefault(C &, int) |
ResultContainer | toRawPointer(const SourceContainer &sources) |
auto | toRawPointer(const SourceContainer<SCArgs...> &sources) |
void | toSettings(const int &postFix, const int &category, int *s, const SettingsClassT *obj) |
Utils::Q_DECL_IMPORT | unCommentSelection(int *edit, const int &definiton = ...) |
void | unCommentSelection(int *edit, const Utils::CommentDefinition &definiton = CommentDefinition()) |
auto | unequalTo(Type &&value) |
Utils::Q_DECL_IMPORT | versionFromMap(const int &data) |
T | withNtfsPermissions(const int &task) |
QString | withTildeHomePath(const QString &path) |
void | writeAssertLocation(const char *msg) |
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) |
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 &p1, const int &p2) |
bool | operator<(Utils::SmallStringView first, Utils::SmallStringView second) |
bool | operator<(const Utils::Port &p1, const Utils::Port &p2) |
QDebug | operator<<(QDebug str, const Utils::SynchronousProcessResponse &) |
QTextStream & | operator<<(QTextStream &s, const Utils::FileName &fn) |
QDebug | operator<<(QDebug debug, const Utils::EnvironmentItem &i) |
QDataStream & | operator<<(QDataStream &out, const BasicSmallString<Size> &string = Size) |
QDebug & | operator<<(QDebug &debug, const String &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) |
QDebug | operator<<(QDebug debug, const BasicSmallStringVector<String> &stringVector) |
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 &p1, const int &p2) |
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) |
Detailed Description
The Utils namespace contains a collection of utility classes and functions for use by all plugins.
Namespaces
namespace Utils::FadingIndicator
namespace Utils::Icons
namespace Utils::Internal
namespace Utils::Memory
namespace Utils::OsSpecificAspects
namespace Utils::Ui
Classes
class AbstractMacroExpander
class BasicSmallString
class BasicSmallStringLiteral
class BasicSmallStringVector
class ChangeSet
class CheckableMessageBox
class CommentDefinition
class CompletingLineEdit
class CompletingTextEdit
class ConsoleProcessPrivate
class ElfProgramHeader
class ElfSectionHeader
class Environment
class EnvironmentItem
class EventCode
class ExecuteOnDestruction
class FancyLineEdit
class FileName
The FileName class is a light-weight convenience class for filenames. More...
class FileReader
class FileSaver
class FileSaverBase
class FileSystemWatcher
The FileSystemWatcher class is a file watcher that internally uses a centralized QFileSystemWatcher and enforces limits on Mac OS. More...
class FileUtils
The FileUtils class contains file and directory related convenience functions. More...
class HeaderViewStretcher
class HostOsInfo
class Icon
class IconButton
class JsonArrayValue
class JsonBooleanValue
class JsonDoubleValue
class JsonIntValue
class JsonMemoryPool
class JsonNullValue
class JsonObjectValue
class JsonSchema
class JsonSchemaManager
class JsonStringValue
class JsonValue
class LineColumn
class Link
class MacroExpander
class MimeType
The MimeType class describes types of file or data, represented by a MIME type string. More...
class NetworkAccessManager
class OverrideCursor
class ParameterAction
class PathChooser
class PersistentSettingsReader
class PersistentSettingsWriter
class ProxyAction
class RemoveFileDialog
class SaveFile
class SavedAction
class SavedActionSet
class ScopedSwap
class SizedArray
class SmallStringView
class StyleHelper
class SynchronousProcess
The SynchronousProcess class runs a synchronous process in its own event loop that blocks only user input events. Thus, it allows for the GUI to repaint and append output to log windows. More...
class SynchronousProcessResponse
class TempFileSaver
class TemplateEngine
class TemporaryDirectory
class TemporaryFile
class TextFileFormat
class Theme
class ThemePrivate
class ToolTip
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
enum Utils::FileDeletedPromptAnswer
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
typedef Utils::FileNameList
enum Utils::HighlightingItemRole
typedef Utils::IconMaskAndColor
typedef Utils::MacroExpanderProvider
typedef Utils::MacroExpanderProviders
enum Utils::MapReduceOption
enum Utils::MimeMatchMode
enum Utils::MimeStartupPhase
typedef Utils::OptionalLineColumn
typedef Utils::OptionalLineColumn
typedef Utils::OptionalLineColumn
typedef Utils::OptionalLineColumn
enum Utils::OsType
enum Utils::OutputFormat
typedef Utils::PathString
typedef Utils::PathString
typedef Utils::PathString
typedef Utils::PathString
typedef Utils::PathStringVector
typedef Utils::PathStringVector
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::ReloadPromptAnswer
typedef Utils::ScopedBoolSwap
typedef Utils::SmallString
typedef Utils::SmallString
typedef Utils::SmallStringLiteral
typedef Utils::SmallStringLiteral
typedef Utils::SmallStringVector
typedef Utils::SmallStringVector
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StackSizeInBytes
typedef Utils::StringViewVector
typedef Utils::StringViewVector
enum Utils::WinDLLVersionType
Function Documentation
void Utils::addMimeTypes(const QString &id, const QByteArray &data)
void Utils::addMimeTypes(const class QString &id, const QByteArray &data)
QString Utils::allFilesFilterString()
QString Utils::allFiltersString(QString *allFilesFilter = nullptr)
QStringList Utils::allGlobPatterns()
QList<Utils::MimeType> Utils::allMimeTypes()
bool Utils::allOf(const T &container, F predicate)
bool Utils::allOf(const C &container, int p)
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, int p)
Utils::Q_DECL_IMPORT Utils::caseFriendlyCompare(const int &a, const int &b)
int Utils::caseFriendlyCompare(const QString &a, const QString &b)
Utils::Q_DECL_IMPORT Utils::caseFriendlyCompare(const class QString &a, const class QString &b)
T *Utils::checkEventType(int *ev)
QString Utils::commonPath(const QStringList &files)
QString Utils::commonPrefix(const QStringList &strings)
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, int p)
int Utils::count(const T &container, F predicate)
int Utils::count(const C &container, int p)
Utils::Theme *Utils::creatorTheme()
See also setCreatorTheme().
SynchronousProcessResponse::Result Utils::defaultExitCodeInterpreter(int code)
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, int p)
int Utils::erase(const C &container, int)
void Utils::expandMacros(QString *str, Utils::AbstractMacroExpander *mx)
QString Utils::expandMacros(const QString &str, Utils::AbstractMacroExpander *mx)
Utils::FileDeletedPromptAnswer Utils::fileDeletedPrompt(const QString &fileName, bool triggerExternally, QWidget *parent)
typename C::value_type Utils::findOr(const C &container, typename C::value_type other, F function)
typename T::value_type Utils::findOr(const T &container, typename T::value_type other, R (S::*)() const function)
typename T::value_type Utils::findOr(const T &container, typename T::value_type other, R S::*member)
int Utils::findOr(const C &, int, F)
int Utils::findOr(const C &, int, R (S::*)() const)
int Utils::findOr(const C &, int, R S::*)
int Utils::findOr(const C &, int, int)
int Utils::findOrDefault(const C &, F)
int Utils::findOrDefault(const C &, R (S::*)() const)
int Utils::findOrDefault(const C &, R S::*)
int Utils::findOrDefault(const C &, int)
void Utils::fromSettings(const int &postFix, const int &category, const int *s, SettingsClassT *obj)
Utils::MacroExpander *Utils::globalMacroExpander()
auto Utils::greaterEqualThan(Type &&value)
auto Utils::greaterThan(Type &&value)
int Utils::indexOf(const C &container, int p)
Utils::Q_DECL_IMPORT Utils::is64BitWindowsBinary(const int &binary)
Utils::Q_DECL_IMPORT Utils::is64BitWindowsSystem()
auto Utils::lessEqualThan(Type &&value)
auto Utils::lessThan(Type &&value)
QMap<int, QList<Internal::MimeMagicRule> > Utils::magicRulesForMimeType(const Utils::MimeType &mimeType)
See also setMagicRulesForMimeType().
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)
Utils::MimeType Utils::mimeTypeForData(const QByteArray &data)
Utils::MimeType Utils::mimeTypeForFile(const QString &fileName, Utils::MimeMatchMode mode = MimeMatchMode::MatchDefault)
Utils::MimeType Utils::mimeTypeForFile(const QFileInfo &fileInfo, Utils::MimeMatchMode mode = MimeMatchMode::MatchDefault)
Utils::MimeType Utils::mimeTypeForFile(const class QString &fileName, Utils::MimeMatchMode mode = MimeMatchMode::MatchDefault)
Utils::MimeType Utils::mimeTypeForName(const QString &nameOrAlias)
Utils::MimeType Utils::mimeTypeForName(const class QString &nameOrAlias)
QList<Utils::MimeType> Utils::mimeTypesForFileName(const QString &fileName)
QList<Utils::MimeType> Utils::mimeTypesForFileName(const class QString &fileName)
Utils::Q_DECL_IMPORT Utils::originalVersionFromMap(const int &data)
Utils::Q_DECL_IMPORT Utils::parseUsedPortFromNetstatOutput(const int &line)
int Utils::parseUsedPortFromNetstatOutput(const QByteArray &line)
Utils::Theme *Utils::proxyTheme()
QString Utils::quoteAmpersands(const QString &text)
Utils::Q_DECL_IMPORT Utils::readMultiLineString(const int &value, int *out)
bool Utils::readMultiLineString(const QJsonValue &value, QString *out)
Utils::Q_DECL_IMPORT Utils::readMultiLineString(const int &value, class QString *out)
Utils::ReloadPromptAnswer Utils::reloadPrompt(const Utils::FileName &fileName, bool modified, bool enableDiffOption, QWidget *parent)
Utils::ReloadPromptAnswer Utils::reloadPrompt(const QString &title, const QString &prompt, const QString &details, bool enableDiffOption, QWidget *parent)
int Utils::reverseCompare(Utils::SmallStringView first, Utils::SmallStringView second)
int Utils::runAsync(int *, int, Function &&, Args &&...)
int Utils::runAsync(int, Function &&, Args &&...)
int Utils::runAsync(Utils::StackSizeInBytes, Function &&, Args &&...)
int Utils::runAsync(Utils::StackSizeInBytes, int, Function &&, Args &&...)
int Utils::runAsync(int, int, Function &&, Args &&...)
int Utils::runAsync(QThreadPool *, int, Function &&, Args &&...)
void Utils::setCreatorTheme(Utils::Theme *theme)
See also creatorTheme().
void Utils::setGlobPatternsForMimeType(const Utils::MimeType &mimeType, const QStringList &patterns)
void Utils::setMagicRulesForMimeType(const Utils::MimeType &mimeType, const QMap<int, QList<Internal::MimeMagicRule> > &rules)
See also magicRulesForMimeType().