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

List:       kde-commits
Subject:    kdelibs/khtml
From:       John Tapsell <john.tapsell () kdemail ! net>
Date:       2005-03-01 14:18:30
Message-ID: 20050301141830.57C1316EF1 () office ! kde ! org
[Download RAW message or body]

CVS commit by johnflux: 

Write some documentation on statusbar


  M +9 -1      khtml_part.h   1.280


--- kdelibs/khtml/khtml_part.h  #1.279:1.280
@@ -338,5 +338,13 @@ public:
 
   /**
-   * Enable/disable statusbar messages
+   * Enable/disable statusbar messages.
+   * When this class wants to set the statusbar text, it emits
+   * setStatusBarText(const QString & text)
+   * If you want to catch this for your own statusbar, note that it returns
+   * back a rich text string, starting with "<qt>".  This you need to 
+   * either pass this into your own QLabel or to strip out the tags
+   * before passing it to QStatusBar::message(const QString & message)
+   * 
+   * @see KParts::Part::setStatusBarText( const QString & text )
    */
   void setStatusMessagesEnabled( bool enable );


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

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