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

List:       kde-devel
Subject:    Re: Identify a directory except with its name ?
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2001-09-28 13:07:17
[Download RAW message or body]

On Friday, 28. September 2001 14:46 (GMT +0200), Kai Heitkamp wrote:
> KDirLister *dirLister = new KDirLister();
> dirLister->openURL( "audiocd:/By Name?device=/dev/scd1", true, true );
>
> does not find 'By Name', because this must be:
>
> KDirLister *dirLister = new KDirLister();
> dirLister->openURL( "audiocd:/Nach Namen?device=/dev/scd1", true, true );
>
> Can I identify a directory differently than with its name ?
> Any ideas for this problem ?

What your using i18n for the language dependent part?
like dirLister->openURL("audiocd:/"+i18n("By Name")+"?device....");

Kevin

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer@gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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