(no subject)

Kevin Krammer kevin.krammer at gmx.at
Wed May 22 09:01:28 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

On Tuesday, 21. May 2002 22:46, Pouya \(A.Sabzevari\) wrote:
> hi all
> can anyone help me to work with "ksystemtray.h"?
> if anyone have a complete program with it send it me

I take this is a developer question.
You should subscribe to kde-devel for that.
I also recommend that you be a bit more explicit on what you want to achieve.

Do you want to use KSystemTray just for raising/hiding you application or do 
you also need to extend the contex menu.

In the first case you just create an instance of KSystemTray with your 
mainwindow as the parent, set your icon, and call its show() method which 
will then automatically dock it.

Any left click on the icon will then hide/show your main window.

Cheers,
Kevin

P.S. please try to provide a subject when posting to mailinglists :)

- -- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer at gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE861BdnKMhG6pzZJIRAvdaAJ9nU7dI6FHFNx2zwthdP/rqZGEyRQCfZJBS
OtceOwW0Q39P0ofuPLb1vq4=
=EjVC
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list