FileContext Class Reference
#include <kdevcore.h>
Inheritance diagram for FileContext:
Public Member Functions | |
| FileContext (const KURL::List &someURLs) | |
| virtual | ~FileContext () |
| virtual int | type () const |
| const KURL::List & | urls () const |
Public Member Functions inherited from Context | |
| virtual bool | hasType (int type) const |
Additional Inherited Members | |
Public Types inherited from Context | |
| enum | Type { EditorContext , DocumentationContext , FileContext , ProjectModelItemContext , CodeModelItemContext } |
Protected Member Functions inherited from Context | |
| Context () | |
| virtual | ~Context () |
Detailed Description
A context for the popup menu in file views and other parts that show files.
Context allows multiple selections of files.
Definition at line 210 of file kdevcore.h.
Constructor & Destructor Documentation
◆ FileContext()
| FileContext::FileContext | ( | const KURL::List & | someURLs | ) |
Builds the file context using a KURL::List.
- Parameters
-
someURLs The list of selected files URLs.
Definition at line 139 of file kdevcore.cpp.
◆ ~FileContext()
|
virtual |
Destructor.
Definition at line 144 of file kdevcore.cpp.
Member Function Documentation
◆ type()
|
virtual |
Implement this in the context so we can provide rtti.
Implements Context.
Definition at line 150 of file kdevcore.cpp.
◆ urls()
| const KURL::List & FileContext::urls | ( | ) | const |
- Returns
- A reference to the selected of URLs.
Definition at line 155 of file kdevcore.cpp.
The documentation for this class was generated from the following files:
Trinity API Reference
Public Member Functions inherited from