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

List:       kde-panel-devel
Subject:    Re: QActions in QML
From:       "Dmitry A. Ashkadov" <dmitry.ashkadov () rosalab ! ru>
Date:       2012-11-23 7:37:01
Message-ID: 1124105599.7071.1353656221287.JavaMail.root () collab ! rosalab ! ru
[Download RAW message or body]

Hello, friend!

Thank you for your explanations! But I don't really need trigger actions, I need \
create KAction and get notifications when it's triggered. So, if I undrstand right, I \
can create KAction only from C++ and then use onTriggered: {}    

----- Исходное сообщение -----
От: "Sebastian Kügler" <sebas@kde.org>
Кому: kde-core-devel@kde.org, plasma-devel@kde.org
Отправленные: Вторник, 30 Октябрь 2012 г 20:47:30
Тема: Re: QActions in QML

On Sunday, October 28, 2012 22:33:55 Daker Fernandes Pinheiro wrote:
> This just worked:
> http://paste.kde.org/584660/
> Where QAction is
> http://paste.kde.org/584672/

I saw that, but you're cheating :)

Creating a new Type that wraps QAction is always possible, but it's not a good 
solution.

Anyway, problem was somewhere in my code, it works with 
QDeclarativeListProperty<QAction> :)

Thanks anyway!
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


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

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