Re: KGlobal::locale() replacement

2013-08-28 Thread Martin Graesslin
On Wednesday 28 August 2013 22:38:34 Albert Astals Cid wrote: > El Dijous, 29 d'agost de 2013, a les 04:36:32, Reza Shah va escriure: > > Hi, > > > > I want to replace these: > > KGlobal::locale()->positiveSign() and negativeSign() > > > > Currently i'm using KLocale::global()->positiveSign() and

Re: KGlobal::locale() replacement

2013-08-28 Thread Karl-Heinz Zimmer
Hi, background is explained there: http://community.kde.org/KDE_Core/KLocale/Frameworks please read this section: "Replace KDE Global Locale" Cheers Karl-Heinz On Thu, 29 Aug 2013 04:36:32 +0900 Reza Shah wrote: > Hi, > > I want to replace these: > KGlobal::locale()->positiveSign() and neg

Re: KGlobal::locale() replacement

2013-08-28 Thread John Layt
> El Dimecres, 28 d'agost de 2013, a les 19:34:04, Reza Shah va escriure: >> Hi >> >> What would be the proper replacement for KGlobal::locale() in KF5: >> - KLocale::global() or >> - QLocale::system() Neither :-) Just use QLocale() which will return the default locale for the application, which w

Re: KGlobal::locale() replacement

2013-08-28 Thread Albert Astals Cid
El Dijous, 29 d'agost de 2013, a les 04:36:32, Reza Shah va escriure: > Hi, > > I want to replace these: > KGlobal::locale()->positiveSign() and negativeSign() > > Currently i'm using KLocale::global()->positiveSign() and negativeSign(). If KLocale::global()->positiveSign() and negativeSign() a

Re: KGlobal::locale() replacement

2013-08-28 Thread Reza Shah
Hi, I want to replace these: KGlobal::locale()->positiveSign() and negativeSign() Currently i'm using KLocale::global()->positiveSign() and negativeSign(). I found QLocale::system() in Qt5, but i'm not sure if i should use it to replace KGlobale::locale() in my case. Regards, Reza On Thu, Aug

Reacting to changes in the DOM tree of a web-page displayed in Konqueror

2013-08-28 Thread Denis Steckelmacher
Hi, I'm writing a Konqueror plugin that needs to perform operations every time the DOM tree of a page changes. As DOM tree changes generally occur after a network request (an AJAX web-page fetched data on the Internet, on a plain HTML page has been loaded), I tried to use the started(KJob *)

Re: KGlobal::locale() replacement

2013-08-28 Thread Albert Astals Cid
El Dimecres, 28 d'agost de 2013, a les 19:34:04, Reza Shah va escriure: > Hi > > What would be the proper replacement for KGlobal::locale() in KF5: > - KLocale::global() or > - QLocale::system() What do you want to do? Cheers, Albert > > Regards, > Reza >> Visit http://mail.kde.org/mailman

KGlobal::locale() replacement

2013-08-28 Thread Reza Shah
Hi What would be the proper replacement for KGlobal::locale() in KF5: - KLocale::global() or - QLocale::system() Regards, Reza >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<