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

List:       kde-commits
Subject:    kdelibs/kdeui
From:       David Faure <faure () kde ! org>
Date:       2002-12-04 11:28:01
[Download RAW message or body]

CVS commit by faure: 

Doh, createGUI() should go before applyBlah, so that the settings (icon size,
text under icon etc.) are kept.


  M +4 -4      kedittoolbar.h   1.27


--- kdelibs/kdeui/kedittoolbar.h:1.26	Tue Dec  3 22:35:43 2002
@@ -69,8 +69,8 @@
  * void MyClass::slotNewToolbarConfig() // This is called when OK or Apply is clicked
  * {
  *    ...if you use any action list, use plugActionList on each here...
- *    applyMainWindowSettings( KGlobal::config(), "MainWindow" );
  *    createGUI();
+ *    applyMainWindowSettings( KGlobal::config(), "MainWindow" );
  * }
  * </pre>
  *
@@ -93,14 +93,14 @@
  * void MyClass::slotNewToolbarConfig() // This is called when OK or Apply is clicked
  * {
  *    ...if you use any action list, use plugActionList on each here...
- *    applyMainWindowSettings( KGlobal::config(), "MainWindow" );
  *    // Do NOT call createGUI()!
+ *    applyMainWindowSettings( KGlobal::config(), "MainWindow" );
  * }
  * </pre>
  *
  * @short A dialog used to customize or configure toolbars.
  * @author Kurt Granroth <granroth@kde.org>
- * @id $Id: kedittoolbar.h,v 1.26 2002/12/03 21:35:43 faure Exp $
+ * @id $Id: kedittoolbar.h,v 1.27 2002/12/04 11:28:01 faure Exp $
  */
 class KEditToolbar : public KDialogBase
 {
@@ -214,7 +214,7 @@
  *
  * @short A widget used to customize or configure toolbars
  * @author Kurt Granroth <granroth@kde.org>
- * @id $Id: kedittoolbar.h,v 1.26 2002/12/03 21:35:43 faure Exp $
+ * @id $Id: kedittoolbar.h,v 1.27 2002/12/04 11:28:01 faure Exp $
  */
 class KEditToolbarWidget : public QWidget, virtual public KXMLGUIClient
 {

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

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