• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • TDevelop Interfaces Library
 

TDevelop Interfaces Library

Public Member Functions | List of all members
FileContext Class Reference

#include <kdevcore.h>

Inheritance diagram for FileContext:
Context

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
someURLsThe list of selected files URLs.

Definition at line 139 of file kdevcore.cpp.

◆ ~FileContext()

FileContext::~FileContext ( )
virtual

Destructor.

Definition at line 144 of file kdevcore.cpp.

Member Function Documentation

◆ type()

int FileContext::type ( ) const
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:
  • kdevcore.h
  • kdevcore.cpp

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for TDevelop Interfaces Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.