diff options
| author | 2016-05-08 02:36:03 +0100 | |
|---|---|---|
| committer | 2016-05-08 02:37:37 +0100 | |
| commit | 5f0292c32b336be0bb279a7511a9ee37ba9df3fa (patch) | |
| tree | 28dbeb31c6c6aa730b2c79e904633148aff301cc /src/modules/objects/KvsObject_toolButton.cpp | |
| parent | cleanup: separators and spacing (diff) | |
| download | KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.tar.gz KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.tar.bz2 KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.zip | |
cleanup: remove more ancient commented code p3
Diffstat (limited to 'src/modules/objects/KvsObject_toolButton.cpp')
| -rw-r--r-- | src/modules/objects/KvsObject_toolButton.cpp | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/modules/objects/KvsObject_toolButton.cpp b/src/modules/objects/KvsObject_toolButton.cpp index fa0be17eb..176e55f53 100644 --- a/src/modules/objects/KvsObject_toolButton.cpp +++ b/src/modules/objects/KvsObject_toolButton.cpp @@ -31,6 +31,7 @@ #include "KviIconManager.h" #include <QMenu> + /* @doc: toolbutton @keyterms: @@ -282,24 +283,7 @@ KVSO_CLASS_FUNCTION(toolButton, openPopup) ((QToolButton *)widget())->showMenu(); return true; } -/* -KVSO_CLASS_FUNCTION(toolButton,setPopupDelay) -{ - kvs_int_t uDelay; - KVSO_PARAMETERS_BEGIN(c) - KVSO_PARAMETER("delay",KVS_PT_UNSIGNEDINTEGER,0,uDelay) - KVSO_PARAMETERS_END(c) - if (widget()) - ((QToolButton *)widget())->setPopupDelay(uDelay); - return true; -} -KVSO_CLASS_FUNCTION(toolButton,popupDelay) -{ - if (widget()) - c->returnValue()->setInteger(((QToolButton *)widget())->popupDelay()); - return true; -} -*/ + KVSO_CLASS_FUNCTION(toolButton, setTextPosition) { CHECK_INTERNAL_POINTER(widget()) |
