Commit f54e86f2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use private export

parent 892164c9
......@@ -19,12 +19,12 @@
#define QUICKSEARCHWARNING_H
#include <KMessageWidget>
#include "messagelist_export.h"
#include "messagelist_private_export.h"
namespace MessageList
{
namespace Core
{
class MESSAGELIST_EXPORT QuickSearchWarning : public KMessageWidget
class MESSAGELIST_TESTS_EXPORT QuickSearchWarning : public KMessageWidget
{
Q_OBJECT
public:
......
/* 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 MESSAGELISTPRIVATE_EXPORT_H
#define MESSAGELISTPRIVATE_EXPORT_H
#include "messagelist_export.h"
/* Classes which are exported only for unit tests */
#ifdef BUILD_TESTING
# ifndef MESSAGELIST_TESTS_EXPORT
# define MESSAGELIST_TESTS_EXPORT MESSAGELIST_EXPORT
# endif
#else /* not compiling tests */
# define MESSAGELIST_TESTS_EXPORT
#endif
#endif
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