Hey sorry if i am making a new thread as i had digest mode on by mistake.<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><pre>2. Instead of adding two new buttons to the window you should make use<br>
of KDE&#39;s XMLGui stuff. This means that you create two KActions in the<br>main window. In this case, since both open and save are standard actions<br>used throughout many many KDE applications all you need to do is call<br>
KStandardActions::open and ::save. Connect the actions to the slots<br>instead of the buttons. KDE should take care of putting the actions into<br>the menu automatically.<br></pre></blockquote><div>but according to junior job &quot;open/save actions which are only enabled in query mode.&quot; so wouldn&#39;t it be better if we had buttons then adding KActions in the main window other than that i have sort out the other issues.<br>
 </div>