[QGIS Commit] r11752 - trunk/qgis/src/app/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Oct 3 18:40:24 EDT 2009


Author: timlinux
Date: 2009-10-03 18:40:23 -0400 (Sat, 03 Oct 2009)
New Revision: 11752

Modified:
   trunk/qgis/src/app/composer/qgscomposer.cpp
   trunk/qgis/src/app/composer/qgscomposer.h
Log:
Added event handler for context help in composer

Modified: trunk/qgis/src/app/composer/qgscomposer.cpp
===================================================================
--- trunk/qgis/src/app/composer/qgscomposer.cpp	2009-10-03 22:29:32 UTC (rev 11751)
+++ trunk/qgis/src/app/composer/qgscomposer.cpp	2009-10-03 22:40:23 UTC (rev 11752)
@@ -1025,16 +1025,11 @@
   }
 }
 
-void QgsComposer::on_helpPButton_clicked()
+void QgsComposer::on_buttonBox_helpRequested()
 {
   QgsContextHelp::run( context_id );
 }
 
-void QgsComposer::on_closePButton_clicked()
-{
-  close();
-}
-
 void  QgsComposer::writeXML( QDomDocument& doc )
 {
 

Modified: trunk/qgis/src/app/composer/qgscomposer.h
===================================================================
--- trunk/qgis/src/app/composer/qgscomposer.h	2009-10-03 22:29:32 UTC (rev 11751)
+++ trunk/qgis/src/app/composer/qgscomposer.h	2009-10-03 22:40:23 UTC (rev 11752)
@@ -188,11 +188,8 @@
     void saveWindowState();
 
     //! Slot for when the help button is clicked
-    void on_helpPButton_clicked();
+    void on_buttonBox_helpRequested();
 
-    //! Slot for when the close button is clicked
-    void on_closePButton_clicked();
-
     /**Add a composer map to the item/widget map and creates a configuration widget for it*/
     void addComposerMap( QgsComposerMap* map );
 



More information about the QGIS-commit mailing list