Utils Namespace

Header: #include <Utils>

Namespaces

namespace FadingIndicator
namespace Internal
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 HighlightingItemRole { LineNumber, StartColumn, Length, Foreground, Background, User }
typedef MacroExpanderProvider
typedef MacroExpanderProviders
enum MimeMatchMode { MatchDefault, MatchExtension, MatchContent }
enum MimeStartupPhase { BeforeInitialize, PluginsLoading, PluginsInitializing, PluginsDelayedInitializing, UpAndRunning }
typedef OptionalLineColumn
enum OsType { OsTypeWindows, OsTypeLinux, OsTypeMac, OsTypeOtherUnix, OsTypeOther }
enum ProgressIndicatorSize { Small, Medium, Large }
enum WinDLLVersionType { WinDLLFileVersion, WinDLLProductVersion }

Functions

Utils::Q_DECL_IMPORT addMimeTypes(const int &id, const int &data)
bool allOf(const T &container, F predicate)
bool anyOf(const T &container, F predicate)
bool anyOf(const T &container, R (S::*)() const predicate)
bool anyOf(const T &container, R S::*member)
T *checkEventType(int *ev)
bool contains(const T &container, F function)
bool contains(const T &container, R (S::*)() const function)
bool contains(const C &container, R S::*member)
int count(const T &container, F predicate)
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)
auto greaterEqualThan(Type &&value)
auto greaterThan(Type &&value)
auto lessEqualThan(Type &&value)
auto lessThan(Type &&value)
T makeUniquelyNumbered(const T &preferred, const Container &reserved)
Utils::Q_DECL_IMPORT parseUsedPortFromNetstatOutput(const int &line)
int runAsync(int *, int, Function &&, Args &&...)
int runAsync(int, Function &&, Args &&...)
int runAsync(int, int, Function &&, Args &&...)
Utils::Q_DECL_IMPORT setGlobPatternsForMimeType(const int &mimeType, const class QStringList &patterns)
Utils::Q_DECL_IMPORT setMagicRulesForMimeType(const int &mimeType, const int)
Utils::Q_DECL_IMPORT setMimeStartupPhase(Utils::MimeStartupPhase)
Utils::Q_DECL_IMPORT unCommentSelection(int *edit, const int &definiton = ...)
auto unequalTo(Type &&value)
T withNtfsPermissions(const int &task)
bool operator!=(const int &p1, const int &p2)
bool operator!=(Utils::LineColumn first, Utils::LineColumn second)
bool operator<(const int &p1, const int &p2)
bool operator<=(const int &p1, const int &p2)
bool operator==(const int &p1, const int &p2)
bool operator==(Utils::LineColumn first, Utils::LineColumn second)
bool operator>(const int &p1, const int &p2)
bool operator>=(const int &p1, const int &p2)

Detailed Description

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

Namespaces

namespace Utils::FadingIndicator

namespace Utils::Internal

namespace Utils::OsSpecificAspects

namespace Utils::Ui

Classes

class ConsoleProcessPrivate

class ElfProgramHeader

class ElfSectionHeader

class LineColumn

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::HighlightingItemRole

typedef Utils::MacroExpanderProvider

typedef Utils::MacroExpanderProviders

enum Utils::MimeMatchMode

enum Utils::MimeStartupPhase

typedef Utils::OptionalLineColumn

enum Utils::OsType

enum Utils::ProgressIndicatorSize

Size of a progress indicator.

ConstantValueDescription
Utils::Small0Small icon size. Useful for tool bars, status bars, rows in tree views, and so on.
Utils::Medium1Larger progress indicator useful for covering whole medium sized widgets.
Utils::Large2Very large progress indicator that can be used to cover large parts of a UI.

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

enum Utils::WinDLLVersionType

Function Documentation

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

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

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)

T *Utils::checkEventType(int *ev)

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)

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

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)

auto Utils::greaterEqualThan(Type &&value)

auto Utils::greaterThan(Type &&value)

auto Utils::lessEqualThan(Type &&value)

auto Utils::lessThan(Type &&value)

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

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

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

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

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

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

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

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

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

auto Utils::unequalTo(Type &&value)

T Utils::withNtfsPermissions(const int &task)

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

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

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

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

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

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

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

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