42 #ifndef YQPkgChangesDialog_h
43 #define YQPkgChangesDialog_h
70 FilterIndexAutomatic = 2
80 FilterAutomatic = 0x2,
83 Q_DECLARE_FLAGS(Filters,
Filter);
91 OptionAutoAcceptIfEmpty = 0x1
93 Q_DECLARE_FLAGS(Options,
Option);
107 void setFilter(
const QRegExp ®exp, Filters f );
122 const QString & message,
123 const QString & acceptButtonLabel,
124 const QString & rejectButtonLabel = QString::null,
125 Filters f = FilterAutomatic,
126 Options o = OptionAutoAcceptIfEmpty );
142 const QString & message,
143 const QRegExp & regexp,
144 const QString & acceptButtonLabel,
145 const QString & rejectButtonLabel = QString::null,
146 Filters f = FilterAutomatic,
147 Options o = OptionAutoAcceptIfEmpty );
175 const QString & message,
176 const QString & acceptButtonLabel,
177 const QString & rejectButtonLabel = QString::null );
185 void filter( Filters f = FilterAutomatic );
193 void filter(
const QRegExp & regexp, Filters f = FilterAutomatic );
198 virtual bool extraFilter( ZyppSel sel, ZyppPkg pkg );
212 Q_DECLARE_OPERATORS_FOR_FLAGS(YQPkgChangesDialog::Filters);
213 Q_DECLARE_METATYPE(YQPkgChangesDialog::Filters);
231 const QString &message,
232 const QString &acceptButtonLabel,
233 const QString &rejectButtonLabel = QString::null );
248 const QString & message,
249 const QString & acceptButtonLabel,
250 const QString & rejectButtonLabel = QString::null,
251 Filters f = FilterAutomatic,
252 Options o = OptionAutoAcceptIfEmpty );
257 virtual bool extraFilter( ZyppSel sel, ZyppPkg pkg );
262 #endif // ifndef YQPkgChangesDialog_h