+/***************************************************************************
+* this file is from kdeedu project. Filename: libkeduvocdocument_export.h
+***************************************************************************/
+
/* This file is part of the KDE project
Copyright (C) 2007 David Faure <faure@kde.org>
+ Copyright (C) 2010, 2012 Reto Zingg <g.d0b3rm4n@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
Boston, MA 02110-1301, USA.
*/
-#ifndef LIBKEDUVOCDOCUMENT_EXPORT_H
-#define LIBKEDUVOCDOCUMENT_EXPORT_H
+#ifndef LIBQMVOCDOCUMENT_EXPORT_H
+#define LIBQMVOCDOCUMENT_EXPORT_H
/* needed for KDE_EXPORT and KDE_IMPORT macros */
-#include <kdemacros.h>
+// #include <kdemacros.h>
+
+#define KDE_EXPORT __attribute__ ((visibility("default")))
+#define KDE_IMPORT __attribute__ ((visibility("default")))
+
+#ifdef __cplusplus
+# include <QtCore/qglobal.h>
+# ifndef KDE_DEPRECATED
+# ifdef KDE_DEPRECATED_WARNINGS
+# define KDE_DEPRECATED Q_DECL_DEPRECATED
+# else
+# define KDE_DEPRECATED
+# endif
+# endif
+#endif
+
+
#ifndef KEDUVOCDOCUMENT_EXPORT
# if defined(MAKE_KEDUVOCDOCUMENT_LIB)
/* We are building this library */
-# define KEDUVOCDOCUMENT_EXPORT KDE_EXPORT
+# define QMVOCDOCUMENT_EXPORT KDE_EXPORT
# else
/* We are using this library */
-# define KEDUVOCDOCUMENT_EXPORT KDE_IMPORT
+# define QMVOCDOCUMENT_EXPORT KDE_IMPORT
# endif
#endif
# ifndef KEDUVOCDOCUMENT_EXPORT_DEPRECATED
-# define KEDUVOCDOCUMENT_EXPORT_DEPRECATED KDE_DEPRECATED KEDUVOCDOCUMENT_EXPORT
+# define KEDUVOCDOCUMENT_EXPORT_DEPRECATED KDE_DEPRECATED QMVOCDOCUMENT_EXPORT
# endif
#endif
+