Talk:Development/Tutorials/Using KActions

From KDE TechBase

2007/3/18: The .ui file isn't working with trunk from svn

I fixed it by using this instead:



<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <kpartgui version="2" name="tutorial3"> <ToolBar name="mainToolBar" >

   <text>Main Toolbar</text>
   <Action name="clear" />
 </ToolBar>
 <MenuBar>
   <Menu name="file" >
     <text>&File</text>
     <Action name="clear" />
   </Menu>
 </MenuBar>

</kpartgui>


---

I'm not shure why. Should this be added to the tutorial?

-- Jonarne


Let's wait, to my experience this is repaired quickly --Tstaerk 21:12, 18 March 2007 (CET)