[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KPartManager won't emit the partRemoved signal
From: "Brooks, Joshua CIV NAVAIR" <joshua.brooks () navy ! mil>
Date: 2003-11-03 21:15:16
[Download RAW message or body]
--===============1919248111==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C3A24F.940B404B"
This is a multi-part message in MIME format.
On Thursday 30 October 2003 19:26, Brooks, Joshua CIV NAVAIR wrote:
> I try connecting the KPartManager to catch in a slot defined by me when
> one of my parts gets destroyed like this:
This would catch the destrcution of the part manager.
You have to connect to the destroyed signal of the part if you want to
catch its deletion.
Cheers,
Kevin
I tried it this way too. The destroyed signal doesn't seem to be emitting. A friend \
from work said he had this problem too. connect(part->widget, SIGNAL( destroyed()), \
this, SLOT(catchPartDestroyed())); Josh
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6396.0">
<TITLE>KPartManager won't emit the partRemoved signal</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT FACE="Times New Roman">On Thursday 30 October 2003 19:26, Brooks, Joshua CIV \
NAVAIR wrote: </FONT>
<BR><FONT FACE="Times New Roman">><I> I try connecting the KPartManager to catch \
in a slot defined by me when</I> </FONT>
<BR><FONT FACE="Times New Roman">></FONT><I><FONT FACE="Times New Roman"> one of \
my parts gets destroyed like this:</FONT></I>
<BR><FONT FACE="Times New Roman">This would catch the destrcution of the part \
manager. </FONT>
<BR><FONT FACE="Times New Roman">You have to connect to the destroyed signal of the \
part if you want to </FONT>
<BR><FONT FACE="Times New Roman">catch its deletion. </FONT>
</P>
<P><FONT FACE="Times New Roman">Cheers,</FONT>
<BR><FONT FACE="Times New Roman">Kevin</FONT>
</P>
<BR>
<P><FONT FACE="Times New Roman">I tried it this way too. The destroyed signal \
doesn't seem to be emitting. A friend from work said he had this problem \
too.</FONT><I><FONT FACE="Times New Roman"></FONT></I> </P>
<P><FONT FACE="Times New Roman">connect(part->widget, SIGNAL( destroyed()), \
this, SLOT(catchPartDestroyed())); </FONT>
<BR><FONT SIZE=2 FACE="Arial">Josh</FONT>
</P>
</BODY>
</HTML>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
--===============1919248111==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic