Commit d65cebd2 authored by Laurent Montel's avatar Laurent Montel 😁

Fix typo

parent 91770714
...@@ -33,3 +33,9 @@ add_test(nicknamewidgettest nicknamewidgettest) ...@@ -33,3 +33,9 @@ add_test(nicknamewidgettest nicknamewidgettest)
ecm_mark_as_test(nicknamewidgettest) ecm_mark_as_test(nicknamewidgettest)
target_link_libraries(nicknamewidgettest Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::I18n ) target_link_libraries(nicknamewidgettest Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::I18n )
set(messageformattingwidgettest_SRCS messageformattingwidgettest.cpp)
add_executable(messageformattingwidgettest ${messageformattingwidgettest_SRCS})
add_test(messageformattingwidgettest messageformattingwidgettest)
ecm_mark_as_test(messageformattingwidgettest)
target_link_libraries(messageformattingwidgettest Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::I18n )
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
*/ */
#include "messageformattingwidgettext.h" #include "messageformattingwidgettest.h"
#include <QTest> #include <QTest>
MessageFormattingWidgetText::MessageFormattingWidgetText(QObject *parent) MessageFormattingWidgetTest::MessageFormattingWidgetTest(QObject *parent)
: QObject(parent) : QObject(parent)
{ {
} }
QTEST_MAIN(MessageFormattingWidgetText) QTEST_MAIN(MessageFormattingWidgetTest)
...@@ -19,17 +19,17 @@ ...@@ -19,17 +19,17 @@
02110-1301, USA. 02110-1301, USA.
*/ */
#ifndef MESSAGEFORMATTINGWIDGETTEXT_H #ifndef MESSAGEFORMATTINGWIDGETTEST_H
#define MESSAGEFORMATTINGWIDGETTEXT_H #define MESSAGEFORMATTINGWIDGETTEST_H
#include <QObject> #include <QObject>
class MessageFormattingWidgetText : public QObject class MessageFormattingWidgetTest : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit MessageFormattingWidgetText(QObject *parent = nullptr); explicit MessageFormattingWidgetTest(QObject *parent = nullptr);
~MessageFormattingWidgetText() = default; ~MessageFormattingWidgetTest() = default;
}; };
#endif // MESSAGEFORMATTINGWIDGETTEXT_H #endif // MESSAGEFORMATTINGWIDGETTEST_H
...@@ -24,9 +24,10 @@ ...@@ -24,9 +24,10 @@
#include <QWidget> #include <QWidget>
#include <KContacts/Addressee> #include <KContacts/Addressee>
#include "akonadicontact_private_export.h"
class QComboBox; class QComboBox;
class QCheckBox; class QCheckBox;
class MessageFormattingWidget : public QWidget class AKONADI_CONTACTS_TESTS_EXPORT MessageFormattingWidget : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
......
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