File: secondaryinstancewidget.h

package info (click to toggle)
kdsingleapplication 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: cpp: 1,107; makefile: 16
file content (36 lines) | stat: -rw-r--r-- 780 bytes parent folder | download
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
33
34
35
36
/*
  This file is part of KDSingleApplication.

  SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>

  SPDX-License-Identifier: MIT

  Contact KDAB at <info@kdab.com> for commercial licensing options.
*/

#ifndef SECONDARYINSTANCEWIDGET_H
#define SECONDARYINSTANCEWIDGET_H

#include <QWidget>

QT_BEGIN_NAMESPACE
class QLineEdit;
QT_END_NAMESPACE

class KDSingleApplication;

class SecondaryInstanceWidget : public QWidget
{
    Q_OBJECT

public:
    explicit SecondaryInstanceWidget(KDSingleApplication *kdsa,
                                     QWidget *parent = nullptr);

private:
    void sendMessage();
    KDSingleApplication *m_kdsa = nullptr;
    QLineEdit *m_messageEdit = nullptr;
};

#endif // SECONDARYINSTANCEWIDGET_H