1

I am transferring some code form Qt3 to Qt4.

I can not find the QDockWindow class in Qt 4. What is corresponding class in Qt4?

NG_
  • 6,895
  • 7
  • 45
  • 67

1 Answers1

3

QDockWidget is the Qt4 equivalent.

If you are going through the pain of upgrading, would it make more sense to upgrade to Qt5 now?

cmannett85
  • 21,725
  • 8
  • 76
  • 119
  • Technically, the QtWidgets module in Qt4 is the same as in Qt5 so it doesn't make that much of a difference. – dtech Mar 19 '13 at 11:33
  • DO you konw what is the responding part of head file in QT4? I have some code need using two Qt class named QDict and QDictIterator, but this is in QT3, I need transfer it to QT4, but in QT4 I can not find qdict.h. – user1988789 Mar 28 '13 at 02:15
  • `QMap` is probably the nearest equivalent. – cmannett85 Mar 28 '13 at 07:57