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()
|
inline |
Constructor.
- Parameters
-
info Important 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. parent The parent object for the plugin. Parent object must implement KDevApi interface. Otherwise the plugin will not be constructed. name The internal name which identifies the plugin.
Definition at line 57 of file kdevquickopen.h.
Member Function Documentation
◆ quickOpenFile()
|
pure virtual |
Shows the file selection dialog.
- Parameters
-
text A list of urls to open.
The documentation for this class was generated from the following file: