Hi to all, i need a litle help.
I develope my first application with kdevelop wizard (Application Framework).
Only need know how to add buttons in setupActions function for custom menu entries.
This is my setupActions()
KStdAction::undo(this, SLOT(undo()), actionCollection());
KStdAction::redo(this, SLOT(redo()), actionCollection());
//my menu
QIconSet m_Icon = QIconSet(BarIcon("data_visualization_section"), QIconSet:
mall);
(void)new KAction(i18n("New &User"), 0, this, SLOT(newUser()),actionCollection(), "newUser");
(void) new KAction(i18n("&Save User"), m_Icon, 0, this,SLOT(saveUser()), actionCollection(), "saveUser");
I need add two buttons to the standard toolbar, one for de "New User" and other for "Save User"
Anyone can tell me how to do this ?
excuse my broken English