diff options
| author | 2009-09-02 15:56:45 +0000 | |
|---|---|---|
| committer | 2009-09-02 15:56:45 +0000 | |
| commit | 6d86b51b1030208d99649829cea96de0b64b5ed7 (patch) | |
| tree | c226a1dc617171c0a8f74fcce7d492486fcf24d8 /src/modules/objects/class_button.cpp | |
| parent | - trailing whitespace cleanups all over the place (diff) | |
| download | KVIrc-6d86b51b1030208d99649829cea96de0b64b5ed7.tar.gz KVIrc-6d86b51b1030208d99649829cea96de0b64b5ed7.tar.bz2 KVIrc-6d86b51b1030208d99649829cea96de0b64b5ed7.zip | |
Some fix in code and doc + removed obsolete code
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3466 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/class_button.cpp')
| -rw-r--r-- | src/modules/objects/class_button.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/modules/objects/class_button.cpp b/src/modules/objects/class_button.cpp index 32763d0b3..2ac81395d 100644 --- a/src/modules/objects/class_button.cpp +++ b/src/modules/objects/class_button.cpp @@ -5,7 +5,7 @@ // // This file is part of the KVirc irc client distribution // Copyright (C) 2000 Krzysztof Godlewski -// Copyright (C) 2000-2008 Szymon Stefanek (pragma at kvirc dot net) +// Copyright (C) 2000-2009 Szymon Stefanek (pragma at kvirc dot net) // // This program is FREE software. You can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -58,13 +58,15 @@ !fn: $setImage(<image_id_or_pixmap_object>) Sets the icon for this button. See the [doc:image_id]image identifier[/doc] documentation for the explaination of the <image_id> parameter. - @signals: + !fn: $clickEvent() + Called by KVIrc when the mouse button is clicked. + The default implementation emits the [classfnc]$clicked[/classfnc]()signal. + @signals: !sg: $clicked() This signal is emitted by the default implementation of [classfnc]$clickEvent[/classfnc](). - @properties: + @properties: !pr: $scaledContents() This property holds whether the label will scale its contents to fill all available space. - */ |
