KParts Namespace
Header: | #include <KParts> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Parts) target_link_libraries(mytarget PRIVATE KF6::Parts) |
Namespaces
(since KParts 5.69) namespace | PartLoader |
Classes
(since 4.6) class | FileInfoExtension |
class | GUIActivateEvent |
(since 4.9.2) class | ListingFilterExtension |
(since 4.9.2) class | ListingNotificationExtension |
class | MainWindow |
class | NavigationExtension |
class | OpenUrlArguments |
class | OpenUrlEvent |
class | Part |
class | PartActivateEvent |
class | PartBase |
class | PartManager |
class | ReadOnlyPart |
class | ReadWritePart |
class | StatusBarExtension |
Types
flags | PartCapabilities |
enum class | PartCapability { ReadOnly, ReadWrite, BrowserView } |
Detailed Description
Namespaces
[since KParts 5.69]
namespace KParts::PartLoader
This is based upon KPluginFactory, but it takes care of querying by mimetype, sorting the available parts by builtin preference and by user preference.
This namespace was introduced in KParts 5.69.
Classes
class FileInfoExtension
An extension for obtaining file information from the part. More...
class GUIActivateEvent
This event is sent to a Part when its GUI has been activated or deactivated. More...
class ListingFilterExtension
An extension for filtering listings. More...
class ListingNotificationExtension
An extension for receiving listing change notification. More...
class MainWindow
A KPart-aware main window, whose user interface is described in XML. More...
class NavigationExtension
An extension to KParts::ReadOnlyPart, which allows a better integration of parts with browsers (in particular Konqueror). More...
class OpenUrlArguments
OpenUrlArguments is the set of arguments that specify how a URL should be opened by KParts::ReadOnlyPart::openUrl(). More...
class OpenUrlEvent
The KParts::OpenUrlEvent event informs that a given part has opened a given URL. More...
class Part
Base class for parts. More...
class PartActivateEvent
This event is sent by the part manager when the active part changes. More...
class PartBase
Base class for all parts. More...
class PartManager
The part manager is an object which knows about a collection of parts (even nested ones) and handles activation/deactivation. More...
class ReadOnlyPart
Base class for any "viewer" part. More...
class ReadWritePart
Base class for an "editor" part. More...
class StatusBarExtension
An extension for KParts that allows more sophisticated statusbar handling. More...
Type Documentation
enum class KParts::PartCapability
flags KParts::PartCapabilities
Enum for standardized capabilities of KParts
{ "KPlugin": {...}, "KParts": { "Capabilities": [ "ReadOnly" ], "InitialPreference": 42 } }
Constant | Value |
---|---|
KParts::PartCapability::ReadOnly | 1 |
KParts::PartCapability::ReadWrite | 2 |
KParts::PartCapability::BrowserView | 4 |
The PartCapabilities type is a typedef for QFlags<PartCapability>. It stores an OR combination of PartCapability values.