Commit 8d7b023c authored by Gustavo Carneiro's avatar Gustavo Carneiro Committed by Kurt Hindenburg
Browse files

Add konsole export session header.

    Depends on !221
parent 1641d32c
......@@ -12,7 +12,8 @@ OBJECT
ProfileModel.cpp
${konsoleprofile_SRCS}
)
generate_export_header(konsoleprofile BASE_NAME konsoleprofile)
target_include_directories(konsoleprofile PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(
konsoleprofile
${konsole_LIBS}
......
......@@ -30,7 +30,7 @@
#include <QColor>
// Konsole
#include "konsoleprivate_export.h"
#include "konsoleprofile_export.h"
namespace Konsole {
class ProfileGroup;
......@@ -53,7 +53,7 @@ class ProfileGroup;
* Profiles can be loaded from disk using ProfileReader instances
* and saved to disk using ProfileWriter instances.
*/
class KONSOLEPRIVATE_EXPORT Profile : public QSharedData
class KONSOLEPROFILE_EXPORT Profile : public QSharedData
{
Q_GADGET
......
......@@ -23,7 +23,7 @@
#define PROFILECOMMANDPARSER_H
// Konsole
#include "konsoleprivate_export.h"
#include "konsoleprofile_export.h"
#include "Profile.h"
class QVariant;
......@@ -48,7 +48,7 @@ namespace Konsole
* Icon=konsole;Directory=/home/bob
* @endcode
*/
class KONSOLEPRIVATE_EXPORT ProfileCommandParser
class KONSOLEPROFILE_EXPORT ProfileCommandParser
{
public:
/**
......
......@@ -23,7 +23,7 @@
#define PROFILEGROUP_H
// Konsole
#include "konsoleprivate_export.h"
#include "konsoleprofile_export.h"
#include "Profile.h"
// Qt
......@@ -48,7 +48,7 @@ namespace Konsole
* The Profile::Name and Profile::Path properties are unique to individual
* profiles, setting these properties on a ProfileGroup has no effect.
*/
class KONSOLEPRIVATE_EXPORT ProfileGroup : public Profile
class KONSOLEPROFILE_EXPORT ProfileGroup : public Profile
{
public:
using Ptr = QExplicitlySharedDataPointer<ProfileGroup>;
......
......@@ -27,7 +27,7 @@
// Konsole
#include "Profile.h"
#include "konsoleprivate_export.h"
#include "konsoleprofile_export.h"
class QAction;
class QActionGroup;
......@@ -45,7 +45,7 @@ namespace Konsole {
* The user-data associated with each session can be passed to the createProfile() method of the
* SessionManager to create a new terminal session.
*/
class KONSOLEPRIVATE_EXPORT ProfileList : public QObject
class KONSOLEPROFILE_EXPORT ProfileList : public QObject
{
Q_OBJECT
......
......@@ -39,7 +39,7 @@ namespace Konsole {
* Manages profiles which specify various settings for terminal sessions
* and their displays.
*/
class KONSOLEPRIVATE_EXPORT ProfileManager : public QObject
class KONSOLEPROFILE_EXPORT ProfileManager : public QObject
{
Q_OBJECT
......
......@@ -28,7 +28,7 @@ class KConfig;
namespace Konsole {
/** Interface for all classes which can load profile settings from a file. */
class KONSOLEPRIVATE_EXPORT ProfileReader
class KONSOLEPROFILE_EXPORT ProfileReader
{
public:
ProfileReader();
......
......@@ -28,7 +28,7 @@ class KConfig;
namespace Konsole {
/** Interface for all classes which can write profile settings to a file. */
class KONSOLEPRIVATE_EXPORT ProfileWriter
class KONSOLEPROFILE_EXPORT ProfileWriter
{
public:
ProfileWriter();
......
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