libyui-qt-graph  2.44.6
YQGraphPlugin Class Reference

Simplified access to the Qt UI's package selector plugin. More...

#include <YQGraphPlugin.h>

Inheritance diagram for YQGraphPlugin:
Collaboration diagram for YQGraphPlugin:

Public Member Functions

 YQGraphPlugin ()
 Constructor: Load the plugin library for the Qt package selector.
 
virtual ~YQGraphPlugin ()
 Destructor. More...
 
virtual YQGraphcreateGraph (YWidget *parent, const std::string &filename, const std::string &layoutAlgorithm)
 Create a package selector. More...
 

Detailed Description

Simplified access to the Qt UI's package selector plugin.

Definition at line 32 of file YQGraphPlugin.h.

Constructor & Destructor Documentation

◆ ~YQGraphPlugin()

YQGraphPlugin::~YQGraphPlugin ( )
virtual

Destructor.

Calls dlclose() which will unload the plugin library if it is no longer used, i.e. if the reference count dlopen() uses reaches 0.

Definition at line 45 of file YQGraphPlugin.cc.

Member Function Documentation

◆ createGraph()

YQGraph * YQGraphPlugin::createGraph ( YWidget *  parent,
const std::string &  filename,
const std::string &  layoutAlgorithm 
)
virtual

Create a package selector.

Implemented from YGraphPlugin.

This might return 0 if the plugin lib could not be loaded or if the appropriate symbol could not be located in the plugin lib.

Definition at line 52 of file YQGraphPlugin.cc.


The documentation for this class was generated from the following files: