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

List:       kde-devel
Subject:    PATCH FOR KACTION (again)
From:       Joachim Ansorg <Jockel123 () gmx ! de>
Date:       2000-04-24 18:05:28
[Download RAW message or body]

Hi!

Could someone please apply this patch?

I sent it some days ago but nobody noticed.
The patch enables QWhatsThis for toolbar items which was only available for menu entries.

THANKS!

-- Joachim
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de

["kaction_patch.diff" (text/x-c++)]

--- /cvs/kde2/kdelibs/kdeui/kaction.cpp	Wed Apr 19 13:32:42 2000
+++ /cvs/kde2/kdelibs/kdeui/kaction.cpp.patched	Fri Apr 21 00:23:31 2000
@@ -32,7 +32,7 @@
 #include <qtl.h>
 #include <qptrdict.h>
 #include <qfontdatabase.h>
-
+#include <qwhatsthis.h>
 #include <kiconloader.h>
 
 static QFontDatabase *fontDataBase = 0;
@@ -417,6 +417,7 @@
                          index );
     }
 
+    QWhatsThis::add( bar->getButton(id_), whatsThis() );
     addContainer( bar, id_ );
 
     connect( bar, SIGNAL( destroyed() ), this, SLOT( slotDestroyed() ) );


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

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