aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/remotelinux/x11forwardingaspect.h
blob: 5379326581db1987a4bf4002ccc08a75616dcc00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include "remotelinux_export.h"

#include <utils/aspects.h>

namespace Utils { class MacroExpander; }

namespace RemoteLinux {

class REMOTELINUX_EXPORT X11ForwardingAspect : public Utils::StringAspect
{
    Q_OBJECT

public:
    X11ForwardingAspect(const Utils::MacroExpander *macroExpander);

    struct Data : StringAspect::Data
    {
        QString display;
    };

    QString display() const;

private:
    const Utils::MacroExpander *m_macroExpander;
};

} // namespace RemoteLinux