4 * Copyright (c) 2001, 2002, 2003, 2004 Frerich Raabe <raabe@kde.org>
6 * This program is distributed in the hope that it will be useful, but WITHOUT
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8 * FOR A PARTICULAR PURPOSE. For licensing and distribution details, check the
9 * accompanying file 'COPYING'.
11 #ifndef LIBRSS_GLOBAL_H
12 #define LIBRSS_GLOBAL_H
14 #include <kdemacros.h>
18 #define LIBRSS_EXPORT KDE_EXPORT
26 * Versions currently supported by this library. This enumeration is
27 * subject to be extended in the future and used by Document::version() to
28 * provide an interface to the client using which he can find out what
29 * version the loaded RSS file actually is.
42 * Possible status values returned by the signal
43 * Loader::loadingComplete().
47 * Nothing went wrong so far, but you still have to check
48 * what values are returned by the classes since it's not
49 * guaranteed that the retrieved RSS markup actually
50 * complies to one of the RSS DTDs.*/
52 * Something went wrong while retrieving the RSS data,
53 * this could be a problem while resolving the host name
54 * (assuming the source file loader was used) or a
55 * problem with the program to be executed (in case the
56 * program loader was used.).*/
58 * The overall format of the RSS markup wasn't XML
59 * conform. This only indicates that the data wasn't
60 * valid (for example, if the data returned by a
61 * DataRetriever isn't well-formed XML).
62 * @see DataRetriever */
66 * Possible languages which are returned by Document::language().
69 UndefinedLanguage
, /** Unknown / undefined language */
71 af
, /** Afrikaans */ sq
, /** Albanian */
72 eu
, /** Basque */ be
, /** Belarusian */
73 bg
, /** Bulgarian */ ca
, /** Catalan */
74 zh_cn
, /** Chinese (Simplified) */ zh_tw
, /** Chinese (Traditional */
75 hr
, /** Croatian */ cs
, /** Czech */
76 da
, /** Danish */ nl
, /** Dutch */
77 nl_be
, /** Dutch (Belgium) */ nl_nl
, /** Dutch (Netherlands) */
78 en
, /** English */ en_au
, /** English (Australia) */
79 en_bz
, /** English (Belize) */ en_ca
, /** English (Canada) */
80 en_ie
, /** English (Ireland) */ en_jm
, /** English (Jamaica) */
81 en_nz
, /** English (New Zealand) */ en_ph
, /** English (Phillipines) */
82 en_za
, /** English (South Africa) */ en_tt
, /** English (Trinidad) */
83 en_gb
, /** English (Great Britain) */en_us
, /** English (United States) */
84 en_zw
, /** English (Zimbabwe) */ fo
, /** Faeroese */
85 fi
, /** Finnish */ fr
, /** French */
86 fr_be
, /** French (Belgium) */ fr_ca
, /** French (Canada) */
87 fr_fr
, /** French (France) */ fr_lu
, /** French (Luxembourg) */
88 fr_mc
, /** French (Monaco) */ fr_ch
, /** French (Switzerland) */
89 gl
, /** Galician */ gd
, /** Gaelic */
90 de
, /** German */ de_at
, /** German (Austria) */
91 de_de
, /** German (Germany) */ de_li
, /** German (Liechtenstein) */
92 de_lu
, /** German (Luxembourg) */ de_ch
, /** German (Switzerland) */
93 el
, /** Greek */ hu
, /** Hungarian */
94 is
, /** Icelandic */ id
, /** Indonesian */
95 ga
, /** Irish */ it
, /** Italian */
96 it_it
, /** Italian (Italy) */ it_ch
, /** Italian (Switzerland) */
97 ja
, /** Japanese */ ko
, /** Korean */
98 mk
, /** Macedonian */ no
, /** Norwegian */
99 pl
, /** Polish */ pt
, /** Portuguese */
100 pt_br
, /** Portuguese (Brazil) */ pt_pt
, /** Portuguese (Portugal) */
101 ro
, /** Romanian */ ro_mo
, /** Romanian (Moldova) */
102 ro_ro
, /** Romanian (Romania) */ ru
, /** Russian */
103 ru_mo
, /** Russian (Moldova) */ ru_ru
, /** Russian (Russia) */
104 sr
, /** Serbian */ sk
, /** Slovak */
105 sl
, /** Slovenian */ es
, /** Spanish */
106 es_ar
, /** Spanish (Argentina) */ es_bo
, /** Spanish (Bolivia) */
107 es_cl
, /** Spanish (Chile) */ es_co
, /** Spanish (Colombia) */
108 es_cr
, /** Spanish (Costa Rica) */ es_do
, /** Spanish (Dominican Rep.) */
109 es_ec
, /** Spanish (Ecuador) */ es_sv
, /** Spanish (El Salvador) */
110 es_gt
, /** Spanish (Guatemala) */ es_hn
, /** Spanish (Honduras) */
111 es_mx
, /** Spanish (Mexico) */ es_ni
, /** Spanish (Nicaragua) */
112 es_pa
, /** Spanish (Panama) */ es_py
, /** Spanish (Paraguay) */
113 es_pe
, /** Spanish (Peru) */ es_pr
, /** Spanish (Puerto Rico) */
114 es_es
, /** Spanish (Spain) */ es_uy
, /** Spanish (Uruguay) */
115 es_ve
, /** Spanish (Venezuela) */ sv
, /** Swedish */
116 sv_fi
, /** Swedish (Finland) */ sv_se
, /** Swedish (Sweden) */
117 tr
, /** Turkish */ uk
/** Ukranian */
121 * Possible values contained in a DayList.
125 Monday
= 1, Tuesday
, Wednesday
, Thursday
, Friday
, Saturday
, Sunday
129 * This type is used by Document::skipDays().
131 typedef QList
<Day
> DayList
;
134 * This type is used by Document::skipHours().
136 typedef QList
<unsigned short> HourList
;
139 #endif // LIBRSS_GLOBAL_H