Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit b14926e5 authored by Manuel Breugelmans's avatar Manuel Breugelmans

Adapt to changes in kdevplatform.

parent fe677a7b
......@@ -12,3 +12,4 @@ if (CHECK_FOUND)
add_subdirectory(check)
endif (CHECK_FOUND)
add_subdirectory(spikey)
......@@ -22,7 +22,7 @@
#include <kasserts.h>
#include <qtest_kde.h>
#include <ui_statuswidget.h>
#include <ui_runnerwindow.h>
#include <runnerwindow.h>
#include <runnermodel.h>
#include "plugins/xtest/cppunit/register.h"
......@@ -227,7 +227,7 @@ void CheckRunnerTest::initNrun(const char* exe)
// helper
void CheckRunnerTest::checkStatusWidget(QMap<QString, QString> labels)
{
Ui::StatusWidget* status = m_window->statusWidget();
const Ui::RunnerWindow* status = m_window->statusWidget();
// validate the status widget
KOMPARE(labels["total"], status->labelNumTotal->text());
......
......@@ -22,7 +22,7 @@
#include <kasserts.h>
#include <qtest_kde.h>
#include <ui_statuswidget.h>
#include <ui_runnerwindow.h>
#include <runnerwindow.h>
#include <runnermodel.h>
#include <testresult.h>
......@@ -215,7 +215,7 @@ void CppUnitRunnerTest::initNrun(const char* exe)
// helper
void CppUnitRunnerTest::checkStatusWidget(QMap<QString, QString> labels)
{
Ui::StatusWidget* status = m_window->statusWidget();
const Ui::RunnerWindow* status = m_window->statusWidget();
// validate the status widget
KOMPARE(labels["total"], status->labelNumTotal->text());
......
......@@ -26,7 +26,7 @@
#include <QTreeView>
#include <QModelIndex>
#include <QAbstractItemModel>
#include <ui_statuswidget.h>
#include <ui_runnerwindow.h>
#include <qtestregister.h>
#include <runnermodel.h>
......@@ -202,7 +202,7 @@ void QTestRunnerTest::initNrun(QByteArray& regXml)
// helper
void QTestRunnerTest::checkStatusWidget(QMap<QString, QString> labels)
{
Ui::StatusWidget* status = m_window->statusWidget();
const Ui::RunnerWindow* status = m_window->statusWidget();
// validate the status widget
KOMPARE(labels["total"], status->labelNumTotal->text());
......
......@@ -19,6 +19,7 @@
*/
#include <QFile>
#include <QMainWindow>
#include <KApplication>
#include <KComponentData>
#include <KAboutData>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment