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

List:       kde-devel
Subject:    KMdi horribly broken?
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2005-03-09 13:29:59
Message-ID: 20050309132959.GA21987 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

Hi,

could it be that getting a signal when a KMdiChildView looses focus
(i.e. I switch to another view in the tabbar) isn't possible? Actually
getting the lostFocus signal is fine, but when changing the view via
choosing another tab I get 2 activated and 2 lostFocus signals. Even
worse the KMdiChildview* parameter points to the same view everytime
the signal is emitted.

Is this expected behaviour? Then how can I disconnect from the old
view and reconnect to  the new view, when chaning the view? (I mean
disconnect signals from slots of the view)? I tried to use
viewActivated and viewDeactivated from KMdiMainFrm, but only
viewActived is emitted when chaning the view (i.e. the slot connected
to viewDeactivated is never called). Then I tried with activated and
lostFocus of the KMdiChildView, but as I said above I never get a
lostFocus signal from the "old view". I don't want to dive into the
source of KMdi just to figure this out.

Andreas

-- 
You will be recognized and honored as a community leader.
 
>> 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