Utils Namespace
Header: | #include <Utils> |
Namespaces
namespace | FadingIndicator |
namespace | Internal |
namespace | OsSpecificAspects |
namespace | Ui |
Classes
class | ConsoleProcessPrivate |
class | ElfProgramHeader |
class | ElfSectionHeader |
class | LineColumn |
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 | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
typedef | FileName |
enum | HighlightingItemRole { LineNumber, StartColumn, Length, Foreground, Background, User } |
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) |
int | filtered(const int &, int) |
int | filtered(const int &, int () const) |
int | filteredUnique(const int &) |
auto | greaterEqualThan(Type &&value) |
auto | greaterThan(Type &&value) |
auto | lessEqualThan(Type &&value) |
auto | lessThan(Type &&value) |
T | makeUniquelyNumbered(const T &preferred, const Container &reserved) |
typename T::value_type | maxElementOr(const T &container, typename T::value_type other) |
Utils::Q_DECL_IMPORT | parseUsedPortFromNetstatOutput(const int &line) |
int | partition(const int &, int () const) |
int | qHash(const Utils::FilePath &, int) |
int | qHash(const int &) |
Container<T> | qobject_container_cast(const Container<Base> &container) |
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 &&...) |
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) |
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) |
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) |
auto | toConstReferences(const SourceContainer &sources) |
int | toList(const int &) |
auto | toReferences(SourceContainer &sources) |
int | toSet(const int &) |
Utils::Q_DECL_IMPORT | unCommentSelection(int *edit, const int &definiton = ...) |
auto | unequalTo(Type &&value) |
int | usize(Container) |
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
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
typedef Utils::FileName
enum Utils::HighlightingItemRole
enum Utils::MimeMatchMode
enum Utils::MimeStartupPhase
typedef Utils::OptionalLineColumn
enum Utils::OsType
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.