[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdeui
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2005-07-12 13:30:39
Message-ID: 1121175039.254191.4735.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 433987 by staniek:

let push button reuse a tooltip from gui item



 M  +3 -0      kpushbutton.cpp  


--- trunk/KDE/kdelibs/kdeui/kpushbutton.cpp #433986:433987
@@ -21,6 +21,7 @@
 
 #include <qdragobject.h>
 #include <qwhatsthis.h>
+#include <qtooltip.h>
 
 #include "config.h"
 
@@ -99,6 +100,8 @@
 
     setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum ) );
 
+    QToolTip::add( this, item.toolTip() );
+
     QWhatsThis::add( this, item.whatsThis() );
 
     if (kapp)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic