libyui-qt-graph  2.43.0
 All Classes Functions
YQGraphPlugin Class Reference

#include <YQGraphPlugin.h>

Inheritance diagram for YQGraphPlugin:
Collaboration diagram for YQGraphPlugin:

Public Member Functions

 YQGraphPlugin ()
 
virtual ~YQGraphPlugin ()
 
virtual YQGraphcreateGraph (YWidget *parent, const std::string &filename, const std::string &layoutAlgorithm)
 

Detailed Description

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

Definition at line 38 of file YQGraphPlugin.h.

Constructor & Destructor Documentation

YQGraphPlugin::YQGraphPlugin ( )

Constructor: Load the plugin library for the Qt package selector.

Definition at line 37 of file YQGraphPlugin.cc.

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 51 of file YQGraphPlugin.cc.

Member Function Documentation

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 58 of file YQGraphPlugin.cc.


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