Hello community, here is the log from the commit of package libyui-qt-pkg for openSUSE:Factory checked in at 2018-07-04 23:48:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui-qt-pkg (Old) and /work/SRC/openSUSE:Factory/.libyui-qt-pkg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-qt-pkg" Wed Jul 4 23:48:45 2018 rev:35 rq:618910 version:2.45.18 Changes: -------- --- /work/SRC/openSUSE:Factory/libyui-qt-pkg/libyui-qt-pkg.changes 2018-05-10 15:44:20.288394736 +0200 +++ /work/SRC/openSUSE:Factory/.libyui-qt-pkg.new/libyui-qt-pkg.changes 2018-07-04 23:48:47.532312340 +0200 @@ -1,0 +2,13 @@ +Mon Jun 25 10:41:00 CEST 2018 - aschn...@suse.com + +- use long long instead of int for free disk space with MiB base +- 2.45.18 + +------------------------------------------------------------------- +Tue Jun 19 08:52:21 UTC 2018 - jreidin...@suse.com + +- Drop code related to qt solver plugin which is dead for long time + (bsc#1088759) +- 2.45.17 + +------------------------------------------------------------------- Old: ---- libyui-qt-pkg-2.45.16.tar.bz2 New: ---- libyui-qt-pkg-2.45.18.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-qt-pkg-doc.spec ++++++ --- /var/tmp/diff_new_pack.5bZfYA/_old 2018-07-04 23:48:48.212311588 +0200 +++ /var/tmp/diff_new_pack.5bZfYA/_new 2018-07-04 23:48:48.212311588 +0200 @@ -20,7 +20,7 @@ %define so_version 8 Name: %{parent}-doc -Version: 2.45.16 +Version: 2.45.18 Release: 0 Source: %{parent}-%{version}.tar.bz2 @@ -36,7 +36,7 @@ Url: http://github.com/libyui/ Summary: Libyui-qt-pkg documentation -License: LGPL-2.1-only OR LGPL-3.0-only +License: LGPL-2.1 or LGPL-3.0 Group: Documentation/HTML %description ++++++ libyui-qt-pkg.spec ++++++ --- /var/tmp/diff_new_pack.5bZfYA/_old 2018-07-04 23:48:48.228311570 +0200 +++ /var/tmp/diff_new_pack.5bZfYA/_new 2018-07-04 23:48:48.228311570 +0200 @@ -17,7 +17,7 @@ Name: libyui-qt-pkg -Version: 2.45.16 +Version: 2.45.18 Release: 0 Source: %{name}-%{version}.tar.bz2 @@ -44,7 +44,7 @@ Url: http://github.com/libyui/ Summary: Libyui - Qt Package Selector -License: LGPL-2.1-only OR LGPL-3.0-only +License: LGPL-2.1 or LGPL-3.0 Group: System/Libraries %description ++++++ libyui-qt-pkg-2.45.16.tar.bz2 -> libyui-qt-pkg-2.45.18.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/SOURCECONF.cmake new/libyui-qt-pkg-2.45.18/SOURCECONF.cmake --- old/libyui-qt-pkg-2.45.16/SOURCECONF.cmake 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/SOURCECONF.cmake 2018-06-25 11:04:35.000000000 +0200 @@ -41,7 +41,6 @@ YQPkgUpdateProblemFilterView.cc YQPkgVersionsView.cc YQPackageSelectorPluginImpl.cc - YQZyppSolverDialogPluginStub.cc ) SET( ${TARGETLIB}_HEADERS @@ -89,8 +88,6 @@ YQPkgVersionsView.h YQSimplePatchSelector.h YQZypp.h - YQZyppSolverDialogPluginIf.h - YQZyppSolverDialogPluginStub.h ) SET( EXAMPLES_LIST diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/VERSION.cmake new/libyui-qt-pkg-2.45.18/VERSION.cmake --- old/libyui-qt-pkg-2.45.16/VERSION.cmake 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/VERSION.cmake 2018-06-25 11:04:35.000000000 +0200 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "2" ) SET( VERSION_MINOR "45" ) -SET( VERSION_PATCH "16" ) +SET( VERSION_PATCH "18" ) SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" ) ##### This is need for the libyui core, ONLY. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/package/libyui-qt-pkg-doc.spec new/libyui-qt-pkg-2.45.18/package/libyui-qt-pkg-doc.spec --- old/libyui-qt-pkg-2.45.16/package/libyui-qt-pkg-doc.spec 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/package/libyui-qt-pkg-doc.spec 2018-06-25 11:04:35.000000000 +0200 @@ -20,7 +20,7 @@ %define so_version 8 Name: %{parent}-doc -Version: 2.45.16 +Version: 2.45.18 Release: 0 Source: %{parent}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/package/libyui-qt-pkg.changes new/libyui-qt-pkg-2.45.18/package/libyui-qt-pkg.changes --- old/libyui-qt-pkg-2.45.16/package/libyui-qt-pkg.changes 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/package/libyui-qt-pkg.changes 2018-06-25 11:04:35.000000000 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Mon Jun 25 10:41:00 CEST 2018 - aschn...@suse.com + +- use long long instead of int for free disk space with MiB base +- 2.45.18 + +------------------------------------------------------------------- +Tue Jun 19 08:52:21 UTC 2018 - jreidin...@suse.com + +- Drop code related to qt solver plugin which is dead for long time + (bsc#1088759) +- 2.45.17 + +------------------------------------------------------------------- Mon May 7 13:42:03 UTC 2018 - igonzalezs...@suse.com - Replace qt5_use_modules with target_link_libraries (bsc#1091286). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/package/libyui-qt-pkg.spec new/libyui-qt-pkg-2.45.18/package/libyui-qt-pkg.spec --- old/libyui-qt-pkg-2.45.16/package/libyui-qt-pkg.spec 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/package/libyui-qt-pkg.spec 2018-06-25 11:04:35.000000000 +0200 @@ -17,7 +17,7 @@ Name: libyui-qt-pkg -Version: 2.45.16 +Version: 2.45.18 Release: 0 Source: %{name}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/src/YQPackageSelector.cc new/libyui-qt-pkg-2.45.18/src/YQPackageSelector.cc --- old/libyui-qt-pkg-2.45.16/src/YQPackageSelector.cc 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/src/YQPackageSelector.cc 2018-06-25 11:04:35.000000000 +0200 @@ -708,7 +708,6 @@ _pkgMenu->addAction(_pkgList->actionSetCurrentUpdate); _pkgMenu->addAction(_pkgList->actionSetCurrentUpdateForce); _pkgMenu->addAction(_pkgList->actionSetCurrentTaboo); - _pkgMenu->addAction(_pkgList->actionShowCurrentSolverInfo); #if ENABLE_SOURCE_RPMS _pkgMenu->addSeparator(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/src/YQPkgDiskUsageList.cc new/libyui-qt-pkg-2.45.18/src/YQPkgDiskUsageList.cc --- old/libyui-qt-pkg-2.45.16/src/YQPkgDiskUsageList.cc 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/src/YQPkgDiskUsageList.cc 2018-06-25 11:04:35.000000000 +0200 @@ -318,7 +318,7 @@ YQPkgDiskUsageListItem::checkRemainingDiskSpace() { int percent = usedPercent(); - int free = freeSize() / FSize::MB; + long long free = freeSize() / FSize::MB; if ( percent > MIN_PERCENT_WARN ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/src/YQPkgList.cc new/libyui-qt-pkg-2.45.18/src/YQPkgList.cc --- old/libyui-qt-pkg-2.45.16/src/YQPkgList.cc 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/src/YQPkgList.cc 2018-06-25 11:04:35.000000000 +0200 @@ -466,7 +466,6 @@ _notInstalledContextMenu->addAction(actionSetCurrentInstall); _notInstalledContextMenu->addAction(actionSetCurrentDontInstall); _notInstalledContextMenu->addAction(actionSetCurrentTaboo); - _notInstalledContextMenu->addAction(actionShowCurrentSolverInfo); addAllInListSubMenu( _notInstalledContextMenu ); @@ -487,7 +486,6 @@ _installedContextMenu->addAction(actionSetCurrentUpdate); _installedContextMenu->addAction(actionSetCurrentUpdateForce); _installedContextMenu->addAction(actionSetCurrentProtected); - _installedContextMenu->addAction(actionShowCurrentSolverInfo); addAllInListSubMenu( _installedContextMenu ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/src/YQPkgObjList.cc new/libyui-qt-pkg-2.45.18/src/YQPkgObjList.cc --- old/libyui-qt-pkg-2.45.16/src/YQPkgObjList.cc 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/src/YQPkgObjList.cc 2018-06-25 11:04:35.000000000 +0200 @@ -81,7 +81,6 @@ , actionSetCurrentUpdateForce(0) , actionSetCurrentTaboo(0) , actionSetCurrentProtected(0) - , actionShowCurrentSolverInfo(0) , actionSetListInstall(0) , actionSetListDontInstall(0) , actionSetListKeepInstalled(0) @@ -323,23 +322,6 @@ void -YQPkgObjList::showSolverInfo() -{ - QTreeWidgetItem * listViewItem = currentItem(); - - if ( ! listViewItem ) - return; - - YQPkgObjListItem * item = dynamic_cast<YQPkgObjListItem *> (listViewItem); - - if ( item ) - { - _plugin.createZyppSolverDialog(item->zyppObj()->poolItem()); - } -} - - -void YQPkgObjList::setAllItemStatus( ZyppStatus newStatus, bool force ) { if ( ! _editable ) @@ -419,8 +401,6 @@ actionSetCurrentTaboo = createAction( S_Taboo, "[!]" ); actionSetCurrentProtected = createAction( S_Protected, "[*]" ); - actionShowCurrentSolverInfo = createAction( _( "Show solver information" )); - actionSetListInstall = createAction( S_Install, "", true ); actionSetListDontInstall = createAction( S_NoInst, "", true ); actionSetListKeepInstalled = createAction( S_KeepInstalled, "", true ); @@ -449,7 +429,6 @@ connect( actionSetCurrentUpdateForce, &QAction::triggered, this, &YQPkgObjList::setCurrentUpdateForce ); connect( actionSetCurrentTaboo, &QAction::triggered, this, &YQPkgObjList::setCurrentTaboo ); connect( actionSetCurrentProtected, &QAction::triggered, this, &YQPkgObjList::setCurrentProtected ); - connect( actionShowCurrentSolverInfo, &QAction::triggered, this, &YQPkgObjList::showCurrentSolverInfo ); connect( actionSetListInstall, &QAction::triggered, this, &YQPkgObjList::setListInstall ); connect( actionSetListDontInstall, &QAction::triggered, this, &YQPkgObjList::setListDontInstall ); connect( actionSetListKeepInstalled, &QAction::triggered, this, &YQPkgObjList::setListKeepInstalled ); @@ -458,32 +437,6 @@ connect( actionSetListUpdateForce, &QAction::triggered, this, &YQPkgObjList::setListUpdateForce ); connect( actionSetListTaboo, &QAction::triggered, this, &YQPkgObjList::setListTaboo ); connect( actionSetListProtected, &QAction::triggered, this, &YQPkgObjList::setListProtected ); - - // if the solver info plugin did not success to load (which is, the package - // of the plugin is not installed or was not included in the media - // - // it will show up a popup when called, however, if we are in installation - // (that is, target is not / or there is no target at all, - // the user will have no chance of installing - // the plugin package, therefore we disable the action. - // - zypp::Target_Ptr target = zypp::getZYpp()->getTarget(); - if ( ! target || ( target->root() != "/" ) ) - { - // there is no target or the target is mounted out of root - // which means install or update - // if the plugin did not load - if ( ! _plugin.success() ) - { - // grey out the option - yuiMilestone() << "Disabling solver info plugin: not available and no target or target is not /" << endl; - actionShowCurrentSolverInfo->setVisible(false); - } - else - { - yuiMilestone() << "target not available or target or target is not /. Solver info plugin available anyway." << endl; - } - } } @@ -539,7 +492,6 @@ _notInstalledContextMenu->addAction( actionSetCurrentInstall ); _notInstalledContextMenu->addAction( actionSetCurrentDontInstall ); _notInstalledContextMenu->addAction( actionSetCurrentTaboo ); - _notInstalledContextMenu->addAction( actionShowCurrentSolverInfo ); addAllInListSubMenu( _notInstalledContextMenu ); } @@ -555,7 +507,6 @@ _installedContextMenu->addAction( actionSetCurrentDelete ); _installedContextMenu->addAction( actionSetCurrentUpdate ); _installedContextMenu->addAction( actionSetCurrentUpdateForce ); - _installedContextMenu->addAction( actionShowCurrentSolverInfo ); addAllInListSubMenu( _installedContextMenu ); } @@ -636,7 +587,6 @@ actionSetCurrentUpdate->setEnabled( false ); actionSetCurrentUpdateForce->setEnabled( false ); } - actionShowCurrentSolverInfo->setEnabled( true ); } else // ! item { @@ -650,8 +600,6 @@ actionSetCurrentUpdateForce->setEnabled( false ); actionSetCurrentProtected->setEnabled( false ); - actionShowCurrentSolverInfo->setEnabled( false ); - } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/src/YQPkgObjList.h new/libyui-qt-pkg-2.45.18/src/YQPkgObjList.h --- old/libyui-qt-pkg-2.45.16/src/YQPkgObjList.h 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/src/YQPkgObjList.h 2018-06-25 11:04:35.000000000 +0200 @@ -52,8 +52,6 @@ #include <zypp/Edition.h> #include <FSize.h> -#include "YQZyppSolverDialogPluginStub.h" - class YQPkgObjListItem; class QAction; class QMenu; @@ -124,11 +122,6 @@ /** - * Show solver information about the current selected item - **/ - void showSolverInfo(); - - /** * Sets the status of all (toplevel) list items to 'newStatus', if possible. * Only one single statusChanged() signal is emitted. * @@ -269,8 +262,6 @@ void setCurrentTaboo() { setCurrentStatus( S_Taboo ); } void setCurrentProtected() { setCurrentStatus( S_Protected ); } - void showCurrentSolverInfo() { showSolverInfo (); } - void setListInstall() { setAllItemStatus( S_Install ); } void setListDontInstall() { setAllItemStatus( S_NoInst ); } void setListKeepInstalled() { setAllItemStatus( S_KeepInstalled ); } @@ -407,7 +398,6 @@ QAction * actionSetCurrentUpdateForce; QAction * actionSetCurrentTaboo; QAction * actionSetCurrentProtected; - QAction * actionShowCurrentSolverInfo; QAction * actionSetListInstall; QAction * actionSetListDontInstall; @@ -417,8 +407,6 @@ QAction * actionSetListUpdateForce; QAction * actionSetListTaboo; QAction * actionSetListProtected; - - YQZyppSolverDialogPluginStub _plugin; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/src/YQZyppSolverDialogPluginIf.h new/libyui-qt-pkg-2.45.18/src/YQZyppSolverDialogPluginIf.h --- old/libyui-qt-pkg-2.45.16/src/YQZyppSolverDialogPluginIf.h 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/src/YQZyppSolverDialogPluginIf.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,55 +0,0 @@ -/************************************************************************** -Copyright (C) 2000 - 2010 Novell, Inc. -All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -**************************************************************************/ - - -/*---------------------------------------------------------------------\ -| | -| __ __ ____ _____ ____ | -| \ \ / /_ _/ ___|_ _|___ \ | -| \ V / _` \___ \ | | __) | | -| | | (_| |___) || | / __/ | -| |_|\__,_|____/ |_| |_____| | -| | -| core system | -| (c) SuSE Linux AG | -\----------------------------------------------------------------------/ - - File: YQZyppSolverDialogPluginIf.h - - Author: Stefan Schubert <sch...@suse.de> - - -/-*/ - -#ifndef YQZyppSolverDialogPluginIf_h -#define YQZyppSolverDialogPluginIf_h - -#include <zypp/PoolItem.h> - -class YQZyppSolverDialogPluginIf -{ - - public: - - virtual ~YQZyppSolverDialogPluginIf() {} - - virtual bool createZyppSolverDialog(const zypp::PoolItem item) = 0 ; -}; -#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/src/YQZyppSolverDialogPluginStub.cc new/libyui-qt-pkg-2.45.18/src/YQZyppSolverDialogPluginStub.cc --- old/libyui-qt-pkg-2.45.16/src/YQZyppSolverDialogPluginStub.cc 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/src/YQZyppSolverDialogPluginStub.cc 1970-01-01 01:00:00.000000000 +0100 @@ -1,94 +0,0 @@ -/************************************************************************** -Copyright (C) 2000 - 2010 Novell, Inc. -All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -**************************************************************************/ - - -/*---------------------------------------------------------------------\ -| | -| __ __ ____ _____ ____ | -| \ \ / /_ _/ ___|_ _|___ \ | -| \ V / _` \___ \ | | __) | | -| | | (_| |___) || | / __/ | -| |_|\__,_|____/ |_| |_____| | -| | -| core system | -| (c) SuSE Linux AG | -\----------------------------------------------------------------------/ - - File: YQZyppSolverDialogPluginStub.cc - - Authors: Stefan Schubert <sch...@suse.de> - - Textdomain "qt-pkg" - - -/-*/ - -#include <qmessagebox.h> -#include "YQZyppSolverDialogPluginStub.h" - -#define YUILogComponent "qt-ui" -#include "YUILog.h" -#include "YQi18n.h" - -#define PLUGIN_BASE_NAME "qt_zypp_solver_dialog" - -using std::endl; - -YQZyppSolverDialogPluginStub::YQZyppSolverDialogPluginStub() - : YUIPlugin( PLUGIN_BASE_NAME ) -{ - if ( success() ) - { - yuiMilestone() << "Loaded " << PLUGIN_BASE_NAME - << " plugin successfully from " << pluginLibFullPath() - << endl; - } - - - impl = (YQZyppSolverDialogPluginIf*) locateSymbol("ZYPPDIALOGP"); - - if ( ! impl ) - { - yuiError() << "Plugin " << PLUGIN_BASE_NAME << " does not provide ZYPPP symbol" << endl; - } -} - - -YQZyppSolverDialogPluginStub::~YQZyppSolverDialogPluginStub() -{ - // NOP -} - - -bool -YQZyppSolverDialogPluginStub::createZyppSolverDialog( const zypp::PoolItem item ) -{ - if ( ! impl ) - { - QMessageBox::information( 0, - _("Missing package") , - _("Package libqdialogsolver is required for this feature.")); - return false; - } - - return impl->createZyppSolverDialog( item ); -} - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.16/src/YQZyppSolverDialogPluginStub.h new/libyui-qt-pkg-2.45.18/src/YQZyppSolverDialogPluginStub.h --- old/libyui-qt-pkg-2.45.16/src/YQZyppSolverDialogPluginStub.h 2018-05-07 15:51:54.000000000 +0200 +++ new/libyui-qt-pkg-2.45.18/src/YQZyppSolverDialogPluginStub.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,85 +0,0 @@ -/************************************************************************** -Copyright (C) 2000 - 2010 Novell, Inc. -All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -**************************************************************************/ - - -/*---------------------------------------------------------------------\ -| | -| __ __ ____ _____ ____ | -| \ \ / /_ _/ ___|_ _|___ \ | -| \ V / _` \___ \ | | __) | | -| | | (_| |___) || | / __/ | -| |_|\__,_|____/ |_| |_____| | -| | -| core system | -| (c) SuSE Linux AG | -\----------------------------------------------------------------------/ - - File: YQZyppSolverDialogPluginStub.h - - Authors: Stefan Schubert <sch...@suse.de> - -/-*/ - -// -*- c++ -*- - -#ifndef YQZyppSolverDialogPluginStub_h -#define YQZyppSolverDialogPluginStub_h - - -#include "YUIPlugin.h" - -#include "YQZyppSolverDialogPluginIf.h" -#include <zypp/PoolItem.h> - -class YWidget; - -/** - * Simplified access to the QZyppSolverDialog plugin. - **/ -class YQZyppSolverDialogPluginIf; - - -class YQZyppSolverDialogPluginStub: public YUIPlugin -{ -public: - /** - * Constructor: Load the plugin library for the QZyppDialog widget - **/ - YQZyppSolverDialogPluginStub(); - - /** - * Destructor. - **/ - virtual ~YQZyppSolverDialogPluginStub(); - - /** - * Create and show a QZyppDialog widget - * - * 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. - **/ - virtual bool createZyppSolverDialog( const zypp::PoolItem item ); - - - YQZyppSolverDialogPluginIf * impl ; -}; - - -#endif // YQZyppSolverDialogPluginStub_h