![]() |
LeechCraft 0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
|
Namespaces | |
| namespace | AN |
| namespace | Util |
| namespace | EF |
| The various Additional_ entity fields. | |
| namespace | Mimes |
| The various well-known values of the inter-plugin Entity's MIME_ field. | |
| namespace | PowerState |
| The values of the Entity::Entity_ corresponding to LC::Mimes::PowerStateChanged. | |
Classes | |
| class | IHookProxy |
| Class for hook-based communication between plugins. More... | |
| struct | ImageServiceInfo |
| Describes a single image hosting service (including account). More... | |
| struct | RemoteImageInfo |
| Describes a remote image. More... | |
| struct | Request |
| Describes the elementary subrequest. More... | |
| struct | TabRecoverInfo |
| Keeps the tab state between runs. More... | |
| struct | ActionInfo |
| Describes an action exposed in shortcut manager. More... | |
| struct | TabClassInfo |
| The structure describing a single tab class. More... | |
| struct | ProcessInfo |
| Describes a process represented by a row in an IJobHolder model. More... | |
| struct | NewsInfo |
| struct | RowInfo |
| class | QuarkComponent |
| Describes a single quark. More... | |
| struct | Entity |
| A message used for inter-plugin communication. More... | |
Typedefs | |
| typedef std::shared_ptr< IHookProxy > | IHookProxy_ptr |
| typedef QList< ImageServiceInfo > | ImageServiceInfos_t |
| The list of image storage service descriptions. | |
| typedef QList< RemoteImageInfo > | RemoteImageInfos_t |
| A list of remote images. | |
| typedef QList< QPair< QByteArray, QVariant > > | DynPropertiesList_t |
| typedef QList< TabClassInfo > | TabClasses_t |
| using | SpecificInfo |
| typedef std::shared_ptr< QuarkComponent > | QuarkComponent_ptr |
| A shared pointer to a quark. | |
| typedef QList< QuarkComponent_ptr > | QuarkComponents_t |
| A list of quarks pointers. | |
Enumerations | |
| enum | PartitionType { NonPartition = -1 , Empty = 0x00 , Win95FAT32 = 0x0b , Win95FAT32LBA = 0x0c } |
| Describes the various common partition types. More... | |
| enum | CommonDevRole { DevType = Qt::UserRole + 1 , DevID , DevParentID , DevPersistentID , CommonDevRoleMax } |
| Roles for both USB Mass Storage and generic USB devices. More... | |
| enum | USBDeviceRole { ID = CommonDevRole::CommonDevRoleMax + 1 , Busnum , Devnum , VendorID , Vendor , ModelID , Model , SysFile , USBDeviceRoleMax } |
| Roles specific to generic USB devices. More... | |
| enum | MassStorageRole { DevFile = USBDeviceRole::USBDeviceRoleMax + 1 , PartType , IsRemovable , IsPartition , IsMountable , IsMounted , IsMediaAvailable , VisibleName , AvailableSize , TotalSize , MountPoints , MassStorageRoleMax } |
| Roles specific to mass storage USB devices. More... | |
| enum | DeviceType : uint8_t { USBDevice , MassStorage } |
| Describes various USB removable devices. More... | |
| enum class | ActionsEmbedPlace { ToolsMenu , CommonContextMenu , QuickLaunch , TrayMenu , LCTray } |
| Specifies where the actions should be embedded. More... | |
| enum | TabFeature { TFEmpty = 0x0 , TFOpenableByRequest = 1 << 0 , TFSingle = 1 << 1 , TFByDefault = 1 << 2 , TFSuggestOpening = 1 << 3 , TFOverridesTabClose = 1 << 4 } |
| Defines different behavior features of tab classes. More... | |
| enum class | ProcessKind : std::uint8_t { Download , Upload , Generic } |
| enum class | ProcessState : std::uint8_t { Running , Paused , Finished , Error , Unknown } |
| enum class | JobHolderRole { RowInfo = MaxValue<CustomDataRoles> + 1 } |
| This enum contains roles that are used to query job states. More... | |
| enum class | JobHolderProcessRole { Done = MaxValue<JobHolderRole> + 1 , Total , ProgressCustomText , State , StateCustomText } |
| enum class | ContentType { HTML , PlainText } |
| enum class | EditorAction { Find , Replace } |
| Enumeration for some standard editor actions. More... | |
| enum | TaskParameter { NoParameters = 0 , NoAutostart = 1 , DoNotSaveInHistory = 2 , IsDownloaded = 4 , FromUserInitiated = 8 , DoNotNotifyUser = 32 , Internal = 64 , NotPersistent = 128 , DoNotAnnounceEntity = 256 , OnlyHandle = 512 , OnlyDownload = 1024 , AutoAccept = 2048 , FromCommandLine = 4096 } |
| Describes single task parameter. More... | |
| enum class | CustomDataRoles { Tags = Qt::UserRole + 100 } |
| enum class | Priority { Info , Warning , Critical } |
Functions | |
| Q_DECLARE_FLAGS (TabFeatures, LC::TabFeature) | |
| constexpr int | operator+ (JobHolderRole role) noexcept |
| constexpr int | operator+ (JobHolderProcessRole role) noexcept |
| Q_DECLARE_FLAGS (TaskParameters, TaskParameter) | |
| constexpr int | operator+ (CustomDataRoles role) noexcept |
| constexpr QColor | operator""_rgb (const char *str, std::size_t size) |
| template<Util::CtString S> | |
| constexpr auto | operator""_ct () noexcept |
| template<typename Target, std::derived_from< QObject > Src> | |
| decltype(auto) | qobject_ref_cast (Src *obj, std::source_location loc=std::source_location::current()) |
| template<typename Target, std::derived_from< QObject > Src> | |
| decltype(auto) | qobject_ref_cast (Src &obj, std::source_location loc=std::source_location::current()) |
| constexpr QLatin1String | operator""_ql (const char *str, std::size_t size) noexcept |
| constexpr QStringView | operator""_qsv (const char16_t *str, std::size_t size) noexcept |
| QByteArray | operator""_qba (const char *str, std::size_t size) noexcept |
| template<Util::CtString S> | |
| QString | operator""_qs () noexcept |
| constexpr quint64 | operator""_mib (quint64 mibs) noexcept |
| bool | operator< (const LC::Entity &e1, const LC::Entity &e2) |
| bool | operator== (const LC::Entity &e1, const LC::Entity &e2) |
| template<typename... Rets> | |
| Util::detail::DBusAwaiter< Rets... > | operator co_await (const QDBusPendingReply< Rets... > &reply) |
| template<typename L, typename R> | |
| Util::detail::EitherAwaiter< L, R, std::identity > | operator co_await (const Util::Either< L, R > &either) |
| template<typename R> | |
| Util::detail::FutureAwaiter< R > | operator co_await (QFuture< R > future) |
| UTIL_THREADS_API Util::detail::NRAwaiter | operator co_await (QNetworkReply &reply) |
| UTIL_THREADS_API Util::detail::ProcessAwaiter | operator co_await (QProcess &reply) |
| Util::detail::TimerAwaiter | operator co_await (std::chrono::milliseconds duration) |
Variables | |
| Q_DECL_IMPORT const QString | IgnoreSelf { QStringLiteral ("IgnoreSelf") } |
| Q_DECL_IMPORT const QString | AllowedSemantics { QStringLiteral ("AllowedSemantics") } |
| template<> | |
| constexpr int | MaxValue< JobHolderRole > = +JobHolderRole::RowInfo |
| template<> | |
| constexpr int | MaxValue< JobHolderProcessRole > = +JobHolderProcessRole::StateCustomText |
| template<typename> | |
| constexpr int | MaxValue {} |
| template<> | |
| constexpr int | MaxValue< CustomDataRoles > = +CustomDataRoles::Tags |
| typedef QList<QPair<QByteArray, QVariant> > LC::DynPropertiesList_t |
Definition at line 79 of file ihaverecoverabletabs.h.
| typedef std::shared_ptr<IHookProxy> LC::IHookProxy_ptr |
Definition at line 108 of file ihookproxy.h.
| typedef QList<ImageServiceInfo> LC::ImageServiceInfos_t |
The list of image storage service descriptions.
Definition at line 37 of file iimgsource.h.
| typedef std::shared_ptr<QuarkComponent> LC::QuarkComponent_ptr |
A shared pointer to a quark.
Definition at line 133 of file iquarkcomponentprovider.h.
| typedef QList<QuarkComponent_ptr> LC::QuarkComponents_t |
A list of quarks pointers.
Definition at line 137 of file iquarkcomponentprovider.h.
| typedef QList<RemoteImageInfo> LC::RemoteImageInfos_t |
A list of remote images.
Definition at line 81 of file iimgsource.h.
| using LC::SpecificInfo |
Definition at line 58 of file ijobholder.h.
| typedef QList<TabClassInfo> LC::TabClasses_t |
Definition at line 132 of file ihavetabs.h.
|
strong |
Specifies where the actions should be embedded.
Definition at line 21 of file iactionsexporter.h.
| enum LC::CommonDevRole |
Roles for both USB Mass Storage and generic USB devices.
| Enumerator | |
|---|---|
| DevType | The type of the device. This role is expected to contain a member of the DeviceType enum.
|
| DevID | The unique device ID (QString).
|
| DevParentID | The parent's device ID (QString). If not null, this refers to some other row's DevID.
|
| DevPersistentID | The persistent unique device ID (QString). |
| CommonDevRoleMax | |
Definition at line 44 of file deviceroles.h.
|
strong |
Possible content types a text editor could handle.
| Enumerator | |
|---|---|
| HTML | HTML content. The corresponding editor should provide WYSIWYG capabilities or at least some fancy highlighting for HTML. |
| PlainText | Well, plain text. |
Definition at line 22 of file itexteditor.h.
|
strong |
This enumeration describes the additional roles that may be returned from models that are embedded in Summary-like viewers. Those like IJobHolders or IFindProxies.
| Enumerator | |
|---|---|
| Tags | The role for the string list with tags. So, QStringList is expected to be returned. |
Definition at line 174 of file structures.h.
| enum LC::DeviceType : uint8_t |
Describes various USB removable devices.
The corresponding device model role is CommonDevRole::DevType.
All device types are expected to return meaningful data for roles in the CommonDevRole enum.
| Enumerator | |
|---|---|
| USBDevice | A general USB device. The device model rows for this USB device are expected to also return data for roles in the USBDeviceRole enum.
|
| MassStorage | A mass storage USB device, like a flash drive. The device model rows for this USB device are expected to also return data for roles in the MassStorageRole enum.
|
Definition at line 23 of file devicetypes.h.
|
strong |
Enumeration for some standard editor actions.
The corresponding actions may be retrieved via ITextEditor::GetEditorAction().
| Enumerator | |
|---|---|
| Find | Open "Find" dialog. |
| Replace | Open "Replace" dialog. |
Definition at line 41 of file itexteditor.h.
|
strong |
| Enumerator | |
|---|---|
| Done | |
| Total | |
| ProgressCustomText | |
| State | |
| StateCustomText | |
Definition at line 99 of file ijobholder.h.
|
strong |
This enum contains roles that are used to query job states.
| Enumerator | |
|---|---|
| RowInfo | This role is for the LC::RowInfo struct. The value at this role is a RowInfo. |
Definition at line 82 of file ijobholder.h.
| enum LC::MassStorageRole |
Roles specific to mass storage USB devices.
The corresponding CommonDevRole::DevType is DeviceType::MassStorage.
| Enumerator | |
|---|---|
| DevFile | The device file representing the device (QString). For example, it could be /dev/sdc1 on a Linux system. |
| PartType | The type of the partition. This role is expected to contain a member of the PartitionType enum.
|
| IsRemovable | Whether this item is removable (bool). |
| IsPartition | Whether this item is a partition (bool). |
| IsMountable | Whether this item could be mounted (bool). |
| IsMounted | Whether this item is currently mounted (bool). |
| IsMediaAvailable | Whether this item contains media (bool). For example, a CD in a CD-ROM. |
| VisibleName | Human-readable name of the device (QString). |
| AvailableSize | Available size in bytes (qint64). If the value is -1, the available size is not known. It is very likely the available size wouldn't be known for unmounted devices. |
| TotalSize | Total size in bytes (qint64). If the value is -1, the available size is not known. It is very likely the total size wouldn't be known for unmounted devices. |
| MountPoints | The list of directories this item is mounted to (QStringList). |
| MassStorageRoleMax | |
Definition at line 123 of file deviceroles.h.
| enum LC::PartitionType |
Describes the various common partition types.
This enum is used for USB Mass Storage devices and similar ones where the concept of a partition makes sense.
| Enumerator | |
|---|---|
| NonPartition | Something other than a partition. |
| Empty | Empty partition without a type. |
| Win95FAT32 | FAT32 partition. |
| Win95FAT32LBA | FAT32 partition with LBA. |
Definition at line 23 of file deviceroles.h.
|
strong |
| Enumerator | |
|---|---|
| Info | |
| Warning | |
| Critical | |
Definition at line 190 of file structures.h.
|
strong |
| Enumerator | |
|---|---|
| Download | |
| Upload | |
| Generic | |
Definition at line 25 of file ijobholder.h.
|
strong |
| Enumerator | |
|---|---|
| Running | |
| Paused | |
| Finished | |
| Error | |
| Unknown | |
Definition at line 71 of file ijobholder.h.
| enum LC::TabFeature |
Defines different behavior features of tab classes.
| Enumerator | |
|---|---|
| TFEmpty | No special features. |
| TFOpenableByRequest | This tab could be opened by user request. If tab class has this feature, a corresponding action in new tab menu would be created to allow the user to open this tab. If tab class doesn't have this feature, the only way for the tab to be opened is for the corresponding to emit the IHaveTabs::addNewTab() signal when needed.
|
| TFSingle | There could be only one instance of this tab. By default, LeechCraft considers that each tab having the TFOpenableByRequest feature could be opened multiple times, but sometimes it doesn't make sense to have more than one tab of some class. In this case, this feature should also be present for that tab class. This feature requires the TFOpenableByRequest feature as well.
|
| TFByDefault | The tab should be opened by default. By default, all tabs are hidden, both having TFSingle feature and lacking it. If a tab wants to be shown after LeechCraft startup until the user manually closes it, the corresponding tab class should have this feature as well. |
| TFSuggestOpening | The tab is to be suggested in a quick launch area. Tabs having this flag are expected to be contained by default in some kind of quick launch area like the one in the Sidebar plugin. Consider adding this flag if you think user would often open tabs of your class. |
| TFOverridesTabClose | The tab uses the standard tab close shortcut (Ctrl+W). Thus, when this tab is active, the tab close shortcut will be disabled if it matches "Ctrl+W". |
Definition at line 22 of file ihavetabs.h.
| enum LC::TaskParameter |
Describes single task parameter.
Definition at line 24 of file structures.h.
| enum LC::USBDeviceRole |
Roles specific to generic USB devices.
The corresponding CommonDevRole::DevType is DeviceType::USBDevice.
Definition at line 79 of file deviceroles.h.
| Util::detail::DBusAwaiter< Rets... > LC::operator co_await | ( | const QDBusPendingReply< Rets... > & | reply | ) |
| Util::detail::EitherAwaiter< L, R, std::identity > LC::operator co_await | ( | const Util::Either< L, R > & | either | ) |
| Util::detail::FutureAwaiter< R > LC::operator co_await | ( | QFuture< R > | future | ) |
| UTIL_THREADS_API Util::detail::NRAwaiter LC::operator co_await | ( | QNetworkReply & | reply | ) |
Definition at line 50 of file networkreply.cpp.
References UTIL_THREADS_API.
| UTIL_THREADS_API Util::detail::ProcessAwaiter LC::operator co_await | ( | QProcess & | reply | ) |
Definition at line 43 of file process.cpp.
References UTIL_THREADS_API.
| UTIL_THREADS_API Util::detail::TimerAwaiter LC::operator co_await | ( | std::chrono::milliseconds | duration | ) |
|
constexprnoexcept |
Definition at line 188 of file ctstring.h.
|
inlinenoexcept |
|
constexprnoexcept |
|
noexcept |
Definition at line 184 of file qtutil.h.
References LC::Util::ToString().
|
constexprnoexcept |
|
constexpr |
|
constexprnoexcept |
Definition at line 182 of file structures.h.
|
constexprnoexcept |
Definition at line 108 of file ijobholder.h.
|
constexprnoexcept |
Definition at line 91 of file ijobholder.h.
| UTIL_API bool LC::operator< | ( | const LC::Entity & | e1, |
| const LC::Entity & | e2 ) |
Definition at line 110 of file structuresops.cpp.
References LC::Entity::Location_, LC::Entity::Mime_, and LC::Entity::Parameters_.
| UTIL_API bool LC::operator== | ( | const LC::Entity & | e1, |
| const LC::Entity & | e2 ) |
Definition at line 117 of file structuresops.cpp.
References LC::Entity::Additional_, LC::Entity::Entity_, LC::Entity::Location_, LC::Entity::Mime_, and LC::Entity::Parameters_.
| LC::Q_DECLARE_FLAGS | ( | TabFeatures | , |
| LC::TabFeature | ) |
| LC::Q_DECLARE_FLAGS | ( | TaskParameters | , |
| TaskParameter | ) |
| decltype(auto) LC::qobject_ref_cast | ( | Src & | obj, |
| std::source_location | loc = std::source_location::current () ) |
Definition at line 45 of file qobjectrefcast.h.
References qobject_ref_cast().
| decltype(auto) LC::qobject_ref_cast | ( | Src * | obj, |
| std::source_location | loc = std::source_location::current () ) |
Definition at line 35 of file qobjectrefcast.h.
References LC::Util::detail::NotifyCastError().
Referenced by qobject_ref_cast().
| const QString LC::AllowedSemantics { QStringLiteral ("AllowedSemantics") } |
Definition at line 17 of file anconstantsdefs.cpp.
| const QString LC::IgnoreSelf { QStringLiteral ("IgnoreSelf") } |
Definition at line 16 of file anconstantsdefs.cpp.
|
constexpr |
Definition at line 14 of file maxvalue.h.
|
inlineconstexpr |
Definition at line 188 of file structures.h.
|
inlineconstexpr |
Definition at line 114 of file ijobholder.h.
|
inlineconstexpr |
Definition at line 97 of file ijobholder.h.