WebButtonHelp.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include "WebButtonHelp.h"
00023
00024
00025 namespace Web {
00026
00027 static unsigned char help_bits[] =
00028 {
00029 0x18, 0x18, 0x00, 0x1c, 0x18, 0x18, 0x18, 0x3c
00030 };
00031
00032 WebButtonHelp::WebButtonHelp(QWidget * parent, WebClient* deco)
00033 : WebButton(parent, i18n("Help"), deco)
00034 {
00035 QBitmap b(8, 8, help_bits, true );
00036 b.setMask(b);
00037 setBitmap(b);
00038 }
00039
00040 void
00041 WebButtonHelp::clickEvent(int )
00042 {
00043 emit(help());
00044 }
00045
00046 }
00047
00048 #include "WebButtonHelp.moc"
00049
This file is part of the documentation for kwin Library Version 3.4.3.