Add konsole export session header.

Depends on https://invent.kde.org/utilities/konsole/-/merge_requests/221
wilder
Gustavo Carneiro 6 years ago committed by Kurt Hindenburg
parent 1641d32cce
commit 8d7b023cf8
  1. 3
      src/profile/CMakeLists.txt
  2. 4
      src/profile/Profile.h
  3. 4
      src/profile/ProfileCommandParser.h
  4. 4
      src/profile/ProfileGroup.h
  5. 4
      src/profile/ProfileList.h
  6. 2
      src/profile/ProfileManager.h
  7. 2
      src/profile/ProfileReader.h
  8. 2
      src/profile/ProfileWriter.h

@ -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();

Loading…
Cancel
Save