[Kde-bindings] Simple KCrash question

Martin Welch martin.welch at ilkestoncooptravel.co.uk
Tue Apr 27 16:14:35 UTC 2004


One other possibility: can I eliminate the signal/slot mechanism. Is it
possible to override KMainWindow/Kpopup to handle the menu event via a
virtual function instead?

-----Original Message-----
From: Richard Dale [mailto:Richard_Dale at tipitina.demon.co.uk] 
Sent: 27 April 2004 16:00
To: KDE bindings for other programming languages
Subject: Re: [Kde-bindings] Simple KCrash question


On Tuesday 27 April 2004 15:47, Martin Welch wrote:
> I think you have to call the base class implementation:
>
> void CMainWindow::polish()
> {
>         KMainWindow::polish(); <<<<<<<<<<<<<<<<<
>         printf("CMainWindow::polish\n");
>
>         if ( m_LoadCallBack != 0 )
>                 m_LoadCallBack(this);
> }
Yes, you're right - it just gets called once now. 

The only thing I can think of is to see if the same code works when it's
not 
linked against C#.

-- Richard

  def polish()
  	super()
  	puts "In polish()"
	window = KDE::MainWindow.new(self, "temp#")
	window.show
  end
_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org https://mail.kde.org/mailman/listinfo/kde-bindings




More information about the Kde-bindings mailing list