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

Merge remote-tracking branch 'origin/Applications/17.04'

parents d21e923c 235d7a0d
......@@ -85,7 +85,9 @@ else()
endif()
endif()
if(BUILD_TESTING)
add_definitions(-DBUILD_TESTING)
endif(BUILD_TESTING)
########### Targets ###########
add_subdirectory(src)
......
/* This file is part of the KDE project
Copyright (C) 2017 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef KPIMTEXTEDITPRIVATE_EXPORT_H
#define KPIMTEXTEDITPRIVATE_EXPORT_H
#include "kpimtextedit_export.h"
/* Classes which are exported only for unit tests */
#ifdef BUILD_TESTING
# ifndef KPIMTEXTEDIT_TESTS_EXPORT
# define KPIMTEXTEDIT_TESTS_EXPORT KPIMTEXTEDIT_EXPORT
# endif
#else /* not compiling tests */
# define KPIMTEXTEDIT_TESTS_EXPORT
#endif
#endif
......@@ -21,11 +21,11 @@
#define TEXTTOSPEECHCONFIGDIALOG_H
#include <QDialog>
#include "kpimtextedit_export.h"
#include "kpimtextedit_private_export.h"
namespace KPIMTextEdit
{
class TextToSpeechConfigWidget;
class KPIMTEXTEDIT_EXPORT TextToSpeechConfigDialog : public QDialog
class KPIMTEXTEDIT_TESTS_EXPORT TextToSpeechConfigDialog : public QDialog
{
Q_OBJECT
public:
......
......@@ -20,14 +20,14 @@
#ifndef TEXTTOSPEECHCONFIGWIDGET_H
#define TEXTTOSPEECHCONFIGWIDGET_H
#include <QWidget>
#include "kpimtextedit_export.h"
#include "kpimtextedit_private_export.h"
class QSlider;
class QComboBox;
namespace KPIMTextEdit
{
class TextToSpeechLanguageComboBox;
class AbstractTextToSpeechConfigInterface;
class KPIMTEXTEDIT_EXPORT TextToSpeechConfigWidget : public QWidget
class KPIMTEXTEDIT_TESTS_EXPORT TextToSpeechConfigWidget : public QWidget
{
Q_OBJECT
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