libyui-gtk-pkg  2.43.2
 All Classes
ygtkpkgsearchentry.h
1 /********************************************************************
2  * YaST2-GTK - http://en.opensuse.org/YaST2-GTK *
3  ********************************************************************/
4 
5 /* Zypp search query interface..
6 */
7 
8 #ifndef YGTK_PKG_SEARCH_ENTRY_H
9 #define YGTK_PKG_SEARCH_ENTRY_H
10 
11 #include "ygtkpkgquerywidget.h"
12 #include "ygtkpkglistview.h"
13 
15 {
17  virtual ~YGtkPkgSearchEntry();
18 
19  virtual GtkWidget *getWidget();
20 
21  virtual bool begsUpdate() { return false; }
22  virtual void updateList (Ypp::List list) {}
23 
24  virtual void clearSelection();
25  virtual bool writeQuery (Ypp::PoolQuery &query);
26 
27  virtual GtkWidget *createToolbox();
28 
29  void setText (Ypp::PoolQuery::StringAttribute attribute, const std::string &text);
30  void setActivateWidget (GtkWidget *widget);
31 
32  Ypp::PoolQuery::StringAttribute getAttribute();
33  std::list <std::string> getText();
34  std::string getTextStr();
35 
36  struct Impl;
37  Impl *impl;
38 };
39 
40 #endif
41