Translation by Artem Sereda with my minor changes
[kde-ru.git] / docmessages / koffice / kugar_progguide.po
blob31e9fca8a53a421b0dda8f89cde2c99496773e58
1 # translation of kugar_progguide.po to Russian
2 # translation of kugar_progguide.po to
3 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4 # Oleg Batalov <olegbatalov@mail.ru>, 2004.
5 # Олег Баталов <olegbatalov@mail.ru>, 2004.
6 # Nick Shaforostoff <shafff@ukr.net>, 2005.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: kugar_progguide\n"
11 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
12 "POT-Creation-Date: 2008-02-11 07:20+0000\n"
13 "PO-Revision-Date: 2005-03-20 16:59+0200\n"
14 "Last-Translator: Nick Shaforostoff <shafff@ukr.net>\n"
15 "Language-Team:  <kde-russian@lists.kde.ru>\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: application/x-xml2pot; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "X-Generator: KBabel 1.9.1\n"
20 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
21 "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
23 #. Tag: author
24 #: progguide.docbook:12
25 #, no-c-format
26 msgid "<firstname>Alexander</firstname> <surname>Dymo</surname>"
27 msgstr "<firstname>Alexander</firstname> <surname>Dymo</surname>"
29 #. Tag: email
30 #: progguide.docbook:16
31 #, no-c-format
32 msgid "cloudtemple@mksat.net"
33 msgstr "cloudtemple@mksat.net "
35 #. Tag: author
36 #: progguide.docbook:19
37 #, no-c-format
38 msgid "<firstname>Phil</firstname> <surname>Thompson</surname>"
39 msgstr "<firstname>Phil</firstname> <surname>Thompson</surname>"
41 #. Tag: email
42 #: progguide.docbook:23
43 #, no-c-format
44 msgid "phil@river-bank.demon.co.uk"
45 msgstr "phil@river-bank.demon.co.uk "
47 #. Tag: trans_comment
48 #: progguide.docbook:26
49 #, no-c-format
50 msgid "ROLES_OF_TRANSLATORS"
51 msgstr ""
52 "<othercredit role=\"translator\"><firstname>Олег</"
53 "firstname><surname>Баталов</"
54 "surname><affiliation><address><email>olegbatalov@mail.ru</email></address></"
55 "affiliation><contrib>Перевод на русский язык</contrib></othercredit>"
57 #. Tag: title
58 #: progguide.docbook:29
59 #, no-c-format
60 msgid "Programmer's Guide"
61 msgstr "Руководство программиста"
63 #. Tag: title
64 #: progguide.docbook:32
65 #, no-c-format
66 msgid "How to use &kugar; for reporting in your own programs"
67 msgstr "Как использовать &kugar; в ваших программах для создания отчётов"
69 #. Tag: title
70 #: progguide.docbook:35
71 #, no-c-format
72 msgid "There are several ways to use &kugar;"
73 msgstr "Существуют несколько способов использования &kugar;"
75 #. Tag: para
76 #: progguide.docbook:37
77 #, fuzzy, no-c-format
78 msgid ""
79 "Create a temporary file and fill it with data, organized according to the "
80 "<link linkend=\"kugardata-dtd\">KugarData Document Type Definition</link>. "
81 "Then call the <command>kugar</command> shell command ( <cmdsynopsis> "
82 "<command>kugar</command> <group> <option>-d <replaceable>Kugar data file</"
83 "replaceable></option> </group> <group> <option>-r <replaceable>Kugar "
84 "template file</replaceable></option> </group> </cmdsynopsis> ) to preview "
85 "and print the report. See <link linkend=\"prog-using-for-preview\">Using "
86 "&kugar; shell for previewing reports</link> for a detailed description."
87 msgstr ""
88 "Создать временный файл и заполнить его данными, организованными согласно "
89 "<link linkend=\"kugardata-dtd\">Определению типа документа (DTD) KugarData</"
90 "link>. Затем вызвать в командной оболочке <command> kugar</command> "
91 "(<cmdsynopsis> <command>kugar</command> <group> <option>-d <replaceable>файл "
92 "данных Kugar</replaceable></option> </group><group> <option>-r "
93 "<replaceable>Файл шаблона Kugar </replaceable> </option> </group> </"
94 "cmdsynopsis>) для предварительного просмотра и распечатки отчёта. Подробноt "
95 "описание смотрите в разделе <link linkend=\"prog-using-for-preview"
96 "\">Использование оболочки &kugar; для предварительного просмотра отчётов</"
97 "link>"
99 #. Tag: para
100 #: progguide.docbook:56
101 #, fuzzy, no-c-format
102 msgid ""
103 "Use &kugar; directly in the application's code. See <link linkend=\"prog-"
104 "using-widget\">Using &kugar; classes for reporting</link> for a detailed "
105 "description."
106 msgstr ""
107 "Использовать &kugar; непосредственно в коде приложения. Смотрите подробности "
108 "в разделе <link linkend=\"prog-using-widget\">Использование классов &kugar; "
109 "в отчётах</link> "
111 #. Tag: para
112 #: progguide.docbook:63
113 #, fuzzy, no-c-format
114 msgid ""
115 "Create a &Qt; designer plugin, use it to build the application &GUI; in the "
116 "designer and link it to the program dynamically. See <link linkend=\"prog-"
117 "designer-plugin\">Creating a &Qt; designer plugin</link> for a detailed "
118 "description."
119 msgstr ""
120 "Создать модуль дизайнера &Qt;, и использовать его для создания приложений "
121 "&GUI; в дизайнере и подключать его к программе динамически. Подробности "
122 "смотрите в разделе <link linkend=\"prog-designer-plugin\">Создание модулей "
123 "дизайнера &Qt;</link>."
125 #. Tag: para
126 #: progguide.docbook:72
127 #, fuzzy, no-c-format
128 msgid ""
129 "The last two ways are acceptable for &Qt; and &kde; developers; but &kugar; "
130 "is designed to be a report generator, independent from a programming "
131 "language and/or <acronym>IDE</acronym>. It uses &XML; format for describing "
132 "report templates and data files. So any program can produce output in "
133 "&kugar; data file format as described in <link linkend=\"kugardata-dtd"
134 "\">KugarData <acronym>DTD</acronym></link> or even a report template file "
135 "format (see <link linkend=\"template-dtd\">KugarTemplate <acronym>DTD</"
136 "acronym></link>). &kugar; shell (report viewer) can be used to preview and "
137 "print the generated report."
138 msgstr ""
139 "Два последних метода приемлемы для разработчиков &Qt; и &kde;, но &kugar; "
140 "спроектирован генератором отчётов, независящим от языка программирования и/"
141 "или <acronym>IDE</acronym>. Он использует формат &XML; для описания шаблона "
142 "отчёта и фала данных. Так что любая программа может произвести вывод в в "
143 "формат файла данных &kugar;, как описано в <link linkend=\"kugardata-dtd"
144 "\">KugarData <acronym>DTD</acronym></link> или даже в формат файла шаблона "
145 "отчёта (см. <link linkend=\"template-dtd\">KugarTemplate <acronym>DTD</"
146 "acronym></link>). Оболочка &kugar; (программа просмотра отчётов) может "
147 "использоваться для предварительного просмотра и печати созданных отчётов."
149 #. Tag: title
150 #: progguide.docbook:86
151 #, no-c-format
152 msgid "Using &kugar; shell for previewing reports"
153 msgstr "Использование оболочки &kugar; для предварительного просмотра отчётов"
155 #. Tag: title
156 #: progguide.docbook:89
157 #, no-c-format
158 msgid "The way to create and preview (print) a report is:"
159 msgstr ""
160 "Способ создания и предварительного просмотра (печати) отчёта состоит из:"
162 #. Tag: para
163 #: progguide.docbook:91
164 #, no-c-format
165 msgid "Create a report template file with &kudesigner;"
166 msgstr "Создания с помощью &kudesigner; шаблона отчёта."
168 #. Tag: para
169 #: progguide.docbook:96
170 #, no-c-format
171 msgid ""
172 "Create a data file with column values for detail bands of the report. Use "
173 "<link linkend=\"kugardata-dtd\">KugarData <acronym>DTD</acronym></link> to "
174 "produce correct data files."
175 msgstr ""
176 "Создания файла данных со значениями столбцов для секций в отчёте. Используя "
177 "<link linkend=\"kugardata-dtd\">KugarData <acronym>DTD</acronym></link> для "
178 "производства корректных файлов данных."
180 #. Tag: para
181 #: progguide.docbook:102
182 #, no-c-format
183 msgid ""
184 "Run &kugar; shell to preview and print a report. For example, to do this, in "
185 "C or C++ languages call:"
186 msgstr ""
187 "Выполнения оболочки &kugar;  для предварительного просмотра и печати отчёта. "
188 "Например, для этого в языке C или C++ вызовите:"
190 #. Tag: programlisting
191 #: progguide.docbook:106
192 #, fuzzy, no-c-format
193 msgid ""
194 "<function>system(<option>\"kugar -r <replaceable>template_file.ktf</"
195 "replaceable>-d <replaceable>data_file.kdf</replaceable>\"</option>)</"
196 "function>."
197 msgstr ""
198 "<function>system(<option>\"kugar -r <replaceable>template_file.kut</"
199 "replaceable>-d <replaceable>data_file.kud</replaceable>\"</option>)</"
200 "function>. "
202 #. Tag: para
203 #: progguide.docbook:108
204 #, no-c-format
205 msgid ""
206 "Don't forget to include <filename class=\"headerfile\">stdlib.h</filename>."
207 msgstr ""
208 "Не забудьте включить файл <filename class=\"headerfile\">stdlib.h</filename>."
210 #. Tag: title
211 #: progguide.docbook:116
212 #, no-c-format
213 msgid "Using &kugar; classes for reporting"
214 msgstr "Использования в отчётах классов &kugar;"
216 #. Tag: para
217 #: progguide.docbook:117
218 #, fuzzy, no-c-format
219 msgid "The &kugar; library includes two widgets for use."
220 msgstr ""
221 "Библиотека &kugar; включает два класса визуальных элементов для "
222 "использования."
224 #. Tag: para
225 #: progguide.docbook:120
226 #, fuzzy, no-c-format
227 msgid ""
228 "The <classname>KReportViewer</classname> class is designed for &kde; "
229 "developers. It supports a &kde; printing system and &UNIX; localization via "
230 "<function>i18n()</function> calls."
231 msgstr ""
232 "Класс <classname>KReportViewer</classname> предназначен для разработчиков "
233 "&kde;. Он поддерживает систему печати &kde; и локализацию &UNIX;  через "
234 "вызовы функции <function>i18n()</function>."
236 #. Tag: para
237 #: progguide.docbook:125
238 #, fuzzy, no-c-format
239 msgid ""
240 "The <classname>MReportViewer</classname> class is designed for &Qt; "
241 "developers and provides real crossplatforming. It can be used not only on "
242 "&UNIX; platforms, but also on &Windows; and &MacOS;."
243 msgstr ""
244 "<classname>MReportViewer</classname> предназначен для разработчиков &Qt; и "
245 "предоставляет реальную кросс+платформенность. Он может использоваться не "
246 "только на платформах &UNIX;, но также и на &Windows; и &MacOS;."
248 #. Tag: para
249 #: progguide.docbook:130
250 #, no-c-format
251 msgid ""
252 "In order to build a program that uses the &kugar; library, it should be "
253 "linked with <filename>libkugar.so</filename> shared library, which is "
254 "provided with the &kugar; distribution on all &UNIX; platforms."
255 msgstr ""
256 "Чтобы создать программу, использующую библиотеку &kugar;, она должна быть "
257 "связана с разделяемой библиотекой <filename>libkugar.so</filename>, которая "
258 "обеспечивает работу &kugar; на всех платформах &UNIX;."
260 #. Tag: para
261 #: progguide.docbook:135
262 #, no-c-format
263 msgid ""
264 "Include files are <filename>kugarqt.h</filename> and <filename>kugar.h</"
265 "filename> for &Qt; and &kde; programs respectively."
266 msgstr ""
267 "Включить файлы <filename>kugarqt.h</filename> и <filename>kugar.h</filename> "
268 "для программ &Qt; и &kde; соответственно."
270 #. Tag: para
271 #: progguide.docbook:139
272 #, no-c-format
273 msgid ""
274 "For a detailed example of how &kugar; classes can be used, look in the "
275 "<filename class=\"directory\">/shell</filename> folder in the &kugar; "
276 "sources."
277 msgstr ""
278 "Для подробных примеров использования классов &kugar;, смотрите каталог "
279 "<filename class=\"directory\">/shell</filename> в исходных текстах &kugar;."
281 #. Tag: para
282 #: progguide.docbook:142
283 #, fuzzy, no-c-format
284 msgid ""
285 "<classname>MReportViewer</classname> (and <classname>KReportViewer</"
286 "classname> too) contains several public methods that can be used."
287 msgstr ""
288 "<classname>MReportViewer</classname> (а также <classname>KReportViewer</"
289 "classname>) содержат несколько открытых методов, которые можно использовать."
291 #. Tag: funcdef
292 #: progguide.docbook:148
293 #, no-c-format
294 msgid "void <function>renderReport</function>"
295 msgstr "void <function>renderReport</function> "
297 #. Tag: funcsynopsisinfo
298 #: progguide.docbook:151
299 #, no-c-format
300 msgid "Renders the report onto a screen."
301 msgstr "Вывести отчёт на экран."
303 #. Tag: funcdef
304 #: progguide.docbook:156
305 #, no-c-format
306 msgid "void <function>printReport</function>"
307 msgstr "void <function>printReport</function>"
309 #. Tag: funcsynopsisinfo
310 #: progguide.docbook:159
311 #, no-c-format
312 msgid "Calls the print dialog to print the report."
313 msgstr "Вызвать диалог печати для распечатки отчёта."
315 #. Tag: funcdef
316 #: progguide.docbook:164
317 #, no-c-format
318 msgid "void <function>clearReport</function>"
319 msgstr "void <function>clearReport</function>"
321 #. Tag: funcsynopsisinfo
322 #: progguide.docbook:167
323 #, no-c-format
324 msgid ""
325 "Clears the report on a screen and frees report data. Call this before "
326 "opening the new report."
327 msgstr ""
328 "Очистить отчёт на экране и удалить его данные. Вызывайте его перед открытием "
329 "нового отчёта."
331 #. Tag: funcprototype
332 #: progguide.docbook:172
333 #, no-c-format
334 msgid ""
335 "<funcdef>bool <function>setReportData</function></funcdef> <paramdef>const "
336 "QString &amp;<parameter>data_file_name</parameter></paramdef>"
337 msgstr ""
338 "<funcdef>bool <function>setReportData</function></funcdef> <paramdef>const "
339 "QString &amp;<parameter>data_file_name</parameter></paramdef>"
341 #. Tag: funcsynopsisinfo
342 #: progguide.docbook:176
343 #, no-c-format
344 msgid "Sets report data from <replaceable>data_file_name</replaceable> file."
345 msgstr ""
346 "Установить данные отчёте из файла <replaceable>data_file_name</replaceable>."
348 #. Tag: funcprototype
349 #: progguide.docbook:180
350 #, no-c-format
351 msgid ""
352 "<funcdef>bool <function>setReportData</function></funcdef> <paramdef>const "
353 "QIODevice &amp;<parameter>data_io_device</parameter></paramdef>"
354 msgstr ""
355 "<funcdef>bool <function>setReportData</function></funcdef> <paramdef>const "
356 "QIODevice &amp;<parameter>data_io_device</parameter></paramdef>"
358 #. Tag: funcsynopsisinfo
359 #: progguide.docbook:184
360 #, fuzzy, no-c-format
361 msgid ""
362 "Sets report data from <replaceable>data_io_device</replaceable> file. IO "
363 "device can be any successor of the <classname>QIODevice</classname> class. "
364 "For example, to fetch records directly from the database, create a "
365 "<classname>QIODevice</classname> successor and redefine all necessary "
366 "functionality."
367 msgstr ""
368 "Установить данные отчёта из файла <replaceable>data_io_device</replaceable>. "
369 "Устройство IO может быть любым преемником класса <classname>QIODevice</"
370 "classname>. Например, для получения записей непосредственно из базы данных, "
371 "создайте преемника <classname>QIODevice</classname> и переопределите у него "
372 "необходимую функциональность."
374 #. Tag: funcprototype
375 #: progguide.docbook:193
376 #, no-c-format
377 msgid ""
378 "<funcdef>bool <function>setReportTemplate</function></funcdef> "
379 "<paramdef>const QString &amp;<parameter>template_file_name</parameter></"
380 "paramdef>"
381 msgstr ""
382 "<funcdef>bool <function>setReportTemplate</function></funcdef> "
383 "<paramdef>const QString &amp;<parameter>template_file_name</parameter></"
384 "paramdef> "
386 #. Tag: funcsynopsisinfo
387 #: progguide.docbook:197
388 #, no-c-format
389 msgid ""
390 "Sets report template from <replaceable>template_file_name</replaceable> file."
391 msgstr ""
392 "Установить шаблон отчёта из файла <replaceable>template_file_name</"
393 "replaceable>"
395 #. Tag: funcprototype
396 #: progguide.docbook:201
397 #, no-c-format
398 msgid ""
399 "<funcdef>bool <function>setReportTemplate</function></funcdef> "
400 "<paramdef>const QIODevice &amp;<parameter>template_io_device</parameter></"
401 "paramdef>"
402 msgstr ""
403 "<funcdef>bool <function>setReportTemplate</function></funcdef> "
404 "<paramdef>const QIODevice &amp;<parameter>template_io_device</parameter></"
405 "paramdef>"
407 #. Tag: funcsynopsisinfo
408 #: progguide.docbook:205
409 #, fuzzy, no-c-format
410 msgid ""
411 "Sets report template from <replaceable>template_io_device</replaceable> "
412 "file. IO device can be any successor of the <classname>QIODevice</classname> "
413 "class. For example, to obtain a report template from network storage or "
414 "database, create a QIODevice successor and redefine all necessary "
415 "functionality."
416 msgstr ""
417 "Установить шаблон отчёта из файла <replaceable>template_io_device</"
418 "replaceable>. Устройство IO может быть любым преемником класса  "
419 "<classname>QIODevice</classname>. Например, для получения шаблона отчёта из "
420 "сети или базы данных, создайте преемника <classname>QIODevice</classname> и "
421 "переопределите у него  необходимую функциональность."
423 #. Tag: title
424 #: progguide.docbook:215
425 #, no-c-format
426 msgid "Creating &Qt; designer plugin"
427 msgstr "Создание модуля дизайнера &Qt;"
429 #. Tag: para
430 #: progguide.docbook:217
431 #, no-c-format
432 msgid ""
433 "This is the example code of how a designer plugin is created. The code below "
434 "creates a plugin for a &kde; <classname>KReportViewer</classname> widget."
435 msgstr ""
436 "Этот код примера создан как дополнение к модулю дизайнера. Код ниже создаёт "
437 "модуль для графического элемента &kde; <classname>KReportViewer</classname>."
439 #. Tag: para
440 #: progguide.docbook:222
441 #, no-c-format
442 msgid ""
443 "If a &Qt; widget is desired, replace <classname>KReportViewer</classname> "
444 "with <classname>MReportViewer</classname> and <filename>kugar.h</filename> "
445 "with <filename>kugarqt.h</filename> in the plugin code."
446 msgstr ""
447 "Если желателен графический элемент &Qt;, замените <classname>KReportViewer</"
448 "classname> на <classname>MReportViewer</classname> и <filename>kugar.h</"
449 "filename> на <filename>kugarqt.h</filename> в коде модуля."
451 #. Tag: title
452 #: progguide.docbook:230
453 #, no-c-format
454 msgid "Plugin usage"
455 msgstr "Использование модуля"
457 #. Tag: para
458 #: progguide.docbook:231
459 #, fuzzy, no-c-format
460 msgid ""
461 "The designer plugin will allow the usage of &Qt; Designer to place a "
462 "<classname>KReportViewer</classname> widget onto a window and preview it "
463 "correctly."
464 msgstr ""
465 "Модули дизайнера позволят использовать Дизайнер &Qt;  для помещения "
466 "графического элемента <classname>KReportViewer</classname> в окно, и "
467 "корректно просматривать его."
469 #. Tag: para
470 #: progguide.docbook:236
471 #, no-c-format
472 msgid ""
473 "Programs that make use of this plugin must be linked dynamically with it. "
474 "The corresponding library is called <filename>libkugar_plugin.so</filename>. "
475 "Widgets or dialogs that include <classname>KReportViewer</classname> widget "
476 "must include &lt;kugar.h&gt; in implementation and have a forward "
477 "declaration of <classname>class KReportViewer</classname>. Includes can be "
478 "done with &Qt; Designer's Object Explorer (Source tab)."
479 msgstr ""
480 "Программы, которые используют этот модуль, должны быть динамически с ним "
481 "связаны. Соответствующая библиотека называется <filename>libkugar_plugin.so</"
482 "filename>.  Графические элементы или диалоги, которые включают графический "
483 "элемент <classname>KReportViewer</classname> должны включать &lt;kugar.h&gt; "
484 "в реализацию и иметь предварительно описание класса <classname>class "
485 "KReportViewer</classname>. Включения могут быть сделаны с помощью "
486 "Исследователь объектов дизайнера &Qt; (вкладка источник)."
488 #. Tag: para
489 #: progguide.docbook:245
490 #, no-c-format
491 msgid "To build the plugin run:"
492 msgstr "Для создание модуля выполните:"
494 #. Tag: cmdsynopsis
495 #: progguide.docbook:247
496 #, no-c-format
497 msgid "<command>qmake</command> <arg>kugar_plugin.pro</arg>"
498 msgstr "<command>qmake</command> <arg>kugar_plugin.pro</arg>"
500 #. Tag: command
501 #: progguide.docbook:252
502 #, no-c-format
503 msgid "make"
504 msgstr "make"
506 #. Tag: title
507 #: progguide.docbook:259
508 #, no-c-format
509 msgid "Plugin code"
510 msgstr "Код модуля"
512 #. Tag: title
513 #: progguide.docbook:262
514 #, no-c-format
515 msgid "The plugin code consists of three files:"
516 msgstr "Код модуля находится в трёх файлах:"
518 #. Tag: link
519 #: progguide.docbook:263
520 #, no-c-format
521 msgid "<link>kugar_plugin.h</link>"
522 msgstr "<link>kugar_plugin.h</link>"
524 #. Tag: link
525 #: progguide.docbook:264
526 #, no-c-format
527 msgid "<link>kugar_plugin.cpp</link>"
528 msgstr "<link>kugar_plugin.cpp</link>"
530 #. Tag: link
531 #: progguide.docbook:265
532 #, no-c-format
533 msgid "<link>kugar_plugin.pro</link>"
534 msgstr "<link>kugar_plugin.pro</link>"
536 #. Tag: seg
537 #: progguide.docbook:267
538 #, fuzzy, no-c-format
539 msgid ""
540 "A header file for the <classname>KugarWidgetPlugin</classname>, "
541 "<classname>QWidgetPlugin</classname> successor;"
542 msgstr ""
543 "Заголовочный файл для <classname>KugarWidgetPlugin</classname>, производного "
544 "класса от <classname>QWidgetPlugin</classname>;"
546 #. Tag: seg
547 #: progguide.docbook:268
548 #, fuzzy, no-c-format
549 msgid ""
550 "A source file for the <classname>KugarWidgetPlugin</classname>, "
551 "<classname>QWidgetPlugin</classname> successor;"
552 msgstr ""
553 "Исходный файл для <classname>KugarWidgetPlugin</classname>, производного "
554 "класса от <classname>QWidgetPlugin</classname>;"
556 #. Tag: seg
557 #: progguide.docbook:269
558 #, fuzzy, no-c-format
559 msgid "A project file for the <application>QMake</application> utility."
560 msgstr "Файл проекта <application>QMake</application>."
562 #. Tag: title
563 #: progguide.docbook:274
564 #, no-c-format
565 msgid "<title>kugar_plugin.h</title>"
566 msgstr "<title>kugar_plugin.h</title>"
568 #. Tag: programlisting
569 #: progguide.docbook:276
570 #, fuzzy, no-c-format
571 msgid ""
572 "#include &lt;qwidgetplugin.h&gt;\n"
573 "\n"
574 "class KugarWidgetPlugin:public QWidgetPlugin\n"
575 "{\n"
576 "public:\n"
577 "  KugarWidgetPlugin ();\n"
578 "\n"
579 "  QStringList keys () const;\n"
580 "  QWidget *create (const QString &amp; classname, QWidget * parent =\n"
581 "                   0, const char *name = 0);\n"
582 "  QString group (const QString &amp;) const;\n"
583 "  QIconSet iconSet (const QString &amp;) const;\n"
584 "  QString includeFile (const QString &amp;) const;\n"
585 "  QString toolTip (const QString &amp;) const;\n"
586 "  QString whatsThis (const QString &amp;) const;\n"
587 "  bool isContainer (const QString &amp;) const;\n"
588 "};"
589 msgstr ""
590 "#include &lt;qwidgetplugin.h>&gt;\n"
591 "\n"
592 "class KugarWidgetPlugin:public QWidgetPlugin\n"
593 "{\n"
594 "public:\n"
595 "  KugarWidgetPlugin ();\n"
596 "\n"
597 "  QStringList keys () const;\n"
598 "  QWidget *create (const QString &amp; classname, QWidget * parent =\n"
599 "                   0, const char *name = 0);\n"
600 "  QString group (const QString &amp;) const;\n"
601 "  QIconSet iconSet (const QString &amp;) const;\n"
602 "  QString includeFile (const QString &amp;) const;\n"
603 "  QString toolTip (const QString &amp;) const;\n"
604 "  QString whatsThis (const QString &amp;) const;\n"
605 "  bool isContainer (const QString &amp;) const;\n"
606 "};"
608 #. Tag: title
609 #: progguide.docbook:281
610 #, no-c-format
611 msgid "<title>kugar_plugin.cpp</title>"
612 msgstr "<title>kugar_plugin.cpp</title>"
614 #. Tag: programlisting
615 #: progguide.docbook:283
616 #, fuzzy, no-c-format
617 msgid ""
618 "#include \"kugar_plugin.h\"\n"
619 "#include &lt;kugar.h&gt;\n"
620 "\n"
621 "static const char *kugar_pixmap[] = {\n"
622 "  \"22 22 127 2\",\n"
623 "  \".d c #000000\",\n"
624 "  \".c c #131313\",\n"
625 "  \".b c #282828\",\n"
626 "  \".a c #434241\",\n"
627 "  \".e c #4e463a\",\n"
628 "  \".# c #595551\",\n"
629 "  \".G c #66553b\",\n"
630 "  \"#F c #68635f\",\n"
631 "  \"#R c #6b4f23\",\n"
632 "  \"#q c #6e6862\",\n"
633 "  \"#M c #6f5229\",\n"
634 "  \".n c #6f6146\",\n"
635 "  \".w c #735310\",\n"
636 "  \".V c #755c2a\",\n"
637 "  \".I c #775f34\",\n"
638 "  \".0 c #77694a\",\n"
639 "  \"#n c #7e6434\",\n"
640 "  \".o c #806f50\",\n"
641 "  \"#C c #835d2d\",\n"
642 "  \".P c #837c75\",\n"
643 "  \"#B c #85653a\",\n"
644 "  \"#k c #85827e\",\n"
645 "  \".x c #866d46\",\n"
646 "  \".U c #877967\",\n"
647 "  \".X c #888888\",\n"
648 "  \".F c #89724d\",\n"
649 "  \"#x c #8b6d2a\",\n"
650 "  \".S c #8d7759\",\n"
651 "  \".z c #8e733b\",\n"
652 "  \"#L c #906e49\",\n"
653 "  \"#Q c #947b56\",\n"
654 "  \".r c #948058\",\n"
655 "  \".J c #957844\",\n"
656 "  \".4 c #987736\",\n"
657 "  \".q c #998969\",\n"
658 "  \".k c #999897\",\n"
659 "  \".R c #9a8a75\",\n"
660 "  \"#i c #9f8348\",\n"
661 "  \"#I c #a37c4b\",\n"
662 "  \".u c #a38d66\",\n"
663 "  \".E c #a58558\",\n"
664 "  \"#A c #a8834b\",\n"
665 "  \".s c #a9967a\",\n"
666 "  \".t c #aa9467\",\n"
667 "  \".C c #ae9f8d\",\n"
668 "  \"#6 c #afa49d\",\n"
669 "  \"#5 c #afa9a4\",\n"
670 "  \"#W c #b18e4d\",\n"
671 "  \".K c #b1935a\",\n"
672 "  \".B c #b39660\",\n"
673 "  \"#V c #b49866\",\n"
674 "  \"#a c #b49d6c\",\n"
675 "  \"## c #b49d72\",\n"
676 "  \".j c #b5b4b4\",\n"
677 "  \"#0 c #b7a597\",\n"
678 "  \".O c #b9b1a9\",\n"
679 "  \".L c #bb9c61\",\n"
680 "  \".M c #bb9e6b\",\n"
681 "  \".A c #bca778\",\n"
682 "  \"#j c #bea46b\",\n"
683 "  \".T c #bfb37d\",\n"
684 "  \".v c #c0b391\",\n"
685 "  \".W c #c3a262\",\n"
686 "  \".i c #c4c4c4\",\n"
687 "  \"#m c #c5b7aa\",\n"
688 "  \"#8 c #c69f80\",\n"
689 "  \".D c #c6b79b\",\n"
690 "  \"#3 c #c7a589\",\n"
691 "  \".7 c #c7a76c\",\n"
692 "  \"#u c #c7bbaf\",\n"
693 "  \".6 c #c8ad74\",\n"
694 "  \"#7 c #c8b7a9\",\n"
695 "  \"#r c #c8beb5\",\n"
696 "  \".m c #c8c8c8\",\n"
697 "  \"#U c #cbad96\",\n"
698 "  \"#f c #ccb681\",\n"
699 "  \"#h c #cdac6c\",\n"
700 "  \"#P c #cdb49f\",\n"
701 "  \"#X c #cdb8a6\",\n"
702 "  \"#H c #ceb7a4\",\n"
703 "  \".y c #ceb892\",\n"
704 "  \".N c #cecac3\",\n"
705 "  \"#Z c #cfb16f\",\n"
706 "  \"#O c #cfbdad\",\n"
707 "  \".Z c #cfc7c0\",\n"
708 "  \"#w c #d0bcab\",\n"
709 "  \".5 c #d1ad6b\",\n"
710 "  \"#s c #d1bfb1\",\n"
711 "  \".h c #d5d5d5\",\n"
712 "  \"#l c #d6cdc6\",\n"
713 "  \"#D c #d8b36e\",\n"
714 "  \".H c #dac592\",\n"
715 "  \"#t c #dbb977\",\n"
716 "  \".g c #dcdcdc\",\n"
717 "  \".1 c #e0dcc1\",\n"
718 "  \".f c #e0e0df\",\n"
719 "  \"#1 c #e3c8b1\",\n"
720 "  \"#S c #e4cdb9\",\n"
721 "  \".3 c #e4d9a3\",\n"
722 "  \"#4 c #e6c1a1\",\n"
723 "  \"#2 c #e7c4a5\",\n"
724 "  \"#K c #e9c179\",\n"
725 "  \"#g c #e9c47e\",\n"
726 "  \"#Y c #e9c8ac\",\n"
727 "  \".2 c #eae6c0\",\n"
728 "  \"#T c #ebcdb3\",\n"
729 "  \".Q c #ebd4b9\",\n"
730 "  \"#E c #ecca87\",\n"
731 "  \"#z c #ecd799\",\n"
732 "  \".l c #ececeb\",\n"
733 "  \"#G c #efd7c2\",\n"
734 "  \"#e c #efe3ab\",\n"
735 "  \".8 c #efe8e3\",\n"
736 "  \"#v c #f1dcca\",\n"
737 "  \"#. c #f2e2d4\",\n"
738 "  \".p c #f4f4f4\",\n"
739 "  \"#y c #f5daa0\",\n"
740 "  \"#J c #f6cf7f\",\n"
741 "  \".9 c #f7ede4\",\n"
742 "  \"#p c #f9d995\",\n"
743 "  \".Y c #fcf9f6\",\n"
744 "  \"#d c #fefcc5\",\n"
745 "  \"#c c #fefdda\",\n"
746 "  \"#b c #fefee1\",\n"
747 "  \"#N c #ffd685\",\n"
748 "  \"#o c #fff0a9\",\n"
749 "  \"Qt c #ffffff\",\n"
750 "  \"QtQtQtQtQtQt.#.a.a.a.b.b.b.c.c.d.d.dQtQtQtQt\",\n"
751 "  \"QtQtQtQtQtQt.e.f.g.g.f.g.g.h.i.j.d.k.dQtQtQt\",\n"
752 "  \"QtQtQtQtQtQt.a.gQtQtQtQtQtQt.l.f.c.m.k.dQtQt\",\n"
753 "  \"QtQtQtQtQt.n.n.n.n.n.o.g.pQtQt.l.bQt.m.k.dQt\",\n"
754 "  \"QtQtQt.q.q.r.q.s.t.r.q.u.u.g.pQt.a.fQt.m.k.d\",\n"
755 "  \"QtQt.s.s.v.w.x.y.y.t.z.A.t.B.i.p.#.a.b.c.d.d\",\n"
756 "  \"Qt.C.C.D.E.F.G.A.H.F.I.J.K.L.M.i.p.l.N.O.P.d\",\n"
757 "  \"Qt.s.v.Q.q.R.S.T.A.R.U.V.L.W.W.X.g.Y.f.Z.k.d\",\n"
758 "  \".0.s.t.Q.1.U.R.2.3.S.U.4.5.6.6.7.j.8.9#..O.d\",\n"
759 "  \".G##.V#a#b.1#c#c#d#e#f#g#h#i#j.W#k#l.9#.#m.d\",\n"
760 "  \".G.4.F#n#c#c#c#d#d#o#p#g.x.w#i.L#q#r#.#.#s.d\",\n"
761 "  \".e.J.J.I.3#d.H#j.6#f#p#t#n.w.E.L#q#u#.#v#w.d\",\n"
762 "  \".G.A#x.z#y#z#A#B#B#C#D#E.4.4.6#h#F#m#v#G#H.d\",\n"
763 "  \".o.s.A#j#E#t#I#I#I#C#A#J#p#p#K#t#F#m#v#G#H.d\",\n"
764 "  \"Qt##.A.6.7#I#I#A.E#L#M.W#N#J#K.a.U#O#G.Q#P.d\",\n"
765 "  \"Qt#a.M.L.J#A#I.4.E#Q.x#R#D#J#g.#.C#S.Q#T#U.d\",\n"
766 "  \"QtQt#V.K.z#Q.s.S.x.S#B#M#W#E.a.U#X.Q#T#Y#U.d\",\n"
767 "  \"QtQtQt.M#i#B.r#Q#Q.r#Q.z#Z.a#q#0#1#T#Y#2#3.d\",\n"
768 "  \"QtQtQtQtQt#j.L.L.W.5#t.a.#.U#0#1#T#Y#2#4#3.d\",\n"
769 "  \"QtQtQtQtQtQt.d#F#q#q#q.P.C#O#S.Q#T#Y#2#4#3.d\",\n"
770 "  \"QtQtQtQtQtQt.d#5#5#6#6#0#7#w#H#P#U#U#3#3#8.d\",\n"
771 "  \"QtQtQtQtQtQt.d.d.d.d.d.d.d.d.d.d.d.d.d.d.d.d\"\n"
772 "};\n"
773 "\n"
774 "KugarWidgetPlugin::KugarWidgetPlugin ()\n"
775 "{\n"
776 "}\n"
777 "\n"
778 "QStringList KugarWidgetPlugin::keys () const\n"
779 "{\n"
780 "  QStringList list;\n"
781 "  list &lt;&lt; \"KReportViewer\";\n"
782 "  return list;\n"
783 "}\n"
784 "\n"
785 "QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * "
786 "parent,\n"
787 "                                    const char *name)\n"
788 "{\n"
789 "  if (key == \"KReportViewer\")\n"
790 "    return new KReportViewer (parent, name);\n"
791 "  return 0;\n"
792 "}\n"
793 "\n"
794 "QString KugarWidgetPlugin::group (const QString &amp; feature) const\n"
795 "{\n"
796 "  if (feature == \"KReportViewer\")\n"
797 "    return \"Display\";\n"
798 "  return QString::null;\n"
799 "}\n"
800 "\n"
801 "QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const\n"
802 "{\n"
803 "  return QIconSet (QPixmap (kugar_pixmap));\n"
804 "}\n"
805 "\n"
806 "QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const\n"
807 "{\n"
808 "  if (feature == \"KReportViewer\")\n"
809 "    return \"kugar.h\";\n"
810 "  return QString::null;\n"
811 "}\n"
812 "\n"
813 "QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const\n"
814 "{\n"
815 "  if (feature == \"KReportViewer\")\n"
816 "    return \"Kugar report viewer widget\";\n"
817 "  return QString::null;\n"
818 "}\n"
819 "\n"
820 "QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const\n"
821 "{\n"
822 "  if (feature == \"KReportViewer\")\n"
823 "    return \"A widget to view xml reports\";\n"
824 "  return QString::null;\n"
825 "}\n"
826 "\n"
827 "bool KugarWidgetPlugin::isContainer (const QString &amp;) const\n"
828 "{\n"
829 "  return FALSE;\n"
830 "}\n"
831 "\n"
832 "Q_EXPORT_PLUGIN( KugarWidgetPlugin )"
833 msgstr ""
834 "#include \"kugar_plugin.h\"\n"
835 "#include &lt;kugar.h&gt;\n"
836 "\n"
837 "static const char *kugar_pixmap[] = {\n"
838 "  \"22 22 127 2\",\n"
839 "  \".d c #000000\",\n"
840 "  \".c c #131313\",\n"
841 "  \".b c #282828\",\n"
842 "  \".a c #434241\",\n"
843 "  \".e c #4e463a\",\n"
844 "  \".# c #595551\",\n"
845 "  \".G c #66553b\",\n"
846 "  \"#F c #68635f\",\n"
847 "  \"#R c #6b4f23\",\n"
848 "  \"#q c #6e6862\",\n"
849 "  \"#M c #6f5229\",\n"
850 "  \".n c #6f6146\",\n"
851 "  \".w c #735310\",\n"
852 "  \".V c #755c2a\",\n"
853 "  \".I c #775f34\",\n"
854 "  \".0 c #77694a\",\n"
855 "  \"#n c #7e6434\",\n"
856 "  \".o c #806f50\",\n"
857 "  \"#C c #835d2d\",\n"
858 "  \".P c #837c75\",\n"
859 "  \"#B c #85653a\",\n"
860 "  \"#k c #85827e\",\n"
861 "  \".x c #866d46\",\n"
862 "  \".U c #877967\",\n"
863 "  \".X c #888888\",\n"
864 "  \".F c #89724d\",\n"
865 "  \"#x c #8b6d2a\",\n"
866 "  \".S c #8d7759\",\n"
867 "  \".z c #8e733b\",\n"
868 "  \"#L c #906e49\",\n"
869 "  \"#Q c #947b56\",\n"
870 "  \".r c #948058\",\n"
871 "  \".J c #957844\",\n"
872 "  \".4 c #987736\",\n"
873 "  \".q c #998969\",\n"
874 "  \".k c #999897\",\n"
875 "  \".R c #9a8a75\",\n"
876 "  \"#i c #9f8348\",\n"
877 "  \"#I c #a37c4b\",\n"
878 "  \".u c #a38d66\",\n"
879 "  \".E c #a58558\",\n"
880 "  \"#A c #a8834b\",\n"
881 "  \".s c #a9967a\",\n"
882 "  \".t c #aa9467\",\n"
883 "  \".C c #ae9f8d\",\n"
884 "  \"#6 c #afa49d\",\n"
885 "  \"#5 c #afa9a4\",\n"
886 "  \"#W c #b18e4d\",\n"
887 "  \".K c #b1935a\",\n"
888 "  \".B c #b39660\",\n"
889 "  \"#V c #b49866\",\n"
890 "  \"#a c #b49d6c\",\n"
891 "  \"## c #b49d72\",\n"
892 "  \".j c #b5b4b4\",\n"
893 "  \"#0 c #b7a597\",\n"
894 "  \".O c #b9b1a9\",\n"
895 "  \".L c #bb9c61\",\n"
896 "  \".M c #bb9e6b\",\n"
897 "  \".A c #bca778\",\n"
898 "  \"#j c #bea46b\",\n"
899 "  \".T c #bfb37d\",\n"
900 "  \".v c #c0b391\",\n"
901 "  \".W c #c3a262\",\n"
902 "  \".i c #c4c4c4\",\n"
903 "  \"#m c #c5b7aa\",\n"
904 "  \"#8 c #c69f80\",\n"
905 "  \".D c #c6b79b\",\n"
906 "  \"#3 c #c7a589\",\n"
907 "  \".7 c #c7a76c\",\n"
908 "  \"#u c #c7bbaf\",\n"
909 "  \".6 c #c8ad74\",\n"
910 "  \"#7 c #c8b7a9\",\n"
911 "  \"#r c #c8beb5\",\n"
912 "  \".m c #c8c8c8\",\n"
913 "  \"#U c #cbad96\",\n"
914 "  \"#f c #ccb681\",\n"
915 "  \"#h c #cdac6c\",\n"
916 "  \"#P c #cdb49f\",\n"
917 "  \"#X c #cdb8a6\",\n"
918 "  \"#H c #ceb7a4\",\n"
919 "  \".y c #ceb892\",\n"
920 "  \".N c #cecac3\",\n"
921 "  \"#Z c #cfb16f\",\n"
922 "  \"#O c #cfbdad\",\n"
923 "  \".Z c #cfc7c0\",\n"
924 "  \"#w c #d0bcab\",\n"
925 "  \".5 c #d1ad6b\",\n"
926 "  \"#s c #d1bfb1\",\n"
927 "  \".h c #d5d5d5\",\n"
928 "  \"#l c #d6cdc6\",\n"
929 "  \"#D c #d8b36e\",\n"
930 "  \".H c #dac592\",\n"
931 "  \"#t c #dbb977\",\n"
932 "  \".g c #dcdcdc\",\n"
933 "  \".1 c #e0dcc1\",\n"
934 "  \".f c #e0e0df\",\n"
935 "  \"#1 c #e3c8b1\",\n"
936 "  \"#S c #e4cdb9\",\n"
937 "  \".3 c #e4d9a3\",\n"
938 "  \"#4 c #e6c1a1\",\n"
939 "  \"#2 c #e7c4a5\",\n"
940 "  \"#K c #e9c179\",\n"
941 "  \"#g c #e9c47e\",\n"
942 "  \"#Y c #e9c8ac\",\n"
943 "  \".2 c #eae6c0\",\n"
944 "  \"#T c #ebcdb3\",\n"
945 "  \".Q c #ebd4b9\",\n"
946 "  \"#E c #ecca87\",\n"
947 "  \"#z c #ecd799\",\n"
948 "  \".l c #ececeb\",\n"
949 "  \"#G c #efd7c2\",\n"
950 "  \"#e c #efe3ab\",\n"
951 "  \".8 c #efe8e3\",\n"
952 "  \"#v c #f1dcca\",\n"
953 "  \"#. c #f2e2d4\",\n"
954 "  \".p c #f4f4f4\",\n"
955 "  \"#y c #f5daa0\",\n"
956 "  \"#J c #f6cf7f\",\n"
957 "  \".9 c #f7ede4\",\n"
958 "  \"#p c #f9d995\",\n"
959 "  \".Y c #fcf9f6\",\n"
960 "  \"#d c #fefcc5\",\n"
961 "  \"#c c #fefdda\",\n"
962 "  \"#b c #fefee1\",\n"
963 "  \"#N c #ffd685\",\n"
964 "  \"#o c #fff0a9\",\n"
965 "  \"Qt c #ffffff\",\n"
966 "  \"QtQtQtQtQtQt.#.a.a.a.b.b.b.c.c.d.d.dQtQtQtQt\",\n"
967 "  \"QtQtQtQtQtQt.e.f.g.g.f.g.g.h.i.j.d.k.dQtQtQt\",\n"
968 "  \"QtQtQtQtQtQt.a.gQtQtQtQtQtQt.l.f.c.m.k.dQtQt\",\n"
969 "  \"QtQtQtQtQt.n.n.n.n.n.o.g.pQtQt.l.bQt.m.k.dQt\",\n"
970 "  \"QtQtQt.q.q.r.q.s.t.r.q.u.u.g.pQt.a.fQt.m.k.d\",\n"
971 "  \"QtQt.s.s.v.w.x.y.y.t.z.A.t.B.i.p.#.a.b.c.d.d\",\n"
972 "  \"Qt.C.C.D.E.F.G.A.H.F.I.J.K.L.M.i.p.l.N.O.P.d\",\n"
973 "  \"Qt.s.v.Q.q.R.S.T.A.R.U.V.L.W.W.X.g.Y.f.Z.k.d\",\n"
974 "  \".0.s.t.Q.1.U.R.2.3.S.U.4.5.6.6.7.j.8.9#..O.d\",\n"
975 "  \".G##.V#a#b.1#c#c#d#e#f#g#h#i#j.W#k#l.9#.#m.d\",\n"
976 "  \".G.4.F#n#c#c#c#d#d#o#p#g.x.w#i.L#q#r#.#.#s.d\",\n"
977 "  \".e.J.J.I.3#d.H#j.6#f#p#t#n.w.E.L#q#u#.#v#w.d\",\n"
978 "  \".G.A#x.z#y#z#A#B#B#C#D#E.4.4.6#h#F#m#v#G#H.d\",\n"
979 "  \".o.s.A#j#E#t#I#I#I#C#A#J#p#p#K#t#F#m#v#G#H.d\",\n"
980 "  \"Qt##.A.6.7#I#I#A.E#L#M.W#N#J#K.a.U#O#G.Q#P.d\",\n"
981 "  \"Qt#a.M.L.J#A#I.4.E#Q.x#R#D#J#g.#.C#S.Q#T#U.d\",\n"
982 "  \"QtQt#V.K.z#Q.s.S.x.S#B#M#W#E.a.U#X.Q#T#Y#U.d\",\n"
983 "  \"QtQtQt.M#i#B.r#Q#Q.r#Q.z#Z.a#q#0#1#T#Y#2#3.d\",\n"
984 "  \"QtQtQtQtQt#j.L.L.W.5#t.a.#.U#0#1#T#Y#2#4#3.d\",\n"
985 "  \"QtQtQtQtQtQt.d#F#q#q#q.P.C#O#S.Q#T#Y#2#4#3.d\",\n"
986 "  \"QtQtQtQtQtQt.d#5#5#6#6#0#7#w#H#P#U#U#3#3#8.d\",\n"
987 "  \"QtQtQtQtQtQt.d.d.d.d.d.d.d.d.d.d.d.d.d.d.d.d\"\n"
988 "};\n"
989 "\n"
990 "KugarWidgetPlugin::KugarWidgetPlugin ()\n"
991 "{\n"
992 "}\n"
993 "\n"
994 "QStringList KugarWidgetPlugin::keys () const\n"
995 "{\n"
996 "  QStringList list;\n"
997 "  list &lt;&lt; \"KReportViewer\";\n"
998 "  return list;\n"
999 "}\n"
1000 "\n"
1001 "QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * "
1002 "parent,\n"
1003 "                                    const char *name)\n"
1004 "{\n"
1005 "  if (key == \"KReportViewer\")\n"
1006 "    return new KReportViewer (parent, name);\n"
1007 "  return 0;\n"
1008 "}\n"
1009 "\n"
1010 "QString KugarWidgetPlugin::group (const QString &amp; feature) const\n"
1011 "{\n"
1012 "  if (feature == \"KReportViewer\")\n"
1013 "    return \"Display\";\n"
1014 "  return QString::null;\n"
1015 "}\n"
1016 "\n"
1017 "QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const\n"
1018 "{\n"
1019 "  return QIconSet (QPixmap (kugar_pixmap));\n"
1020 "}\n"
1021 "\n"
1022 "QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const\n"
1023 "{\n"
1024 "  if (feature == \"KReportViewer\")\n"
1025 "    return \"kugar.h\";\n"
1026 "  return QString::null;\n"
1027 "}\n"
1028 "\n"
1029 "QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const\n"
1030 "{\n"
1031 "  if (feature == \"KReportViewer\")\n"
1032 "    return \"Kugar report viewer widget\";\n"
1033 "  return QString::null;\n"
1034 "}\n"
1035 "\n"
1036 "QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const\n"
1037 "{\n"
1038 "  if (feature == \"KReportViewer\")\n"
1039 "    return \"A widget to view xml reports\";\n"
1040 "  return QString::null;\n"
1041 "}\n"
1042 "\n"
1043 "bool KugarWidgetPlugin::isContainer (const QString &amp;) const\n"
1044 "{\n"
1045 "  return FALSE;\n"
1046 "}\n"
1047 "\n"
1048 "Q_EXPORT_PLUGIN( KugarWidgetPlugin )"
1050 #. Tag: title
1051 #: progguide.docbook:287
1052 #, no-c-format
1053 msgid "<title>kugar_plugin.pro</title>"
1054 msgstr "<title>kugar_plugin.pro</title>"
1056 #. Tag: programlisting
1057 #: progguide.docbook:289
1058 #, no-c-format
1059 msgid ""
1060 "SOURCES        += kugar_plugin.cpp\n"
1061 "HEADERS        += kugar_plugin.h\n"
1062 "\n"
1063 "DESTDIR = $(QTDIR)/plugins/designer\n"
1064 "TARGET  = kugar_plugin\n"
1065 "\n"
1066 "target.path=$$plugins.path\n"
1067 "isEmpty(target.path):target.path=$$QT_PREFIX/plugins\n"
1068 "PROJECTNAME = KugarPlugin\n"
1069 "TEMPLATE    = lib\n"
1070 "CONFIG           += qt warn_on release plugin\n"
1071 "unix:LIBS  += -lkugar\n"
1072 "LANGUAGE    = C++"
1073 msgstr ""
1074 "SOURCES        += kugar_plugin.cpp\n"
1075 "HEADERS        += kugar_plugin.h\n"
1076 "\n"
1077 "DESTDIR = $(QTDIR)/plugins/designer\n"
1078 "TARGET  = kugar_plugin\n"
1079 "\n"
1080 "target.path=$$plugins.path\n"
1081 "isEmpty(target.path):target.path=$$QT_PREFIX/plugins\n"
1082 "PROJECTNAME = KugarPlugin\n"
1083 "TEMPLATE    = lib\n"
1084 "CONFIG           += qt warn_on release plugin\n"
1085 "unix:LIBS  += -lkugar\n"
1086 "LANGUAGE    = C++"