YLabel.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013   File:       YLabel.h
00014 
00015   Author:     Mathias Kettner <kettner@suse.de>
00016   Maintainer: Stefan Hundhammer <sh@suse.de>
00017 
00018 /-*/
00019 
00020 #ifndef YLabel_h
00021 #define YLabel_h
00022 
00023 #include "YWidget.h"
00024 #include <ycp/YCPString.h>
00025 
00029 class YLabel : public YWidget
00030 {
00031 public:
00032 
00037     YLabel( const YWidgetOpt & opt, YCPString text );
00038 
00043     virtual char *widgetClass() { return "YLabel"; }
00044 
00048     YCPValue changeWidget( const YCPSymbol & property, const YCPValue & newvalue );
00049 
00053     YCPValue queryWidget( const YCPSymbol & property );
00054 
00059     virtual void setLabel( const YCPString & label );
00060 
00066     YCPString getLabel();
00067     
00074     virtual std::string debugLabel();
00075 
00076     
00077 protected:
00081     YCPString text;
00082 };
00083 
00084 
00085 #endif // YLabel_h

Generated on Fri Jun 16 18:07:45 2006 for yast2-core by  doxygen 1.4.6