mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-29 08:49:59 +02:00
Fix indentation code
This commit is contained in:
@@ -46,7 +46,7 @@ class SingleApplication : public QAPPLICATION_CLASS
|
|||||||
|
|
||||||
typedef QAPPLICATION_CLASS app_t;
|
typedef QAPPLICATION_CLASS app_t;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* @brief Mode of operation of SingleApplication.
|
* @brief Mode of operation of SingleApplication.
|
||||||
* Whether the block should be user-wide or system-wide and whether the
|
* Whether the block should be user-wide or system-wide and whether the
|
||||||
@@ -122,11 +122,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool sendMessage( QByteArray message, int timeout = 100 );
|
bool sendMessage( QByteArray message, int timeout = 100 );
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void instanceStarted();
|
void instanceStarted();
|
||||||
void receivedMessage( quint32 instanceId, QByteArray message );
|
void receivedMessage( quint32 instanceId, QByteArray message );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SingleApplicationPrivate *d_ptr;
|
SingleApplicationPrivate *d_ptr;
|
||||||
Q_DECLARE_PRIVATE(SingleApplication)
|
Q_DECLARE_PRIVATE(SingleApplication)
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,8 +53,8 @@ struct ConnectionInfo {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class SingleApplicationPrivate : public QObject {
|
class SingleApplicationPrivate : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
enum ConnectionType : quint8 {
|
enum ConnectionType : quint8 {
|
||||||
InvalidConnection = 0,
|
InvalidConnection = 0,
|
||||||
NewInstance = 1,
|
NewInstance = 1,
|
||||||
@@ -90,7 +90,7 @@ public:
|
|||||||
SingleApplication::Options options;
|
SingleApplication::Options options;
|
||||||
QMap<QLocalSocket*, ConnectionInfo> connectionMap;
|
QMap<QLocalSocket*, ConnectionInfo> connectionMap;
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void slotConnectionEstablished();
|
void slotConnectionEstablished();
|
||||||
void slotDataAvailable( QLocalSocket*, quint32 );
|
void slotDataAvailable( QLocalSocket*, quint32 );
|
||||||
void slotClientConnectionClosed( QLocalSocket*, quint32 );
|
void slotClientConnectionClosed( QLocalSocket*, quint32 );
|
||||||
|
|||||||
Reference in New Issue
Block a user