kcombobox doc update

George Staikos staikos at kde.org
Wed Aug 11 23:44:11 BST 2004


After a frustrating bug hunt, I'd like to add this for 3.3 if it's OK and not 
too late by the time I get a response.  Ok?

Note: this is a very confusing API/object!

--- kcombobox.h 6 Mar 2004 22:13:09 -0000       1.139
+++ kcombobox.h 11 Aug 2004 22:42:23 -0000
@@ -63,6 +63,10 @@ class KURL;
  * KCompletionBase::setHandleSignals(bool) or alternatively set the boolean
  * parameter in the @p setCompletionObject call to false.
  *
+ * Beware: The completion object can be deleted on you, especially if a call
+ * such as setEditable(false) is made.  Store the pointer at your own risk,
+ * and consider using QGuardedPtr<KCompletion>.
+ *
  * The default key-bindings for completion and rotation is determined from 
the
  * global settings in KStdAccel. These values, however, can be overridden
  * locally by invoking KCompletionBase::setKeyBinding(). The values can

-- 
George Staikos
KDE Developer			http://www.kde.org/
Staikos Computing Services Inc.	http://www.staikos.net/




More information about the kde-core-devel mailing list