author | mickeyl <mickeyl> | 2003-08-07 20:51:50 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-08-07 20:51:50 (UTC) |
commit | 55f96e0b87b10150144774409332ef4571abc761 (patch) (unidiff) | |
tree | 72824f4c5122d46ba551bd3ec470fcefa2f87e7d | |
parent | 557e7a9f407e77a3f5bcfda5de9a8408379165ac (diff) | |
download | opie-55f96e0b87b10150144774409332ef4571abc761.zip opie-55f96e0b87b10150144774409332ef4571abc761.tar.gz opie-55f96e0b87b10150144774409332ef4571abc761.tar.bz2 |
add GPS configuration window
-rw-r--r-- | noncore/net/wellenreiter/gui/configbase.ui | 193 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/gps.cpp | 17 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/gps.h | 19 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/gui.pro | 6 |
4 files changed, 231 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/gui/configbase.ui b/noncore/net/wellenreiter/gui/configbase.ui index 554fc29..c1da98d 100644 --- a/noncore/net/wellenreiter/gui/configbase.ui +++ b/noncore/net/wellenreiter/gui/configbase.ui | |||
@@ -1,79 +1,79 @@ | |||
1 | <!DOCTYPE UI><UI> | 1 | <!DOCTYPE UI><UI> |
2 | <class>WellenreiterConfigBase</class> | 2 | <class>WellenreiterConfigBase</class> |
3 | <widget> | 3 | <widget> |
4 | <class>QDialog</class> | 4 | <class>QDialog</class> |
5 | <property stdset="1"> | 5 | <property stdset="1"> |
6 | <name>name</name> | 6 | <name>name</name> |
7 | <cstring>WellenreiterConfigBase</cstring> | 7 | <cstring>WellenreiterConfigBase</cstring> |
8 | </property> | 8 | </property> |
9 | <property stdset="1"> | 9 | <property stdset="1"> |
10 | <name>geometry</name> | 10 | <name>geometry</name> |
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>230</width> | 14 | <width>286</width> |
15 | <height>287</height> | 15 | <height>280</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
19 | <name>caption</name> | 19 | <name>caption</name> |
20 | <string>Wellenreiter II COnfiguration Dialog</string> | 20 | <string>Wellenreiter II COnfiguration Dialog</string> |
21 | </property> | 21 | </property> |
22 | <property> | 22 | <property> |
23 | <name>layoutMargin</name> | 23 | <name>layoutMargin</name> |
24 | </property> | 24 | </property> |
25 | <property> | 25 | <property> |
26 | <name>layoutSpacing</name> | 26 | <name>layoutSpacing</name> |
27 | </property> | 27 | </property> |
28 | <grid> | 28 | <grid> |
29 | <property stdset="1"> | 29 | <property stdset="1"> |
30 | <name>margin</name> | 30 | <name>margin</name> |
31 | <number>2</number> | 31 | <number>2</number> |
32 | </property> | 32 | </property> |
33 | <property stdset="1"> | 33 | <property stdset="1"> |
34 | <name>spacing</name> | 34 | <name>spacing</name> |
35 | <number>3</number> | 35 | <number>3</number> |
36 | </property> | 36 | </property> |
37 | <widget row="0" column="0" > | 37 | <widget row="0" column="0" > |
38 | <class>QTabWidget</class> | 38 | <class>QTabWidget</class> |
39 | <property stdset="1"> | 39 | <property stdset="1"> |
40 | <name>name</name> | 40 | <name>name</name> |
41 | <cstring>tab</cstring> | 41 | <cstring>tab</cstring> |
42 | </property> | 42 | </property> |
43 | <property> | 43 | <property> |
44 | <name>layoutMargin</name> | 44 | <name>layoutMargin</name> |
45 | </property> | 45 | </property> |
46 | <property> | 46 | <property> |
47 | <name>layoutSpacing</name> | 47 | <name>layoutSpacing</name> |
48 | </property> | 48 | </property> |
49 | <widget> | 49 | <widget> |
50 | <class>QWidget</class> | 50 | <class>QWidget</class> |
51 | <property stdset="1"> | 51 | <property stdset="1"> |
52 | <name>name</name> | 52 | <name>name</name> |
53 | <cstring>tab</cstring> | 53 | <cstring>tab</cstring> |
54 | </property> | 54 | </property> |
55 | <attribute> | 55 | <attribute> |
56 | <name>title</name> | 56 | <name>title</name> |
57 | <string>Interface</string> | 57 | <string>Interface</string> |
58 | </attribute> | 58 | </attribute> |
59 | <grid> | 59 | <grid> |
60 | <property stdset="1"> | 60 | <property stdset="1"> |
61 | <name>margin</name> | 61 | <name>margin</name> |
62 | <number>5</number> | 62 | <number>5</number> |
63 | </property> | 63 | </property> |
64 | <property stdset="1"> | 64 | <property stdset="1"> |
65 | <name>spacing</name> | 65 | <name>spacing</name> |
66 | <number>3</number> | 66 | <number>3</number> |
67 | </property> | 67 | </property> |
68 | <widget row="0" column="0" > | 68 | <widget row="0" column="0" > |
69 | <class>QLabel</class> | 69 | <class>QLabel</class> |
70 | <property stdset="1"> | 70 | <property stdset="1"> |
71 | <name>name</name> | 71 | <name>name</name> |
72 | <cstring>TextLabel1_2</cstring> | 72 | <cstring>TextLabel1_2</cstring> |
73 | </property> | 73 | </property> |
74 | <property stdset="1"> | 74 | <property stdset="1"> |
75 | <name>enabled</name> | 75 | <name>enabled</name> |
76 | <bool>true</bool> | 76 | <bool>true</bool> |
77 | </property> | 77 | </property> |
78 | <property stdset="1"> | 78 | <property stdset="1"> |
79 | <name>text</name> | 79 | <name>text</name> |
@@ -904,134 +904,323 @@ | |||
904 | <property stdset="1"> | 904 | <property stdset="1"> |
905 | <name>spacing</name> | 905 | <name>spacing</name> |
906 | <number>6</number> | 906 | <number>6</number> |
907 | </property> | 907 | </property> |
908 | <widget row="1" column="0" rowspan="1" colspan="2" > | 908 | <widget row="1" column="0" rowspan="1" colspan="2" > |
909 | <class>QCheckBox</class> | 909 | <class>QCheckBox</class> |
910 | <property stdset="1"> | 910 | <property stdset="1"> |
911 | <name>name</name> | 911 | <name>name</name> |
912 | <cstring>CheckBox24</cstring> | 912 | <cstring>CheckBox24</cstring> |
913 | </property> | 913 | </property> |
914 | <property stdset="1"> | 914 | <property stdset="1"> |
915 | <name>text</name> | 915 | <name>text</name> |
916 | <string>Request DHCP Address</string> | 916 | <string>Request DHCP Address</string> |
917 | </property> | 917 | </property> |
918 | </widget> | 918 | </widget> |
919 | <widget row="0" column="0" > | 919 | <widget row="0" column="0" > |
920 | <class>QLabel</class> | 920 | <class>QLabel</class> |
921 | <property stdset="1"> | 921 | <property stdset="1"> |
922 | <name>name</name> | 922 | <name>name</name> |
923 | <cstring>TextLabel1_5_2</cstring> | 923 | <cstring>TextLabel1_5_2</cstring> |
924 | </property> | 924 | </property> |
925 | <property stdset="1"> | 925 | <property stdset="1"> |
926 | <name>text</name> | 926 | <name>text</name> |
927 | <string>Fake IP:</string> | 927 | <string>Fake IP:</string> |
928 | </property> | 928 | </property> |
929 | </widget> | 929 | </widget> |
930 | <widget row="0" column="1" > | 930 | <widget row="0" column="1" > |
931 | <class>QComboBox</class> | 931 | <class>QComboBox</class> |
932 | <item> | 932 | <item> |
933 | <property> | 933 | <property> |
934 | <name>text</name> | 934 | <name>text</name> |
935 | <string>192.168.125.1</string> | 935 | <string>192.168.125.1</string> |
936 | </property> | 936 | </property> |
937 | </item> | 937 | </item> |
938 | <item> | 938 | <item> |
939 | <property> | 939 | <property> |
940 | <name>text</name> | 940 | <name>text</name> |
941 | <string><automatic></string> | 941 | <string><automatic></string> |
942 | </property> | 942 | </property> |
943 | </item> | 943 | </item> |
944 | <property stdset="1"> | 944 | <property stdset="1"> |
945 | <name>name</name> | 945 | <name>name</name> |
946 | <cstring>fakeIP</cstring> | 946 | <cstring>fakeIP</cstring> |
947 | </property> | 947 | </property> |
948 | <property stdset="1"> | 948 | <property stdset="1"> |
949 | <name>sizePolicy</name> | 949 | <name>sizePolicy</name> |
950 | <sizepolicy> | 950 | <sizepolicy> |
951 | <hsizetype>7</hsizetype> | 951 | <hsizetype>7</hsizetype> |
952 | <vsizetype>0</vsizetype> | 952 | <vsizetype>0</vsizetype> |
953 | </sizepolicy> | 953 | </sizepolicy> |
954 | </property> | 954 | </property> |
955 | <property stdset="1"> | 955 | <property stdset="1"> |
956 | <name>editable</name> | 956 | <name>editable</name> |
957 | <bool>true</bool> | 957 | <bool>true</bool> |
958 | </property> | 958 | </property> |
959 | <property stdset="1"> | 959 | <property stdset="1"> |
960 | <name>currentItem</name> | 960 | <name>currentItem</name> |
961 | <number>0</number> | 961 | <number>0</number> |
962 | </property> | 962 | </property> |
963 | </widget> | 963 | </widget> |
964 | </grid> | 964 | </grid> |
965 | </widget> | 965 | </widget> |
966 | </grid> | 966 | </grid> |
967 | </widget> | 967 | </widget> |
968 | <widget> | ||
969 | <class>QWidget</class> | ||
970 | <property stdset="1"> | ||
971 | <name>name</name> | ||
972 | <cstring>tab</cstring> | ||
973 | </property> | ||
974 | <attribute> | ||
975 | <name>title</name> | ||
976 | <string>GPS</string> | ||
977 | </attribute> | ||
978 | <widget> | ||
979 | <class>QLayoutWidget</class> | ||
980 | <property stdset="1"> | ||
981 | <name>name</name> | ||
982 | <cstring>Layout1</cstring> | ||
983 | </property> | ||
984 | <property stdset="1"> | ||
985 | <name>geometry</name> | ||
986 | <rect> | ||
987 | <x>10</x> | ||
988 | <y>40</y> | ||
989 | <width>216</width> | ||
990 | <height>27</height> | ||
991 | </rect> | ||
992 | </property> | ||
993 | <hbox> | ||
994 | <property stdset="1"> | ||
995 | <name>margin</name> | ||
996 | <number>0</number> | ||
997 | </property> | ||
998 | <property stdset="1"> | ||
999 | <name>spacing</name> | ||
1000 | <number>6</number> | ||
1001 | </property> | ||
1002 | <widget> | ||
1003 | <class>QLabel</class> | ||
1004 | <property stdset="1"> | ||
1005 | <name>name</name> | ||
1006 | <cstring>TextLabel1_4</cstring> | ||
1007 | </property> | ||
1008 | <property stdset="1"> | ||
1009 | <name>text</name> | ||
1010 | <string>Host</string> | ||
1011 | </property> | ||
1012 | </widget> | ||
1013 | <widget> | ||
1014 | <class>QComboBox</class> | ||
1015 | <item> | ||
1016 | <property> | ||
1017 | <name>text</name> | ||
1018 | <string>localhost</string> | ||
1019 | </property> | ||
1020 | </item> | ||
1021 | <property stdset="1"> | ||
1022 | <name>name</name> | ||
1023 | <cstring>ComboBox8</cstring> | ||
1024 | </property> | ||
1025 | <property stdset="1"> | ||
1026 | <name>enabled</name> | ||
1027 | <bool>false</bool> | ||
1028 | </property> | ||
1029 | <property stdset="1"> | ||
1030 | <name>editable</name> | ||
1031 | <bool>true</bool> | ||
1032 | </property> | ||
1033 | <property stdset="1"> | ||
1034 | <name>currentItem</name> | ||
1035 | <number>0</number> | ||
1036 | </property> | ||
1037 | </widget> | ||
1038 | <widget> | ||
1039 | <class>QLabel</class> | ||
1040 | <property stdset="1"> | ||
1041 | <name>name</name> | ||
1042 | <cstring>TextLabel2_2</cstring> | ||
1043 | </property> | ||
1044 | <property stdset="1"> | ||
1045 | <name>text</name> | ||
1046 | <string>:</string> | ||
1047 | </property> | ||
1048 | </widget> | ||
1049 | <widget> | ||
1050 | <class>QSpinBox</class> | ||
1051 | <property stdset="1"> | ||
1052 | <name>name</name> | ||
1053 | <cstring>SpinBox2</cstring> | ||
1054 | </property> | ||
1055 | <property stdset="1"> | ||
1056 | <name>enabled</name> | ||
1057 | <bool>false</bool> | ||
1058 | </property> | ||
1059 | <property stdset="1"> | ||
1060 | <name>maxValue</name> | ||
1061 | <number>65535</number> | ||
1062 | </property> | ||
1063 | <property stdset="1"> | ||
1064 | <name>minValue</name> | ||
1065 | <number>1024</number> | ||
1066 | </property> | ||
1067 | <property stdset="1"> | ||
1068 | <name>value</name> | ||
1069 | <number>2947</number> | ||
1070 | </property> | ||
1071 | </widget> | ||
1072 | </hbox> | ||
1073 | </widget> | ||
1074 | <widget> | ||
1075 | <class>QCheckBox</class> | ||
1076 | <property stdset="1"> | ||
1077 | <name>name</name> | ||
1078 | <cstring>enableGPS</cstring> | ||
1079 | </property> | ||
1080 | <property stdset="1"> | ||
1081 | <name>geometry</name> | ||
1082 | <rect> | ||
1083 | <x>10</x> | ||
1084 | <y>10</y> | ||
1085 | <width>199</width> | ||
1086 | <height>21</height> | ||
1087 | </rect> | ||
1088 | </property> | ||
1089 | <property stdset="1"> | ||
1090 | <name>text</name> | ||
1091 | <string>Enable GPS logging w/ gpsd</string> | ||
1092 | </property> | ||
1093 | </widget> | ||
1094 | <widget> | ||
1095 | <class>QCheckBox</class> | ||
1096 | <property stdset="1"> | ||
1097 | <name>name</name> | ||
1098 | <cstring>startGPS</cstring> | ||
1099 | </property> | ||
1100 | <property stdset="1"> | ||
1101 | <name>geometry</name> | ||
1102 | <rect> | ||
1103 | <x>10</x> | ||
1104 | <y>80</y> | ||
1105 | <width>171</width> | ||
1106 | <height>21</height> | ||
1107 | </rect> | ||
1108 | </property> | ||
1109 | <property stdset="1"> | ||
1110 | <name>text</name> | ||
1111 | <string>Start gpsd on localhost</string> | ||
1112 | </property> | ||
1113 | </widget> | ||
1114 | <widget> | ||
1115 | <class>QLineEdit</class> | ||
1116 | <property stdset="1"> | ||
1117 | <name>name</name> | ||
1118 | <cstring>commandGPS</cstring> | ||
1119 | </property> | ||
1120 | <property stdset="1"> | ||
1121 | <name>enabled</name> | ||
1122 | <bool>false</bool> | ||
1123 | </property> | ||
1124 | <property stdset="1"> | ||
1125 | <name>geometry</name> | ||
1126 | <rect> | ||
1127 | <x>10</x> | ||
1128 | <y>110</y> | ||
1129 | <width>210</width> | ||
1130 | <height>22</height> | ||
1131 | </rect> | ||
1132 | </property> | ||
1133 | <property stdset="1"> | ||
1134 | <name>text</name> | ||
1135 | <string>gpsd -p /dev/ttyS3 -s 57600</string> | ||
1136 | </property> | ||
1137 | </widget> | ||
1138 | </widget> | ||
968 | </widget> | 1139 | </widget> |
969 | </grid> | 1140 | </grid> |
970 | </widget> | 1141 | </widget> |
971 | <customwidgets> | 1142 | <customwidgets> |
972 | <customwidget> | 1143 | <customwidget> |
973 | <class>ProtocolListView</class> | 1144 | <class>ProtocolListView</class> |
974 | <header location="local">protolistview.h</header> | 1145 | <header location="local">protolistview.h</header> |
975 | <sizehint> | 1146 | <sizehint> |
976 | <width>100</width> | 1147 | <width>100</width> |
977 | <height>100</height> | 1148 | <height>100</height> |
978 | </sizehint> | 1149 | </sizehint> |
979 | <container>0</container> | 1150 | <container>0</container> |
980 | <sizepolicy> | 1151 | <sizepolicy> |
981 | <hordata>3</hordata> | 1152 | <hordata>3</hordata> |
982 | <verdata>3</verdata> | 1153 | <verdata>3</verdata> |
983 | </sizepolicy> | 1154 | </sizepolicy> |
984 | <pixmap>image0</pixmap> | 1155 | <pixmap>image0</pixmap> |
985 | </customwidget> | 1156 | </customwidget> |
986 | </customwidgets> | 1157 | </customwidgets> |
987 | <images> | 1158 | <images> |
988 | <image> | 1159 | <image> |
989 | <name>image0</name> | 1160 | <name>image0</name> |
990 | <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> | 1161 | <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> |
991 | </image> | 1162 | </image> |
992 | </images> | 1163 | </images> |
993 | <connections> | 1164 | <connections> |
994 | <connection> | 1165 | <connection> |
995 | <sender>hopChannels</sender> | 1166 | <sender>hopChannels</sender> |
996 | <signal>toggled(bool)</signal> | 1167 | <signal>toggled(bool)</signal> |
997 | <receiver>hopInterval</receiver> | 1168 | <receiver>hopInterval</receiver> |
998 | <slot>setEnabled(bool)</slot> | 1169 | <slot>setEnabled(bool)</slot> |
999 | </connection> | 1170 | </connection> |
1000 | <connection> | 1171 | <connection> |
1001 | <sender>hopChannels</sender> | 1172 | <sender>hopChannels</sender> |
1002 | <signal>toggled(bool)</signal> | 1173 | <signal>toggled(bool)</signal> |
1003 | <receiver>TextLabel1</receiver> | 1174 | <receiver>TextLabel1</receiver> |
1004 | <slot>setEnabled(bool)</slot> | 1175 | <slot>setEnabled(bool)</slot> |
1005 | </connection> | 1176 | </connection> |
1006 | <connection> | 1177 | <connection> |
1007 | <sender>enableActiveScanning</sender> | 1178 | <sender>enableActiveScanning</sender> |
1008 | <signal>toggled(bool)</signal> | 1179 | <signal>toggled(bool)</signal> |
1009 | <receiver>GroupBox3</receiver> | 1180 | <receiver>GroupBox3</receiver> |
1010 | <slot>setEnabled(bool)</slot> | 1181 | <slot>setEnabled(bool)</slot> |
1011 | </connection> | 1182 | </connection> |
1012 | <connection> | 1183 | <connection> |
1013 | <sender>enableActiveScanning</sender> | 1184 | <sender>enableActiveScanning</sender> |
1014 | <signal>toggled(bool)</signal> | 1185 | <signal>toggled(bool)</signal> |
1015 | <receiver>GroupBox4</receiver> | 1186 | <receiver>GroupBox4</receiver> |
1016 | <slot>setEnabled(bool)</slot> | 1187 | <slot>setEnabled(bool)</slot> |
1017 | </connection> | 1188 | </connection> |
1018 | <connection> | 1189 | <connection> |
1019 | <sender>writeCaptureFile</sender> | 1190 | <sender>writeCaptureFile</sender> |
1020 | <signal>toggled(bool)</signal> | 1191 | <signal>toggled(bool)</signal> |
1021 | <receiver>getCaptureFileName</receiver> | 1192 | <receiver>getCaptureFileName</receiver> |
1022 | <slot>setEnabled(bool)</slot> | 1193 | <slot>setEnabled(bool)</slot> |
1023 | </connection> | 1194 | </connection> |
1024 | <connection> | 1195 | <connection> |
1025 | <sender>writeCaptureFile</sender> | 1196 | <sender>writeCaptureFile</sender> |
1026 | <signal>toggled(bool)</signal> | 1197 | <signal>toggled(bool)</signal> |
1027 | <receiver>captureFileName</receiver> | 1198 | <receiver>captureFileName</receiver> |
1028 | <slot>setEnabled(bool)</slot> | 1199 | <slot>setEnabled(bool)</slot> |
1029 | </connection> | 1200 | </connection> |
1030 | <connection> | 1201 | <connection> |
1031 | <sender>writeCaptureFile</sender> | 1202 | <sender>writeCaptureFile</sender> |
1032 | <signal>toggled(bool)</signal> | 1203 | <signal>toggled(bool)</signal> |
1033 | <receiver>capturePackets</receiver> | 1204 | <receiver>capturePackets</receiver> |
1034 | <slot>setEnabled(bool)</slot> | 1205 | <slot>setEnabled(bool)</slot> |
1035 | </connection> | 1206 | </connection> |
1207 | <connection> | ||
1208 | <sender>enableGPS</sender> | ||
1209 | <signal>toggled(bool)</signal> | ||
1210 | <receiver>ComboBox8</receiver> | ||
1211 | <slot>setEnabled(bool)</slot> | ||
1212 | </connection> | ||
1213 | <connection> | ||
1214 | <sender>enableGPS</sender> | ||
1215 | <signal>toggled(bool)</signal> | ||
1216 | <receiver>SpinBox2</receiver> | ||
1217 | <slot>setEnabled(bool)</slot> | ||
1218 | </connection> | ||
1219 | <connection> | ||
1220 | <sender>startGPS</sender> | ||
1221 | <signal>toggled(bool)</signal> | ||
1222 | <receiver>commandGPS</receiver> | ||
1223 | <slot>setEnabled(bool)</slot> | ||
1224 | </connection> | ||
1036 | </connections> | 1225 | </connections> |
1037 | </UI> | 1226 | </UI> |
diff --git a/noncore/net/wellenreiter/gui/gps.cpp b/noncore/net/wellenreiter/gui/gps.cpp new file mode 100644 index 0000000..c3bff53 --- a/dev/null +++ b/noncore/net/wellenreiter/gui/gps.cpp | |||
@@ -0,0 +1,17 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Opie Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | ** | ||
14 | **********************************************************************/ | ||
15 | |||
16 | #include "gps.h" | ||
17 | |||
diff --git a/noncore/net/wellenreiter/gui/gps.h b/noncore/net/wellenreiter/gui/gps.h new file mode 100644 index 0000000..e7c3dce --- a/dev/null +++ b/noncore/net/wellenreiter/gui/gps.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Opie Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | ** | ||
14 | **********************************************************************/ | ||
15 | |||
16 | #ifndef GPS_H | ||
17 | #define GPS_H | ||
18 | |||
19 | #endif // GPS_H | ||
diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro index ee239a3..5ff4290 100644 --- a/noncore/net/wellenreiter/gui/gui.pro +++ b/noncore/net/wellenreiter/gui/gui.pro | |||
@@ -1,65 +1,67 @@ | |||
1 | MOC_DIR = ./tmp | 1 | MOC_DIR = ./tmp |
2 | OBJECTS_DIR = ./tmp | 2 | OBJECTS_DIR = ./tmp |
3 | DESTDIR = $(OPIEDIR)/bin | 3 | DESTDIR = $(OPIEDIR)/bin |
4 | TEMPLATE = app | 4 | TEMPLATE = app |
5 | CONFIG = qt warn_on debug | 5 | CONFIG = qt warn_on debug |
6 | 6 | ||
7 | HEADERS = wellenreiterbase.h \ | 7 | HEADERS = wellenreiterbase.h \ |
8 | mainwindow.h \ | 8 | mainwindow.h \ |
9 | wellenreiter.h \ | 9 | wellenreiter.h \ |
10 | scanlist.h \ | 10 | scanlist.h \ |
11 | logwindow.h \ | 11 | logwindow.h \ |
12 | hexwindow.h \ | 12 | hexwindow.h \ |
13 | statwindow.h \ | 13 | statwindow.h \ |
14 | configwindow.h \ | 14 | configwindow.h \ |
15 | graphwindow.h \ | 15 | graphwindow.h \ |
16 | protolistview.h | 16 | protolistview.h \ |
17 | gps.h | ||
17 | 18 | ||
18 | SOURCES = main.cpp \ | 19 | SOURCES = main.cpp \ |
19 | mainwindow.cpp \ | 20 | mainwindow.cpp \ |
20 | wellenreiterbase.cpp \ | 21 | wellenreiterbase.cpp \ |
21 | wellenreiter.cpp \ | 22 | wellenreiter.cpp \ |
22 | scanlist.cpp \ | 23 | scanlist.cpp \ |
23 | logwindow.cpp \ | 24 | logwindow.cpp \ |
24 | hexwindow.cpp \ | 25 | hexwindow.cpp \ |
25 | statwindow.cpp \ | 26 | statwindow.cpp \ |
26 | configwindow.cpp \ | 27 | configwindow.cpp \ |
27 | graphwindow.cpp \ | 28 | graphwindow.cpp \ |
28 | protolistview.cpp | 29 | protolistview.cpp \ |
30 | gps.cpp | ||
29 | 31 | ||
30 | INCLUDEPATH += $(OPIEDIR)/include | 32 | INCLUDEPATH += $(OPIEDIR)/include |
31 | DEPENDPATH += $(OPIEDIR)/include | 33 | DEPENDPATH += $(OPIEDIR)/include |
32 | INTERFACES = configbase.ui | 34 | INTERFACES = configbase.ui |
33 | TARGET = wellenreiter | 35 | TARGET = wellenreiter |
34 | 36 | ||
35 | !contains( platform, x11 ) { | 37 | !contains( platform, x11 ) { |
36 | message( qws ) | 38 | message( qws ) |
37 | include ( $(OPIEDIR)/include.pro ) | 39 | include ( $(OPIEDIR)/include.pro ) |
38 | LIBS += -lqpe -lopie -lopiecore2 -lopieui2 -lopienet2 -lstdc++ | 40 | LIBS += -lqpe -lopie -lopiecore2 -lopieui2 -lopienet2 -lstdc++ |
39 | } | 41 | } |
40 | 42 | ||
41 | contains( platform, x11 ) { | 43 | contains( platform, x11 ) { |
42 | LIBS += -L$(OPIEDIR)/output/lib -Wl,-rpath,$(OPIEDIR)/output/lib -Wl,-rpath,/usr/local/lib -lwellenreiter | 44 | LIBS += -L$(OPIEDIR)/output/lib -Wl,-rpath,$(OPIEDIR)/output/lib -Wl,-rpath,/usr/local/lib -lwellenreiter |
43 | SOURCES += resource.cpp | 45 | SOURCES += resource.cpp |
44 | HEADERS += resource.h | 46 | HEADERS += resource.h |
45 | DESTDIR = $(OPIEDIR)/output/bin | 47 | DESTDIR = $(OPIEDIR)/output/bin |
46 | } | 48 | } |
47 | 49 | ||
48 | TRANSLATIONS = ../../../../i18n/de/wellenreiter.ts \ | 50 | TRANSLATIONS = ../../../../i18n/de/wellenreiter.ts \ |
49 | ../../../../i18n/nl/wellenreiter.ts \ | 51 | ../../../../i18n/nl/wellenreiter.ts \ |
50 | ../../../../i18n/da/wellenreiter.ts \ | 52 | ../../../../i18n/da/wellenreiter.ts \ |
51 | ../../../../i18n/xx/wellenreiter.ts \ | 53 | ../../../../i18n/xx/wellenreiter.ts \ |
52 | ../../../../i18n/en/wellenreiter.ts \ | 54 | ../../../../i18n/en/wellenreiter.ts \ |
53 | ../../../../i18n/es/wellenreiter.ts \ | 55 | ../../../../i18n/es/wellenreiter.ts \ |
54 | ../../../../i18n/fr/wellenreiter.ts \ | 56 | ../../../../i18n/fr/wellenreiter.ts \ |
55 | ../../../../i18n/hu/wellenreiter.ts \ | 57 | ../../../../i18n/hu/wellenreiter.ts \ |
56 | ../../../../i18n/ja/wellenreiter.ts \ | 58 | ../../../../i18n/ja/wellenreiter.ts \ |
57 | ../../../../i18n/ko/wellenreiter.ts \ | 59 | ../../../../i18n/ko/wellenreiter.ts \ |
58 | ../../../../i18n/no/wellenreiter.ts \ | 60 | ../../../../i18n/no/wellenreiter.ts \ |
59 | ../../../../i18n/pl/wellenreiter.ts \ | 61 | ../../../../i18n/pl/wellenreiter.ts \ |
60 | ../../../../i18n/pt/wellenreiter.ts \ | 62 | ../../../../i18n/pt/wellenreiter.ts \ |
61 | ../../../../i18n/pt_BR/wellenreiter.ts \ | 63 | ../../../../i18n/pt_BR/wellenreiter.ts \ |
62 | ../../../../i18n/sl/wellenreiter.ts \ | 64 | ../../../../i18n/sl/wellenreiter.ts \ |
63 | ../../../../i18n/zh_CN/wellenreiter.ts \ | 65 | ../../../../i18n/zh_CN/wellenreiter.ts \ |
64 | ../../../../i18n/zh_TW/wellenreiter.ts | 66 | ../../../../i18n/zh_TW/wellenreiter.ts |
65 | 67 | ||