1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
15 Author: Stefan Hundhammer <sh@suse.de>
19 #ifndef YQUIComponent_h
20 #define YQUIComponent_h
22 #define y2log_component "qt-ui"
23 #include <ycp/y2log.h>
25 #include <YUIComponent.h>
29 class YQUIComponent : public YUIComponent
33 YQUIComponent(): YUIComponent() {}
36 * Create a Qt UI. This is called from within setServerOptions().
38 * Reimplemented from YUIComponent.
40 virtual YUI * createUI( int argc, char **argv, bool with_threads, const char * macro_file )
42 return new YQUI( argc, argv, with_threads, macro_file );
46 * Returns the name of this YaST2 component.
48 * Reimplemented from YUIComponent.
50 virtual string name() const { return "qt4"; }
55 #endif // YQUIComponent_h