[Fwd: kdevelop.cpp]
Falk Brettschneider
gigafalk at yahoo.com
Tue Jun 27 21:24:12 UTC 2000
Falk Brettschneider wrote:
> Hi,
>
> John wrote:
>
> > > It will call only 3 commands on the main GUI control:
> > > pGUIControl->embedToolViewInGUI(m_pVAR,...hints...);
> > > pGUIControl->embedToolViewInGUI(m_pBreakpoints,...hints...);
> > > pGUIControl->embedToolViewInGUI(m_pFrameStack,...hints...);
> > > // finished.
> >
> > Hmm. This is in the part?
>
> Yes.
Well, forget about init1 and init2. That init1 I wrote about must be called from the loader...
So better is:
AnyPluginLoader::loadPlugin(..)
{
...
connect(pPlugin,SIGNAL(widgetCreated(QWidget*, ...hints...),pKDevelop,SLOT(slotEmbedToolViewInGUI(QWidget*,...hints...)) );
...
}
KDebugPart::init()
{
...
emit widgetCreated(m_pVAR,...hints...);
emit widgetCreated(m_pBreakpoints,...hints...);
emit widgetCreated(m_pFrameStack,...hints...);
...
}
KDevelop::slotEmbedToolViewInGUI(QWidget* w, ...hints...)
{
...
[interpretation of hints]
...
dockbaseXYZ->setWidget(w);
...
}
Ciao,
F at lk
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
More information about the KDevelop-devel
mailing list