libyui-gtk-pkg
2.42.9
Main Page
Classes
Files
File List
All
Classes
ygtkpkgquerycombo.h
1
/********************************************************************
2
* YaST2-GTK - http://en.opensuse.org/YaST2-GTK *
3
********************************************************************/
4
5
/* Comprises several QueryWidget widgets.
6
You probably want to use this in cooperation with YGtkPkgFilerBox.
7
*/
8
9
#ifndef YGTK_PKG_QUERY_COMBO_H
10
#define YGTK_PKG_QUERY_COMBO_H
11
12
#include "ygtkpkgquerywidget.h"
13
#include <gtk/gtk.h>
14
15
struct
YGtkPkgQueryCombo
:
public
YGtkPkgQueryWidget
16
{
17
struct
Factory
{
18
virtual
YGtkPkgQueryWidget
*createQueryWidget (
19
YGtkPkgQueryCombo
*combo,
int
index) = 0;
20
};
21
22
YGtkPkgQueryCombo
(
Factory
*factory);
23
virtual
~
YGtkPkgQueryCombo
();
24
virtual
GtkWidget *getWidget();
25
26
void
add (
const
char
*title);
27
void
setActive (
int
index);
28
29
virtual
bool
begsUpdate();
30
virtual
void
updateList (
Ypp::List
list);
31
32
virtual
void
clearSelection();
33
virtual
bool
writeQuery (
Ypp::PoolQuery
&query);
34
35
virtual
GtkWidget *createToolbox();
36
37
virtual
void
setListener (
Listener
*listener);
38
39
struct
Impl
;
40
Impl
*impl;
41
};
42
43
#endif
44
YGtkPkgQueryWidget::Listener
Definition:
ygtkpkgquerywidget.h:30
Ypp::PoolQuery
Definition:
yzyppwrapper.h:370
YGtkPkgQueryCombo::Impl
Definition:
ygtkpkgquerycombo.cc:18
YGtkPkgQueryCombo
Definition:
ygtkpkgquerycombo.h:15
YGtkPkgQueryCombo::Factory
Definition:
ygtkpkgquerycombo.h:17
YGtkPkgQueryWidget
Definition:
ygtkpkgquerywidget.h:14
Ypp::List
Definition:
yzyppwrapper.h:419
src
ygtkpkgquerycombo.h
Generated by
1.8.5