KParts
#include <fileinfoextension.h>
Public Types | |
enum | QueryMode { None = 0x00, AllItems = 0x01, SelectedItems = 0x02 } |
Public Member Functions | |
FileInfoExtension (KParts::ReadOnlyPart *parent) | |
virtual | ~FileInfoExtension () |
virtual bool | hasSelection () const |
virtual KFileItemList | queryFor (QueryMode mode) const =0 |
virtual QueryModes | supportedQueryModes () const |
Static Public Member Functions | |
static FileInfoExtension * | childObject (QObject *obj) |
Detailed Description
an extension for obtaining file information from the part.
This extension provides information about file and directory resources that are present in the part the implements it.
The main purpose of for this extension is to provide information about files and directories located on remote servers so that download managers such as kget can easily retrieve these resources.
- Since
- 4.6
Definition at line 48 of file fileinfoextension.h.
Member Enumeration Documentation
Supported file information retrieval modes.
Definition at line 57 of file fileinfoextension.h.
Constructor & Destructor Documentation
KParts::FileInfoExtension::FileInfoExtension | ( | KParts::ReadOnlyPart * | parent | ) |
Constructor
Definition at line 25 of file fileinfoextension.cpp.
|
virtual |
Destructor
Definition at line 32 of file fileinfoextension.cpp.
Member Function Documentation
|
static |
Queries obj
for a child object which inherits from this class.
Definition at line 36 of file fileinfoextension.cpp.
|
virtual |
Returns true if any of the items in the current view of the part that implements this extension are selected.
By default this function returns false.
Definition at line 46 of file fileinfoextension.cpp.
|
pure virtual |
Returns a information for files that match the specified query mode
.
If the mode specified by mode
is not supported or cannot be handled, then an empty list is returned.
|
virtual |
Returns the file information retrieve modes supported by the part that implements this extension.
By default this function returns None.
Definition at line 41 of file fileinfoextension.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.