Re: [PATCH 1/2] Fix URL parsing

2016-05-29 Thread Arno
ut of most random input. Yes, I figured out that much. Thanks for the hint anyway. I stared at the code for quite a while, but that never crossed my mind. Missed the forest for the trees. Anyway, discussion is happening on the review board: ~~ https://git.reviewboard.kde.org/r/128032/ ~~ -- Regards, Arno

Re: [PATCH 1/2] Fix URL parsing

2016-05-28 Thread Arno
Hi Thiago, On 5/28/2016 3:01 PM, Thiago Macieira wrote: > Em sábado, 28 de maio de 2016, às 01:08:24 BRT, Arno Moeller escreveu: >> As it seems, QUrl does not know about rdp://, so url.scheme() is empty. >> The old code tried to "fix" it by replacing the scheme with v

Re: [PATCH 0/2] KRDC: Fix command line argument handling

2016-05-28 Thread Arno
Hi Burkhard, On 5/28/2016 9:06 AM, Burkhard Lück wrote: > please upload your patch to https://git.reviewboard.kde.org and select the > repositoriy krdc Thanks for the hint. Done: https://git.reviewboard.kde.org/r/128032/ -- Regards, Arno

Re: [PATCH 0/2] KRDC: Fix command line argument handling

2016-05-27 Thread Arno
Hi, It just occurred to me that I didn't include a reproducer/test case: Just try: ~~ krdc rdp:// ~~ with and without the patches. The patches are for git://anongit.kde.org/krdc, btw. -- Regards, Arno.

[PATCH 2/2] Fix saving host preferences

2016-05-27 Thread Arno Moeller
From: Arno Well, this one was fun. Took me a while to figure out that saving the preferences for a host also destroys the view... When passing an URL via command line, somehow saveHostPrefs() is being called, destroying the just created view, leaving the baffled user with only a new connection

[PATCH 1/2] Fix URL parsing

2016-05-27 Thread Arno Moeller
From: Arno As it seems, QUrl does not know about rdp://, so url.scheme() is empty. The old code tried to "fix" it by replacing the scheme with vnc://, because, as the comment stated, it was default in kde3. Fix the "fix" by explicitly looking for supported schemes (vnc://, r

[PATCH 0/2] KRDC: Fix command line argument handling

2016-05-27 Thread Arno Moeller
From: Arno Two small fixes for KRDC. The first patch fixes parsing Url parsing from the command line. When passing rdp://, url.scheme() is empty, so krdc tried to "fix" it by replacing the scheme with vnc:// Once I had that working, I found out that the newly created view was i

Re: Google Summer of Code 2016 - C# bindings for Qt

2016-03-03 Thread Arno Rehn
rp is obviously tightly integrated with Qt, which is, to me, the very heart of KDE, so I believe that any project which benefits Qt developers helps KDE grow. The second reason is that I was actually involved with the KDE community a few years ago. I was working on Qyoto with Arno Rehn - my commits ca

Re: GSoC Idea: Create obex KIO plugin

2011-04-01 Thread Arno Rehn
On Friday 01 April 2011 15:59:21 Pali Rohár wrote: > I tried find KIO obex bt plugin, but I didnt find it. So is there KIO > obex bluetooth plugin? It's part of bluedevil, afaik. -- Arno Rehn a...@arnorehn.de >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Native Qt support for KStandardDirs

2011-02-07 Thread Arno Rehn
On Monday 07 February 2011 23:25:02 Thiago Macieira wrote: > On Monday, 7 de February de 2011 10:05:39 Aaron J. Seigo wrote: > > On Monday, February 7, 2011, Arno Rehn wrote: > > > shame if that feature went away I think. And I find it hard to imagine > > > how many QFil

Re: Native Qt support for KStandardDirs

2011-02-07 Thread Arno Rehn
On Monday 07 February 2011 18:03:57 Aaron J. Seigo wrote: > On Saturday, February 5, 2011, Arno Rehn wrote: > > In your main() function, create an instance of the attached class > > i'm not sure how long into the future i'd expect that to continue working > as adverti

Re: Native Qt support for KStandardDirs

2011-02-05 Thread Arno Rehn
On Sunday 06 February 2011 01:09:11 Thomas Lübking wrote: > Am 06.02.2011, 00:40 Uhr, schrieb Arno Rehn : > > In your main() function, create an instance of the attached class > > (somewhere at the beginning, before you access anything with '%foo'). > > That'

Re: Native Qt support for KStandardDirs

2011-02-05 Thread Arno Rehn
available in any KDE powered app. Docs: http://doc.qt.nokia.com/latest/qabstractfileengine.html http://doc.qt.nokia.com/latest/qabstractfileenginehandler.html -- Arno Rehn a...@arnorehn.de class KStandardDirsFileEngineHandler : public QAbstractFileEngineHandler { public: QAbstractFileEng