[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KSystemTrayIcon and quitSelect problem
From: Tom Albers <toma () kde ! org>
Date: 2009-09-12 15:36:30
Message-ID: 3967963.bzpC05nha5 () kde ! org
[Download RAW message or body]
Op Saturday 12 September 2009 17:15 schreef u:
> On Saturday 12 September 2009 16:47:18 Aaron J. Seigo wrote:
> > what, exactly, are you trying to achieve? saving a file before exiting, or?
>
> If the program is visible and the close event is triggered, then the program
> is hidden and only the system tray icon is accessible.
>
> When the system tray exit action is triggered the program exits unless a
> certain operation is in progress. If the operation is in progress a
> "wait/exit" message box appears.
> If the user selects the "wait" option the program won't exit.
>
> I have been able to implement everything. Unfortunately my program exits also
> if the user selects the "wait" option.
>
> This logic is coded inside the KMainWindow::queryClose() method.
Not sure if it will help, but did you set:
setQuitOnLastWindowClosed( false );
Toma
--
KDE Developer
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic