LP-106 Setup Wizard refresh : Add dual servo setup (dual aileron or
[librepilot.git] / ground / gcs / src / shared / qtsingleapplication / namespace.patch
blob2876e3a378dd5224e1792a773e0e36ae8866f821
2 --- qtlocalpeer.cpp 1970-01-01 01:00:00.000000000
3 +++ qtlocalpeer.cpp 2008/05/16 10:36:53.000000000
4 @@ -13,6 +13,8 @@
5 #include <time.h>
6 #endif
8 +namespace SharedTools {
10 const char* QtLocalPeer::ack = "ack";
12 QtLocalPeer::QtLocalPeer(QObject* parent, const QString &appId)
13 @@ -139,3 +141,5 @@
14 delete socket;
15 emit messageReceived(message); // ##(might take a long time to return)
20 --- qtlocalpeer.h 1970-01-01 01:00:00.000000000
21 +++ qtlocalpeer.h 2008/05/16 10:36:53.000000000
22 @@ -1,9 +1,11 @@
25 #include <QtNetwork/QLocalServer>
26 #include <QtNetwork/QLocalSocket>
27 #include <QtCore/QDir>
28 #include <qtlockedfile.h>
30 +namespace SharedTools {
32 class QtLocalPeer : public QObject
34 @@ -31,3 +33,5 @@
35 private:
36 static const char* ack;
39 +} // SharedTools
41 --- qtsingleapplication.cpp 1970-01-01 01:00:00.000000000
42 +++ qtsingleapplication.cpp 2008/05/16 10:36:53.000000000
43 @@ -3,6 +3,8 @@
44 #include "qtlocalpeer.h"
45 #include <QtGui/QWidget>
47 +namespace SharedTools {
49 void QtSingleApplication::sysInit(const QString &appId)
51 actWin = 0;
52 @@ -95,3 +97,5 @@
53 actWin->activateWindow();
59 --- qtsingleapplication.h 1970-01-01 01:00:00.000000000
60 +++ qtsingleapplication.h 2008/05/16 10:36:53.000000000
61 @@ -1,6 +1,8 @@
63 #include <QtGui/QApplication>
65 +namespace SharedTools {
67 class QtLocalPeer;
69 class QtSingleApplication : public QApplication
70 @@ -47,3 +49,5 @@
71 QtLocalPeer *peer;
72 QWidget *actWin;
77 --- qtsingleapplication.pri 1970-01-01 01:00:00.000000000
78 +++ qtsingleapplication.pri 2008/05/16 10:36:53.000000000
79 @@ -6,7 +6,7 @@
80 QT *= network
82 gotqtlockedfile = $$find(HEADERS, .*qtlockedfile.h)
83 -isEmpty(gotqtlockedfile):include(../../qtlockedfile/src/qtlockedfile.pri)
84 +isEmpty(gotqtlockedfile):include(../qtlockedfile/qtlockedfile.pri)
87 win32:contains(TEMPLATE, lib):contains(CONFIG, shared) {
89 --- qtsinglecoreapplication.cpp 1970-01-01 01:00:00.000000000
90 +++ qtsinglecoreapplication.cpp 2008/05/16 10:36:53.000000000
91 @@ -2,6 +2,7 @@
92 #include "qtsinglecoreapplication.h"
93 #include "qtlocalpeer.h"
95 +namespace SharedTools {
97 QtSingleCoreApplication::QtSingleCoreApplication(int &argc, char **argv)
98 : QCoreApplication(argc, argv)
99 @@ -36,3 +37,4 @@
100 return peer->applicationId();
105 --- qtsinglecoreapplication.h 1970-01-01 01:00:00.000000000
106 +++ qtsinglecoreapplication.h 2008/05/16 10:36:53.000000000
107 @@ -1,6 +1,8 @@
109 #include <QtCore/QCoreApplication>
111 +namespace SharedTools {
113 class QtLocalPeer;
115 class QtSingleCoreApplication : public QCoreApplication
116 @@ -25,3 +27,5 @@
117 private:
118 QtLocalPeer* peer;
123 --- qtsinglecoreapplication.pri 1970-01-01 01:00:00.000000000
124 +++ qtsinglecoreapplication.pri 2008/05/16 10:36:53.000000000
125 @@ -6,7 +6,7 @@
126 QT *= network
128 gotqtlockedfile = $$find(HEADERS, .*qtlockedfile.h)
129 -isEmpty(gotqtlockedfile):include(../../qtlockedfile/src/qtlockedfile.pri)
130 +isEmpty(gotqtlockedfile):include(../qtlockedfile/qtlockedfile.pri)
133 win32:contains(TEMPLATE, lib):contains(CONFIG, shared) {