i use kde xml gui creation and make my own kaction objects like this
(void)new KAction
(string1, loader.
loadIcon((QString)"2uparrow", KIcon
::MainToolbar),
0, m_view,
SLOT(updatePorts
()), actionCollection
(),
"action");
(void)new KAction(string1, loader.loadIcon((QString)"2uparrow", KIcon::MainToolbar), 0, m_view, SLOT(updatePorts()), actionCollection(), "action");
To copy to clipboard, switch view to plain text mode
the problem is that the icon is always 16x16 or 22x22 no matter what size the toolbar actually is (other kstdaction toolbar buttons have the right size and resize properly).
how can change this?
thanks for help
ps.: the icons actually exist in the right size in iconset
Bookmarks