MCPcopy Create free account
hub / github.com/KDE/kdevelop / registerStatus

Method registerStatus

kdevplatform/shell/statusbar.cpp:84–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void StatusBar::registerStatus(QObject* status)
85{
86 Q_ASSERT(qobject_cast<IStatus*>(status));
87 // can't convert this to new signal slot syntax, IStatus is not a QObject
88 connect(status, SIGNAL(clearMessage(KDevelop::IStatus*)),
89 SLOT(clearMessage(KDevelop::IStatus*)));
90 connect(status, SIGNAL(showMessage(KDevelop::IStatus*,QString,int)),
91 SLOT(showMessage(KDevelop::IStatus*,QString,int)));
92 connect(status, SIGNAL(hideProgress(KDevelop::IStatus*)),
93 SLOT(hideProgress(KDevelop::IStatus*)));
94 connect(status, SIGNAL(showProgress(KDevelop::IStatus*,int,int,int)),
95 SLOT(showProgress(KDevelop::IStatus*,int,int,int)));
96 connect(status, SIGNAL(showErrorMessage(QString,int)),
97 SLOT(showErrorMessage(QString,int)));
98}
99
100QWidget* errorMessage(QWidget* parent, const QString& text)
101{

Callers 7

SourceFormatterJobMethod · 0.45
ProjectMethod · 0.45
runBuilderJobMethod · 0.45
runToolMethod · 0.45
runCppcheckMethod · 0.45
GrepJobMethod · 0.45
setupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected