libyui-qt-pkg
Loading...
Searching...
No Matches
YQPkgUpdateProblemFilterView.h
1/*
2 Copyright (c) 2000 - 2010 Novell, Inc.
3 Copyright (c) 2021 SUSE LLC
4
5 This library is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as
7 published by the Free Software Foundation; either version 2.1 of the
8 License, or (at your option) version 3.0 of the License. This library
9 is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12 License for more details. You should have received a copy of the GNU
13 Lesser General Public License along with this library; if not, write
14 to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
15 Floor, Boston, MA 02110-1301 USA
16*/
17
18
19/*
20 File: YQPkgUpdateProblemFilterView.h
21 Author: Stefan Hundhammer <shundhammer.de>
22*/
23
24
25#ifndef YQPkgUpdateProblemFilterView_h
26#define YQPkgUpdateProblemFilterView_h
27
28
29#include "YQZypp.h"
30#include <QTextBrowser>
31#include "YQPkgSelMapper.h"
32
33
37class YQPkgUpdateProblemFilterView : public QTextBrowser
38{
39 Q_OBJECT
40
41public:
42
46 YQPkgUpdateProblemFilterView( QWidget * parent );
47
52
57 static bool haveProblematicPackages();
58
59
60public slots:
61
69 void filter();
70
74 void filterIfVisible();
75
76
77signals:
78
84
88 void filterMatch( ZyppSel selectable,
89 ZyppPkg pkg );
90
95
96
97protected:
98
99 YQPkgSelMapper _selMapper;
100};
101
102
103
104#endif // ifndef YQPkgUpdateProblemFilterView_h
Definition YQPkgSelMapper.h:40
Filter view for packages that made problems during update.
Definition YQPkgUpdateProblemFilterView.h:38
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
void filter()
Definition YQPkgUpdateProblemFilterView.cc:84
static bool haveProblematicPackages()
Definition YQPkgUpdateProblemFilterView.cc:117
void filterIfVisible()
Definition YQPkgUpdateProblemFilterView.cc:76
YQPkgUpdateProblemFilterView(QWidget *parent)
Definition YQPkgUpdateProblemFilterView.cc:44
virtual ~YQPkgUpdateProblemFilterView()
Definition YQPkgUpdateProblemFilterView.cc:70