• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Extension Interfaces Library
 

KDevelop Extension Interfaces Library

Public Member Functions | List of all members
KDevQuickOpen Class Referenceabstract

#include <kdevquickopen.h>

Inherits KDevPlugin.

Public Member Functions

 KDevQuickOpen (const KDevPluginInfo *info, TQObject *parent, const char *name)
 
virtual void quickOpenFile (const KURL::List urls)=0
 

Detailed Description

Quick open plugin interface.

Use it when you need to present a dialog to choose between files to open.

KDevQuickOpen *qo = extension<KDevQuickOpen>("TDevelop/QuickOpen");
if (qo) {
// do something
} else {
// fail
}
See also
KDevPlugin::extension method documentation.
What is the TDevelop extension and Creating and using an extension sections of Platform API documentation.

Definition at line 45 of file kdevquickopen.h.

Constructor & Destructor Documentation

◆ KDevQuickOpen()

KDevQuickOpen::KDevQuickOpen ( const KDevPluginInfo *  info,
TQObject *  parent,
const char *  name 
)
inline

Constructor.

Parameters
infoImportant information about the plugin - plugin internal and generic (GUI) name, description, a list of authors, etc. That information is used to show plugin information in various places like "about application" dialog, plugin selector dialog, etc. Plugin does not take ownership on info object, also its lifetime should be equal to the lifetime of the plugin.
parentThe parent object for the plugin. Parent object must implement KDevApi interface. Otherwise the plugin will not be constructed.
nameThe internal name which identifies the plugin.

Definition at line 57 of file kdevquickopen.h.

Member Function Documentation

◆ quickOpenFile()

virtual void KDevQuickOpen::quickOpenFile ( const KURL::List  urls)
pure virtual

Shows the file selection dialog.

Parameters
textA list of urls to open.

The documentation for this class was generated from the following file:
  • kdevquickopen.h

KDevelop Extension Interfaces Library

Skip menu "KDevelop Extension Interfaces Library"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop Extension Interfaces Library

Skip menu "KDevelop Extension 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 KDevelop Extension Interfaces Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.