[Qt-interest] Porting Qt 3 to Qt 4

Jake Colman colman at ppllc.com
Wed Sep 1 23:08:24 CEST 2010


We are finally porting from Qt 3.3.4 to Qt 4.6.3 and I am running into
some issues.  Maybe others have dealt with these problems already?

1) What replaced the QCustomMenuItem class?  I am deriving from that
   class but it no longer exists.

2) What replaced QLineEdit::createPopupMenu()?  This method was
   intended to be reimplemented if you need to create a custom popup
   menu upon a right-click in the line edit.

3) How do I get the style's default frame width?  I used to call
   QStyle::defaultFrameWidth() but that method no longer exists.

Thanks.

...Jake


-- 
Jake Colman | Director, Software Development
Principia Partners LLC
101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770
t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929
e: colman at ppllc.com | w: www.principiapartners.com
Credit technology innovation awards winner 2008 and 2009




More information about the Qt-interest-old mailing list