[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE_3_1_BRANCH: kdemultimedia/kfile-plugins/ogg
From:       Lukáš Tinkl <lukas.tinkl () suse ! cz>
Date:       2002-12-31 19:12:22
[Download RAW message or body]

Dne út 31. prosince 2002 15:25 Carsten Pfeiffer napsal(a):
> CVS commit by pfeiffer:
>
> backport Artist and Title items
>
>
>   M +12 -4     kfile_ogg.cpp   1.22.2.2
>
>
> --- kdemultimedia/kfile-plugins/ogg/kfile_ogg.cpp  #1.22.2.1:1.22.2.2
> @@ -45,5 +45,5 @@
>  // known translations for common ogg/vorbis keys
>  // from http://www.ogg.org/ogg/vorbis/doc/v-comment.html
> -static const char* knownTranslations[] = {
> +static const char* const knownTranslations[] = {
>    I18N_NOOP("Title"),
>    I18N_NOOP("Version"),
> @@ -77,4 +77,14 @@ KOggPlugin::KOggPlugin( QObject *parent,
>                           KFileMimeTypeInfo::Removable);
>
> +    KFileMimeTypeInfo::ItemInfo* item = 0;
> +
> +    item = addItemInfo(group, "Artist", i18n("Artist"), QVariant::String);
> +    setHint(item, KFileMimeTypeInfo::Author);
> +    setAttributes(item, KFileMimeTypeInfo::Modifiable);
> +
> +    item = addItemInfo(group, "Title", i18n("Title"), QVariant::String);
> +    setHint(item, KFileMimeTypeInfo::Name);
> +    setAttributes(item, KFileMimeTypeInfo::Modifiable);
> +

What about those new strings? ;)

-- 
Lukáš Tinkl
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: lukas.tinkl@suse.cz, lukas@kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic