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

List:       kde-devel
Subject:    Re: simple question about QString
From:       Lukas Tinkl <lukas.tinkl () suse ! cz>
Date:       2001-03-22 10:15:01
[Download RAW message or body]

Dne po 19. bøezen 2001 15:10 Pupeno napsal(a):
> On Tuesday 20 March 2001 10:23, David Faure wrote:
> > On Monday 19 March 2001 05:42, Pupeno wrote:
> > > On Monday 19 March 2001 02:08, Christian Gebauer öü Christian Gebauer
> > > öü Christian Gebauer öü Christian Gebauer öü Christian Gebauer öü
> > > Christian
> > >
> > > Gebauer öü Christian Gebauer öü wrote:
> > > > Pupeno wrote:
> > > > > Which is the best way to generate a QString & that is needed by
> > > > > QRadioButton::QRadioButton ( const QString & text, QWidget *
> > > > > parent, const char * name=0 ) ?
> > > > > Thank you.
> > > >
> > > > QRadioButton(i18n("blah"),....)
> > >
> > > but i18n("blah") is not a QString & as far as I know, right ?
> >
> > It returns a QString, whose reference will be passed to the QRadioButton
> > constructor. I think you need to have a closer look at a C++ book :-)
>
> does i18n() returns a QString ? I though it returns a char *, where can I
> find documents about i18n() ?

You may want to have a look at 
http://developer.kde.org/kde2arch/kde-i18n-howto.html

-- 
Regards,

Lukas Tinkl | i18n | KDE development
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: lukas.tinkl@suse.cz | lukas@kde.org
Drahobejlova 27 tel:+420 2 8309 5381
190 00 Prague 9 fax:+420 2 8309 5374
Czech Republic http://www.suse.cz

>> Visit http://master.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