Das K Desktop Environment

5.4. Configuring Statusbars

The KDevelop projects already make use of the statusbar by providing statusbar messages for menu-entries and toolbar buttons. When adding a menuentry, also add your status message in the method statusCallback().

statusCallback() uses the method slotStatusHelpMsg() to display a statusbar message for two seconds. When executing a command, you should use the method slotStatusMsg() at the beginning with the string describing what your application does; before a return or method end, you should reset the statusbar message with a "Ready." string calling the same method.