Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
QHyodaX11Emacs.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7#ifndef Q_HYODA_EMACS_H
8#define Q_HYODA_EMACS_H
9
10#include <QtWidgets>
11#include "QHyoda.h"
12#include "QHyodaX11.h"
13
14/****************************************************/
16 Q_OBJECT
17public:
18 QHyodaX11Emacs(QWidget*,QString);
19 ~QHyodaX11Emacs(void);
20public:
21 void launchEmacsInWindow(QWidget*, QString);
22 void launchXtermInWindow(QWidget *widget);
23private:
24 void launchServerInWindow(QWidget*, QString);
25 void launchClient(QString);
26public slots:
27 void serverFinished(int, QProcess::ExitStatus);
28 void serverReadyReadStandardOutput(void);
29 void clientFinished(int, QProcess::ExitStatus);
30 void clientReadyReadStandardOutput(void);
31 void xtermFinished(int, QProcess::ExitStatus);
32 void xtermReadyReadStandardOutput(void);
33public slots:
34 void clientClosed();
35 void clientIsEmbedded();
36 //void error(QX11EmbedContainer::Error);
37private:
38 bool serverUp;
39};
40
41#endif // Q_HYODA_EMACS_H