QAction and KGlobalAccel::globalShortcutChanged signal in KF5

2013-08-07 Thread Reza Shah
Hi, I'm trying to port KAction to QAction. The old codes something like below: -- KShortcut cubeShortcut, cylinderShortcut; KAction* cubeAction, * cylinderAction; cubeShortcut = cubeAction->globalShortcut(); connect(cubeAction, SIGNAL(globalShortcutChanged(QKeySequence)),

Re: QAction and KGlobalAccel::globalShortcutChanged signal in KF5

2013-08-07 Thread Kevin Ottens
Hello, On Wednesday 07 August 2013 17:11:09 Reza Shah wrote: > Below are the new codes(simplified), but i have doubt how to use > globalShortcutChanged, and effectShortcutChanged properly. > --- > QList cubeShortcut; > QList cylinderShortcut; > > QAction* cubeAction; > QAc

Re: QAction and KGlobalAccel::globalShortcutChanged signal in KF5

2013-08-07 Thread Reza Shah
Thanks a lot. Regards, Reza On Wed, Aug 7, 2013 at 7:50 PM, Kevin Ottens wrote: > Hello, > > On Wednesday 07 August 2013 17:11:09 Reza Shah wrote: > > Below are the new codes(simplified), but i have doubt how to use > > globalShortcutChanged, and effectShortcutChanged properly. > > ---

Question about license

2013-08-07 Thread Sinny Kumari
What happens if I copy code which has BSD license to my file which has GPL license. Do both licence exist together or something else? This question is related to Plasma Media Center bug https://bugs.kde.org/show_bug.cgi?id=323254 . Thanks -- http://www.sinny.in >> Visit http://mail.kde.org/mai

Re: Question about license

2013-08-07 Thread Thiago Macieira
On quinta-feira, 8 de agosto de 2013 01:01:32, Sinny Kumari wrote: > What happens if I copy code which has BSD license to my file which has GPL > license. Do both licence exist together or something else? > > This question is related to Plasma Media Center bug > https://bugs.kde.org/show_bug.cgi?i

Re: Question about license

2013-08-07 Thread Sebastian Kügler
Hi Sinny, On Thursday, August 08, 2013 01:01:32 Sinny Kumari wrote: > What happens if I copy code which has BSD license to my file which has GPL > license. Do both licence exist together or something else? You can just let the BSD license as is, or relicense the BSD code to (L)GPL, both are lega