RFC: KToolBar changes
    Andras Mantia 
    amantia at freemail.hu
       
    Wed Mar 12 11:34:29 GMT 2003
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
 Is it possible to move some private members in KToolBar to protected, without 
breaking BC? I must access in a subclass
 
Id2WidgetMap id2widget;
so I thought moving:
QMap<QWidget*, int > widget2id;
typedef QMap<int, QWidget* > Id2WidgetMap;
Id2WidgetMap id2widget;
QPtrList<QWidget> widgets;
Right now I'm using the "#define private protected" hack, but I would be more 
satisfied if I can access the widgets which are on a KToolBar in a normal 
way.
Or should I just add a protected/public(?) method which returns the id2widget 
map?
Andras
- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+bxtKTQdfac6L/08RAqSrAJ48ocbnTzGbX8sLQPScE1XU/4/PowCeJ/JC
kOkHJPswrq93DZCXj73dQ7c=
=uSXz
-----END PGP SIGNATURE-----
    
    
More information about the kde-core-devel
mailing list