43 #include <qmessagebox.h>
44 #include "YQZyppSolverDialogPluginStub.h"
46 #define YUILogComponent "qt-ui"
50 #define PLUGIN_BASE_NAME "qt_zypp_solver_dialog"
55 : YUIPlugin( PLUGIN_BASE_NAME )
59 yuiMilestone() <<
"Loaded " << PLUGIN_BASE_NAME
60 <<
" plugin successfully from " << pluginLibFullPath()
69 yuiError() <<
"Plugin " << PLUGIN_BASE_NAME <<
" does not provide ZYPPP symbol" << endl;
85 QMessageBox::information( 0,
86 _(
"Missing package") ,
87 _(
"Package libqdialogsolver is required for this feature."));
91 return impl->createZyppSolverDialog( item );
YQZyppSolverDialogPluginStub()
Constructor: Load the plugin library for the QZyppDialog widget.
virtual bool createZyppSolverDialog(const zypp::PoolItem item)
Create and show a QZyppDialog widget.
virtual ~YQZyppSolverDialogPluginStub()
Destructor.