Fix indentation code

This commit is contained in:
Laurent Trinques
2020-07-15 20:35:23 +02:00
parent 350e7e5233
commit 7ed71a6312
2 changed files with 137 additions and 137 deletions

View File

@@ -46,7 +46,7 @@ class SingleApplication : public QAPPLICATION_CLASS
typedef QAPPLICATION_CLASS app_t;
public:
public:
/**
* @brief Mode of operation of SingleApplication.
* 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 );
Q_SIGNALS:
Q_SIGNALS:
void instanceStarted();
void receivedMessage( quint32 instanceId, QByteArray message );
private:
private:
SingleApplicationPrivate *d_ptr;
Q_DECLARE_PRIVATE(SingleApplication)
};

View File

@@ -53,8 +53,8 @@ struct ConnectionInfo {
};
class SingleApplicationPrivate : public QObject {
Q_OBJECT
public:
Q_OBJECT
public:
enum ConnectionType : quint8 {
InvalidConnection = 0,
NewInstance = 1,
@@ -90,7 +90,7 @@ public:
SingleApplication::Options options;
QMap<QLocalSocket*, ConnectionInfo> connectionMap;
public Q_SLOTS:
public Q_SLOTS:
void slotConnectionEstablished();
void slotDataAvailable( QLocalSocket*, quint32 );
void slotClientConnectionClosed( QLocalSocket*, quint32 );