Talk:Development/Tutorials/Using KXmlGuiWindow

< Talk:Development‎ | Tutorials
Revision as of 04:07, 27 September 2009 by Tampakrap (Talk | contribs) (Why Destructor is missing in MainWindow Class)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I had a couple of problems:

In order to make cmake find my installed header files, I needed to specify -DCMAKE_INSTALL_PREFIX=/home/kde-devel/kde

and still it wouldn't compile. I had to change it to use KXmlGuiWindow instead of KMainWindow as it didn't seem to be able to use setupGUI();


Why KXmlGuiWindow???

Hi! I can't understand why KXmlGuiWindow is used. There are no any xml files. And it's used in the tutorial as KMainWindow. Also the title is "How To Use KMainWindow". So, from my point of view it needs to be improved. --Powerfox 00:29, 29 July 2007 (CEST)

Why? This page is the base for the next part, "using KAction". Giving a correct skeleton now can save some work later. -- pino 15:52, 29 November 2007 (CET)

Example code line numbering

Hello, I am working through this tutorial and am having a problem cutting and pasting the code from this page to my text-editor. The line number information is copied with each selection. This means that I have to go back through it and delete the numbers 1, 2, 3, 4, 5.... (and extra spaces and such) for each line. the first tutorial IMO seemed to do this in a more copy-paste friendly way. Note I do like having the line numbers, but I would also like to be able to copy-paste the code easily.

As I answered to a similar post on one of the other tutorials, I can't replicate this problem. With Konqueror 3 and 4, Firefox 2 and Opera I can select the code without selecting the line numbers too. What browser are you using? --milliams 22:30, 28 May 2008 (CEST)

destructor for MainWindow class

Hello, why destructor is missing in the MainWindow class? --Chethan 09:37, 27 Sep 2009 (IST)

This page was last modified on 27 September 2009, at 04:07. Content is available under Creative Commons License SA 4.0 unless otherwise noted.