1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
3 <widget class="QWidget">
5 <cstring>DbSetup</cstring>
7 <property name="geometry">
15 <property name="caption">
16 <string>Database Setup</string>
19 <property name="name">
20 <cstring>unnamed</cstring>
22 <property name="margin">
25 <widget class="QWidgetStack" row="1" column="0" rowspan="1" colspan="2">
26 <property name="name">
27 <cstring>configStack</cstring>
29 <property name="frameShadow">
32 <widget class="QWidget">
33 <property name="name">
34 <cstring>SQLLite</cstring>
40 <widget class="QWidget">
41 <property name="name">
42 <cstring>MySQL</cstring>
48 <property name="name">
49 <cstring>unnamed</cstring>
51 <property name="margin">
54 <widget class="QFrame">
55 <property name="name">
56 <cstring>mySqlFrame</cstring>
58 <property name="frameShape">
61 <property name="frameShadow">
64 <property name="lineWidth">
68 <property name="name">
69 <cstring>unnamed</cstring>
71 <property name="margin">
74 <widget class="QGroupBox" row="0" column="0">
75 <property name="name">
76 <cstring>mysqlConfig</cstring>
78 <property name="title">
79 <string>MySQL Configuration</string>
82 <property name="name">
83 <cstring>unnamed</cstring>
85 <widget class="QLabel" row="0" column="0">
86 <property name="name">
87 <cstring>textLabel1</cstring>
89 <property name="text">
90 <string>Hostname:</string>
93 <widget class="QLabel" row="1" column="0">
94 <property name="name">
95 <cstring>textLabel5</cstring>
97 <property name="text">
98 <string>Database:</string>
101 <widget class="QSpinBox" row="0" column="3">
102 <property name="name">
103 <cstring>kcfg_MySqlPort</cstring>
105 <property name="maximumSize">
108 <height>32767</height>
111 <property name="maxValue">
112 <number>65535</number>
114 <property name="toolTip" stdset="0">
115 <string>Which port mysql should connect to.</string>
117 <property name="whatsThis" stdset="0">
118 <string>Which port mysql should connect to.</string>
121 <widget class="QLabel" row="0" column="2">
122 <property name="name">
123 <cstring>textLabel2</cstring>
125 <property name="text">
126 <string>Port:</string>
129 <widget class="KLineEdit" row="0" column="1">
130 <property name="name">
131 <cstring>kcfg_MySqlHost</cstring>
133 <property name="toolTip" stdset="0">
134 <string>Hostname where database lives.</string>
136 <property name="whatsThis" stdset="0">
137 <string>Hostname where database lives.</string>
140 <widget class="KLineEdit" row="1" column="1">
141 <property name="name">
142 <cstring>kcfg_MySqlDbName</cstring>
144 <property name="toolTip" stdset="0">
145 <string>Name of the database.</string>
147 <property name="whatsThis" stdset="0">
148 <string>Name of the database.</string>
151 <widget class="Line" row="2" column="0" rowspan="1" colspan="4">
152 <property name="name">
153 <cstring>line1</cstring>
155 <property name="frameShape">
158 <property name="frameShadow">
161 <property name="orientation">
162 <enum>Horizontal</enum>
165 <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="4">
166 <property name="name">
167 <cstring>layout4</cstring>
170 <property name="name">
171 <cstring>unnamed</cstring>
173 <widget class="QLabel">
174 <property name="name">
175 <cstring>textLabel3</cstring>
177 <property name="text">
178 <string>Username:</string>
181 <widget class="KLineEdit">
182 <property name="name">
183 <cstring>kcfg_MySqlUser</cstring>
185 <property name="toolTip" stdset="0">
186 <string>Username with which to connect to.</string>
188 <property name="whatsThis" stdset="0">
189 <string>Username with which to connect to.</string>
192 <widget class="QLabel">
193 <property name="name">
194 <cstring>textLabel4</cstring>
196 <property name="text">
197 <string>Password:</string>
200 <widget class="KLineEdit">
201 <property name="name">
202 <cstring>kcfg_MySqlPassword2</cstring>
204 <property name="echoMode">
205 <enum>Password</enum>
207 <property name="toolTip" stdset="0">
208 <string>Password with which to connect to.</string>
210 <property name="whatsThis" stdset="0">
211 <string>Password with which to connect to.</string>
222 <widget class="QWidget">
223 <property name="name">
224 <cstring>PostgreSQL</cstring>
226 <attribute name="id">
230 <property name="name">
231 <cstring>unnamed</cstring>
233 <property name="margin">
236 <widget class="QFrame">
237 <property name="name">
238 <cstring>postgreSqlFrame</cstring>
240 <property name="frameShape">
243 <property name="frameShadow">
247 <property name="name">
248 <cstring>unnamed</cstring>
250 <property name="margin">
253 <widget class="QGroupBox" row="0" column="0">
254 <property name="name">
255 <cstring>postgresqlConfig</cstring>
257 <property name="title">
258 <string>PostgreSQL Configuration</string>
261 <property name="name">
262 <cstring>unnamed</cstring>
264 <widget class="QLabel" row="0" column="0">
265 <property name="name">
266 <cstring>textLabel1</cstring>
268 <property name="text">
269 <string>Hostname:</string>
272 <widget class="QLabel" row="1" column="0">
273 <property name="name">
274 <cstring>textLabel5</cstring>
276 <property name="text">
277 <string>Database:</string>
280 <widget class="QSpinBox" row="0" column="3">
281 <property name="name">
282 <cstring>kcfg_PostgresqlPort</cstring>
284 <property name="maximumSize">
287 <height>32767</height>
290 <property name="maxValue">
291 <number>65535</number>
293 <property name="toolTip" stdset="0">
294 <string>Which port postgresql should connect to.</string>
296 <property name="whatsThis" stdset="0">
297 <string>Which port postgresql should connect to.</string>
300 <widget class="QLabel" row="0" column="2">
301 <property name="name">
302 <cstring>textLabel2</cstring>
304 <property name="text">
305 <string>Port:</string>
308 <widget class="KLineEdit" row="0" column="1">
309 <property name="name">
310 <cstring>kcfg_PostgresqlHost</cstring>
312 <property name="toolTip" stdset="0">
313 <string>Hostname where database lives.</string>
315 <property name="whatsThis" stdset="0">
316 <string>Hostname where database lives.</string>
319 <widget class="KLineEdit" row="1" column="1">
320 <property name="name">
321 <cstring>kcfg_PostgresqlDbName</cstring>
323 <property name="toolTip" stdset="0">
324 <string>Name of the database.</string>
326 <property name="whatsThis" stdset="0">
327 <string>Name of the database.</string>
330 <widget class="Line" row="2" column="0" rowspan="1" colspan="4">
331 <property name="name">
332 <cstring>line1</cstring>
334 <property name="frameShape">
337 <property name="frameShadow">
340 <property name="orientation">
341 <enum>Horizontal</enum>
344 <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="4">
345 <property name="name">
346 <cstring>layout4</cstring>
349 <property name="name">
350 <cstring>unnamed</cstring>
352 <widget class="QLabel">
353 <property name="name">
354 <cstring>textLabel3</cstring>
356 <property name="text">
357 <string>Username:</string>
360 <widget class="KLineEdit">
361 <property name="name">
362 <cstring>kcfg_PostgresqlUser</cstring>
364 <property name="toolTip" stdset="0">
365 <string>Username with which to connect to.</string>
367 <property name="whatsThis" stdset="0">
368 <string>Username with which to connect to.</string>
371 <widget class="QLabel">
372 <property name="name">
373 <cstring>textLabel4</cstring>
375 <property name="text">
376 <string>Password:</string>
379 <widget class="KLineEdit">
380 <property name="name">
381 <cstring>kcfg_PostgresqlPassword2</cstring>
383 <property name="echoMode">
384 <enum>Password</enum>
386 <property name="toolTip" stdset="0">
387 <string>Password with which to connect to.</string>
389 <property name="whatsThis" stdset="0">
390 <string>Password with which to connect to.</string>
402 <widget class="QLabel" row="0" column="0">
403 <property name="name">
404 <cstring>textLabel1_2</cstring>
406 <property name="text">
407 <string>Database:</string>
410 <widget class="KComboBox" row="0" column="1">
412 <property name="text">
413 <string>SQLite</string>
416 <property name="name">
417 <cstring>databaseEngine</cstring>
419 <property name="sizePolicy">
421 <hsizetype>7</hsizetype>
422 <vsizetype>0</vsizetype>
423 <horstretch>0</horstretch>
424 <verstretch>0</verstretch>
432 <sender>databaseEngine</sender>
433 <signal>activated(int)</signal>
434 <receiver>configStack</receiver>
435 <slot>raiseWidget(int)</slot>
438 <sender>databaseEngine</sender>
439 <signal>activated(int)</signal>
440 <receiver>DbSetup</receiver>
441 <slot>databaseEngine_activated(int)</slot>
445 <include location="local" impldecl="in implementation">amarokconfig.h</include>
446 <include location="local" impldecl="in implementation">debug.h</include>
447 <include location="local" impldecl="in implementation">config-amarok.h</include>
448 <include location="local" impldecl="in implementation">dbsetup.ui.h</include>
451 <slot>databaseEngine_activated( int item )</slot>
454 <function access="private">init()</function>
456 <layoutdefaults spacing="6" margin="11"/>
458 <includehint>klineedit.h</includehint>
459 <includehint>klineedit.h</includehint>
460 <includehint>klineedit.h</includehint>
461 <includehint>klineedit.h</includehint>
462 <includehint>klineedit.h</includehint>
463 <includehint>klineedit.h</includehint>
464 <includehint>klineedit.h</includehint>
465 <includehint>klineedit.h</includehint>
466 <includehint>kcombobox.h</includehint>