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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/xmlgui
From:       David Faure <faure () kde ! org>
Date:       2008-04-17 20:44:27
Message-ID: 1208465067.568162.27028.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 798259 by dfaure:

Explain how to use setupGUI() in kparts mainwindows, a problem that bothered Stephen Kelly on irc.


 M  +6 -0      kxmlguiwindow.h  


--- trunk/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.h #798258:798259
@@ -258,6 +258,12 @@
         /**
          * calls createGUI() once ToolBar, Keys and Statusbar have been
          * taken care of.  @see createGUI
+         *
+         * NOTE: when using KParts::MainWindow, remove this flag from the
+         * setupGUI call, since you'll be using createGUI(part) instead.
+         * @code
+         *     setupGUI(ToolBar | Keys | StatusBar | Save);
+         * @endcode
          */
         Create = 16,
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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