[PATCH] Documentation on using KJanusWidget

Ravikiran Rajagopal ravi at ee.eng.ohio-state.edu
Wed May 14 00:02:01 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
  I believe I have found the solution to a longstanding problem in 
KJanusWidget for which workarounds exist in noatun, kopete, etc. Could 
someone familiar with the internals of the Qt event loop look at this pretty 
simple documentation patch and tell me whether I am merely covering up an 
even deeper problem?

Regards,
Ravi

Index: kjanuswidget.h
===================================================================
RCS file: /home/kde/kdelibs/kdeui/kjanuswidget.h,v
retrieving revision 1.34
diff -u -p -w -r1.34 kjanuswidget.h
- --- kjanuswidget.h      26 Feb 2003 10:45:41 -0000      1.34
+++ kjanuswidget.h      13 May 2003 22:56:46 -0000
@@ -81,7 +81,9 @@ class QListViewItem;
  * @ref #minimumSizeHint() or @ref #sizeHint() methods.
  *
  * Pages that have been added in TreeList, IconList or Tabbed mode can be
- - * removed by simply deleting the page.
+ * removed by simply deleting the page. However, it would be preferable to 
use
+ * the QObject::deleteLater() function on the page as the main event loop
+ * may have optimized UI update events of the page by scheduling them for 
later.
  *
  * @short Easy to use widget with many layouts
  * @author Espen Sand (espen at kde.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+wXlpbI8Y8y0oVXcRAtDvAJ9y/E1Jjn8jBbg03bFqgM6mFiNsiACeI/Zg
bGTg5jxi8pb+TnTLD1d3s5U=
=4APX
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list