• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

interfaces

KDevelop::IStatus

KDevelop::IStatus Class Reference

#include <istatus.h>

List of all members.


Detailed Description

An interface for plugins, languages etc.

to provide status updates. Plugins only have to implement this extension interface, registration happens automagically. Regular QObjects can register themselves through IUiController like so:

    Foo* f; // some QObject that implements IStatus
    ICore::self()->uiController()->registerStatus(f);

Definition at line 38 of file istatus.h.


Signals

void clearMessage ()
void hideProgress ()
void showError (const QString &message, int timeout=0)
void showMessage (const QString &message, int timeout=0)
void showProgress (int minimum, int maximum, int value)

Public Member Functions

virtual QString statusName () const =0

Member Function Documentation

void KDevelop::IStatus::clearMessage (  )  [signal]

Request the current message for this plugin to be cleared.

void KDevelop::IStatus::hideProgress (  )  [signal]

Hide the progress bar.

void KDevelop::IStatus::showError ( const QString &  message,
int  timeout = 0 
) [signal]

Request an error message to be shown for this plugin, with a given timeout.

Parameters:
message Message to display
timeout Timeout in miliseconds, or pass 0 for no timeout.

void KDevelop::IStatus::showMessage ( const QString &  message,
int  timeout = 0 
) [signal]

Request a status message to be shown for this plugin, with a given timeout.

Parameters:
message Message to display
timeout Timeout in miliseconds, or pass 0 for no timeout.

void KDevelop::IStatus::showProgress ( int  minimum,
int  maximum,
int  value 
) [signal]

Show a progress bar, with the given percentage.

virtual QString KDevelop::IStatus::statusName (  )  const [pure virtual]

Return a name for the status object.


The documentation for this class was generated from the following files:
  • istatus.h
  • istatus.cpp

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal