Address status bar text boxes by pointer instead of "command IDs".
commit39823e05cc4c5482190d993802731e12470d0887
authorJohannes Sixt <j6t@kdbg.org>
Sun, 27 Nov 2016 17:20:06 +0000 (27 18:20 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Wed, 30 Nov 2016 20:29:48 +0000 (30 21:29 +0100)
tree1d46e459a35779d47cd2cf1aff10fbe30a36ecc0
parent7de557e3d6320db7f586ea5cd234ebe4fab8cd1c
Address status bar text boxes by pointer instead of "command IDs".

With KF5, KStatusBar is deprecated. The replacement, QStatusBar, does not
allow to address widgets on the status bar by ID, but the pointers
themselves must be kept. So, let's do that.

The implementation chosen here is based on KStatusBar::insertItem().
kdbg/commandids.h [deleted file]
kdbg/dbgmainwnd.cpp
kdbg/dbgmainwnd.h