/**************************************************************************** ** ** Help with porting from Qt 1.x to Qt 2.x ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** ** This file is part of the Qt GUI Toolkit. ** ** This file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free ** Software Foundation and appearing in the files LICENSE.GPL2 ** and LICENSE.GPL3 included in the packaging of this file. ** Alternatively you may (at your option) use any later version ** of the GNU General Public License if such license has been ** publicly approved by Trolltech ASA (or its successors, if any) ** and the KDE Free Qt Foundation. ** ** Please review the following information to ensure GNU General ** Public Licensing requirements will be met: ** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** If you are unsure which license is appropriate for your use, please ** review the following information: ** http://trolltech.com/products/qt/licenses/licensing/licensingoverview ** or contact the sales department at sales@trolltech.com. ** ** This file may be used under the terms of the Q Public License as ** defined by Trolltech ASA and appearing in the file LICENSE.QPL ** included in the packaging of this file. Licensees holding valid Qt ** Commercial licenses may use this file in accordance with the Qt ** Commercial License Agreement provided with the Software. ** ** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, ** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR ** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted ** herein. ** **********************************************************************/ /*! \page porting2.html \title Porting to Qt 2.x
You're probably looking at this page because you want to port your application from Qt 1.x to Qt 2.x, but to be sure, let's review the good reasons to do this:
The Qt 2.x series is not binary compatible with the 1.x series. This means programs compiled for Qt 1.x must be recompiled to work with Qt 2.x. Qt 2.x is also not completely source compatible with 1.x, however all points of incompatibility cause compiler errors (rather than mysterious results), or produce run-time messages. The result is that Qt 2.x includes many additional features, discards obsolete functionality that is easily converted to use the new features, and that porting an application from Qt 1.x to Qt 2.x is a simple task well worth the amount of effort required. To port code using Qt 1.x to use Qt 2.x:
Qt 2.x is namespace-clean, unlike 1.x. Qt now uses very few
global identifiers. Identifiers like red, blue, LeftButton,
AlignRight, Key_Up, Key_Down, NoBrush
etc. are now part of a
special class Qt
(defined in ntqnamespace.h),
which is inherited by
most Qt classes. Member functions of classes that inherit from QWidget,
etc. are totally unaffected, but code that is
not in functions of classes inherited from Qt
,
you must qualify these identifiers like this: Qt::red,
Qt::LeftButton, Qt::AlignRight
, etc.
The qt/bin/ttqt20fix
script helps to fix the code that
needs adaption, though most code does not need changing.
Compiling with -DQT1COMPATIBILITY will help you get going with Qt 2.x
- it allows all the old "dirty namespace" identifiers from Qt 1.x to
continue working. Without it, you'll get compile errors that can
easily be fixed by searching this page for the clean identifiers.
Some virtual functions have changed signature in Qt 2.x. If you override them in derived classes, you must change the signature of your functions accordingly.
The collection classes include generic classes such as QGDict, QGList, and the subclasses such as QDict and QList.
The macro-based Qt collection classes are obsolete; use the
template-based classes instead. Simply remove includes of ntqgeneric.h and
replace e.g. Q_DECLARE(QCache,QPixmap) with QCache The GCI global typedef is replaced by QCollection::Item. Only if you
make your own subclasses of the undocumented generic collection classes
will you have GCI in your code.
This change has been made to avoid collisions with other namespaces.
The GCF global typedef is removed (it was not used in Qt).
The Q_ASSERT macro is now a null expression if the QT_CHECK_STATE flag
is not set (i.e. if the QT_NO_CHECK flag is defined).
The debug() function now outputs nothing if Qt was compiled with
the QT_NO_DEBUG macro defined.
To take full advantage of the new Internationalization
functionality in Qt 2.x, the following steps are required:
Debug vs. Release
QString
QString has undergone major changes internally, and although it is highly
backward compatible, it is worth studying in detail when porting to Qt 2.x.
The Qt 1.x QString class has been renamed to QCString in Qt 2.x, though if
you use that you will incur a performance penalty since all Qt functions
that took const char* now take const QString&.
Points to note about the new QString are:
In Qt 1.x the constructor was used in two ways: accidentally, by attempting to convert a char to a QString (the char converts to int!) - giving strange bugs, and as a way to make a QString big enough prior to calling \code QString::sprintf()\endcode. In Qt 2.x, the accidental bug case is prevented (you will get a compilation error) and QString::sprintf has been made safe - you no longer need to pre-allocate space (though for other reasons, sprintf is still a poor choice - eg. it doesn't pass Unicode). The only remaining common case is conversion of 0 (NULL) to QString, which would usually give expected results in Qt 1.x. For Qt 2.x the correct syntax is to use QString::null, though note that the default constructor, QString(), creates a null string too. Assignment of 0 to a QString is ambiguous - assign QString::null; you'll mainly find these in code that has been converted from const char* types to QString. This also prevents a common error case from Qt 1.x - in that version, mystr = 'X' would not produce the expected results and was always a programming error; in Qt 2.x, it works - making a single-character string.
Also see QStrList.
The Standard C++ Library string is not Unicode. Nor is wstring defined to be so (for the small number of platforms where it is defined at all). This is the same mistake made over and over in the history of C - only when non-8-bit characters are the norm do programmers find them usable. Though it is possible to convert between string and QString, it is less efficient than using QString throughout. For example, when using: \code QLabel::setText( const QString& ) \endcode if you use string, like this: \code void myclass::dostuffwithtext( const string& str ) { mylabel.setText( QString(str.c_str()) ); } \endcode that will create a (ASCII only) copy of str, stored in mylabel. But this: \code void myclass::dostuffwithtext( const QString& str ) { mylabel.setText( str ); } \endcode will make an implicitly shared reference to str in the QLabel - no copying at all. This function might be 10 nested function calls away from something like this: \code void toplevelclass::initializationstuff() { doStuff( tr("Okay") ); } \endcode At this point, in Qt 2.x, the tr() does a very fast dictionary lookup through memory-mapped message files, returning some Unicode QString for the appropriate language (the default being to just make a QString out of the text, of course - you're not forced to use any of these features), and that same memory mapped Unicode will be passed though the system. All occurrences of the translation of "Okay" can potentially be shared.
All colors (color0, color1, black, white, darkGray, gray, lightGray, red, green, blue, cyan, magenta, yellow, darkRed, darkGreen, darkBlue, darkCyan, darkMagenta, and darkYellow) are in the Qt namespace. In members of classes that inherit the Qt namespace-class (eg. QWidget subclasses), you can use the unqualified names as before, but in global functions (eg. main()), you need to qualify them: Qt::red, Qt::white, etc. See also the QRgb section below.
The QDatastream serialization format of most Qt classes is changed in Qt 2.x. Use \code QDataStream::setVersion( 1 )\endcode to get a datastream object that can read and write Qt 1.x format data streams.
If you want to write Qt 1.x format datastreams, note the following compatibility issues:
This function is now called \link QWidget::reparent() reparent()\endlink.
This function is removed. Calls like QWidget::setAcceptFocus(TRUE) should be replaced by \code QWidget::setFocusPolicy(StrongFocus)\endcode, and calls like QWidget::setAcceptFocus(FALSE) should be replaced by \code QWidget::setFocusPolicy(NoFocus)\endcode. Additional policies are TabFocus and ClickFocus.
paintEvent(0) is not permitted - subclasses need not check for a null event, and might crash. Never pass 0 as the argument to paintEvent(). You probably just want repaint() or update() instead.
When processing a paintEvent, painting is only permitted within the update region specified in the event. Any painting outside will be clipped away. This shouldn't break any code (it was always like this on MS-Windows) but makes many explicit calls to QPainter::setClipRegion() superfluous. Apart from the improved consistency, the change is likely to reduce flicker and to make Qt event slightly faster.
The protected member QIODevice::index is renamed to QIODevice::ioIndex to avoid warnings and to allow compilation with bad C libraries that #define index to strchr. If you have made a subclass of QIODevice, check every occurrence of the string "index" in the implementation, since a compiler will not always catch cases like \code(uint)index\endcode that need to be changed.
\code QLabel::setMargin()\endcode and\code QLabel::margin()\endcode have been renamed to \code QLabel::setIndent()\endcode and \code QLabel::indent()\endcode, respectively. This was done to avoid collision with QFrame::setMargin(), which is now virtual.
Previously, setting a movie on a label cleared the value of text(). Now it doesn't. If you somehow used QLabel::text() to detect if a movie was set, you might have trouble. This is unlikely.
The semantics of the parent pointer changed for modeless dialogs: In Qt-2.x, dialogs are always top level windows. The parent, however, takes the ownership of the dialog, i.e. it will delete the dialog at destruction if it has not been explicitly deleted already. Furthermore, the window system will be able to tell that both the dialog and the parent belong together. Some X11 window managers will for instance provide a common taskbar entry in that case.
If the dialog belongs to a top level main window of your application, pass this main window as parent to the dialog's constructor. Old code (with 0 pointer) will still run. Old code that included QDialogs as child widgets will no longer work (it never really did). If you think you might be doing this, put a breakpoint in QDialog::QDialog() conditional on parent not being 0.
Calling resize(0,0) or resize(1,1) will no longer work magically. Remove all such calls. The default size of top level widgets will be their \link QWidget::sizeHint() sizeHint()\endlink.
The default implementation of QWidget::sizeHint() will no longer return just an invalid size; if the widget has a layout, it will return the layout's preferred size.
The special maximum MaximumHeight/Width is now QWIDGETSIZE_MAX, not QCOORD_MAX.
\link QBoxLayout::addWidget() QBoxLayout::addWidget()\endlink now interprets the \e alignment parameter more aggressively. A non-default alignment now indicates that the widget should not grow to fill the available space, but should be sized according to sizeHint(). If a widget is too small, set the alignment to 0. (Zero indicates no alignment, and is the default.)
The class QGManager is removed. Subclasses of QLayout need to be rewritten to use the new, much simpler \link QLayout QLayout API\endlink.
For typical layouts, all use of \link QWidget::setMinimumSize() setMinimumSize()\endlink and \link QWidget::setFixedSize() setFixedSize()\endlink can be removed. \link QLayout::activate() activate()\endlink is no longer necessary.
You might like to look at the QGrid, QVBox, and QHBox widgets - they offer a simple way to build nested widget structures.
In Qt 1.x mouse events to the viewport where redirected to the event handlers for the listview; in Qt 2.x, this functionality is in QScrollView where mouse (and other position-oriented) events are redirected to viewportMousePressEvent() etc, which in turn translate the event to the coordinate system of the contents and call contentsMousePressEvent() etc, thus providing events in the most convenient coordinate system. If you overrode QListView::MouseButtonPress(), QListView::mouseDoubleClickEvent(), QListView::mouseMoveEvent(), or QListView::mouseReleaseEvent() you must instead override viewportMousePressEvent(), viewportMouseDoubleClickEvent(), viewportMouseMoveEvent(), or viewportMouseReleaseEvent() respectively. New code will usually override contentsMousePressEvent() etc.
The signal QListView::selectionChanged(QListViewItem *) can now be emitted with a null pointer as parameter. Programs that use the argument without checking for 0, may crash.
The protected function \code QMultiLineEdit::textWidth(QString*)\endcode changed to \code QMultiLineEdit::textWidth(const QString&)\endcode. This is unlikely to be a problem, and you'll get a compile error if you called it.
\code QClipboard::pixmap()\endcode now returns a QPixmap, not a QPixmap*. The pixmap will be \link QPixmap::isNull() null\endlink if no pixmap is on the clipboard. QClipboard now offers powerful MIME-based types on the clipboard, just like drag-and-drop (in fact, you can reuse most of your drag-and-drop code with clipboard operations).
QDropSite is obsolete. If you simply passed this, just remove the inheritance of QDropSite and call \link QWidget::setAcceptDrops() setAcceptDrops(TRUE)\endlink in the class constructor. If you passed something other than this, your code will not work. A common case is passing the \link QScrollView::viewport() viewport()\endlink of a QListView, in which case, override the \link QScrollView::contentsDragMoveEvent() contentsDragMoveEvent()\endlink, etc. functions rather than QListView's dragMoveEvent() etc. For other cases, you will need to use an event filter to act on the drag/drop events of another widget (as is the usual way to intercept foreign events).
\code operator<<(QTextStream&, QChar&)\endcode does not skip whitespace. \code operator<<(QTextStream&, char&)\endcode does, as was the case with Qt 1.x. This is for backward compatibility.
The GrayText painter flag has been removed. Use \link QPainter::setPen() setPen( palette().disabled().foreground() )\endlink instead.
The RasterOp enum (CopyROP, OrROP, XorROP, NotAndROP, EraseROP, NotCopyROP, NotOrROP, NotXorROP, AndROP, NotEraseROP, NotROP, ClearROP, SetROP, NopROP, AndNotROP, OrNotROP, NandROP, NorROP, LastROP) is now part of the Qt namespace class, so if you use it outside a member function, you'll need to prefix with Qt::.
The binary storage format of QPicture is changed, but the Qt 2.x QPicture class can both read and write Qt 1.x format QPictures. No special handling is required for reading; QPicture will automatically detect the version number. In order to write a Qt 1.x format QPicture, set the formatVersion parameter to 1 in the QPicture constructor.
For writing Qt 1.x format QPictures, the compatibility issues of QDataStream applies.
It is safe to try to read a QPicture file generated with Qt 2.x (without formatVersion set to 1) with a program compiled with Qt 1.x. The program will not crash, it will just issue the warning "QPicture::play: Incompatible version 2.x" and refuse to load the picture.
The basic coordinate datatype in these classes, QCOORD, is now 32 bit (int) instead of a 16 bit (short). The const values QCOORD_MIN and QCOORD_MAX have changed accordingly.
QPointArray is now actually, not only seemingly, a QArray of QPoint objects. The semi-internal workaround classes QPointData and QPointVal are removed since they are no longer needed; QPoint is used directly instead. The function \code QPointArray::shortPoints()\endcode provides the point array converted to short (16bit) coordinates for use with external functions that demand that format.
\code QPixmap::optimize(TRUE)\endcode is replaced by \code QPixmap::setOptimization(QPixmap::NormalOptim)\endcode or \code QPixmap::setOptimization(QPixmap::BestOptim)\endcode - see the documentation to choose which is best for your application. NormalOptim is most like the Qt 1.x "TRUE" optimization.
The global #define macros in ntqevent.h have been replaced by an enum in QEvent. Use e.g. QEvent::Paint instead of Event_Paint. Same for all of: Event_None, Event_Timer, Event_MouseButtonPress, Event_MouseButtonRelease, Event_MouseButtonDblClick, Event_MouseMove, Event_KeyPress, Event_KeyRelease, Event_FocusIn, Event_FocusOut, Event_Enter, Event_Leave, Event_Paint, Event_Move, Event_Resize, Event_Create, Event_Destroy, Event_Show, Event_Hide, Event_Close, Event_Quit, Event_Accel, Event_Clipboard, Event_SockAct, Event_DragEnter, Event_DragMove, Event_DragLeave, Event_Drop, Event_DragResponse, Event_ChildInserted, Event_ChildRemoved, Event_LayoutHint, Event_ActivateControl, Event_DeactivateControl, and Event_User.
The Q_*_EVENT macros in ntqevent.h have been deleted. Use an explicit cast instead. The macros were: Q_TIMER_EVENT, Q_MOUSE_EVENT, Q_KEY_EVENT, Q_FOCUS_EVENT, Q_PAINT_EVENT, Q_MOVE_EVENT, Q_RESIZE_EVENT, Q_CLOSE_EVENT, Q_SHOW_EVENT, Q_HIDE_EVENT, and Q_CUSTOM_EVENT.
QChildEvents are now sent for all QObjects, not just QWidgets. You may need to add extra checking if you use a QChildEvent without much testing of its values.
QFileDialog::fileHighlighted(const char *) QFileDialog::fileSelected(const char *) QFileDialog::dirEntered(const char *) QFileDialog::updatePathBox(const char *) QObject::name(void) const QFileDialog::getOpenFileName(const char *, const char *, QWidget *, const char *) QFileDialog::getSaveFileName(const char *, const char *, QWidget *, const char *) QFileDialog::getExistingDirectory(const char *, QWidget *, const char *) QFileDialog::getOpenFileNames(const char *, const char *, QWidget *, const char *) QFileDialog::setSelection(const char *) QFileDialog::setDir(const char *) QMessageBox::setText(const char *) QMessageBox::setButtonText(const char *) QMessageBox::setButtonText(int, const char *) QMessageBox::setStyle(GUIStyle) QMessageBox::standardIcon(QMessageBox::Icon, GUIStyle) QMessageBox::information(QWidget *, const char *, const char *, const char *, const char *, const char *, int, int) QMessageBox::information(QWidget *, const char *, const char *, int, int, int) QMessageBox::warning(QWidget *, const char *, const char *, const char *, const char *, const char *, int, int) QMessageBox::warning(QWidget *, const char *, const char *, int, int, int) QMessageBox::critical(QWidget *, const char *, const char *, const char *, const char *, const char *, int, int) QMessageBox::critical(QWidget *, const char *, const char *, int, int, int) QMessageBox::about(QWidget *, const char *, const char *) QMessageBox::aboutTQt(QWidget *, const char *) QMessageBox::message(const char *, const char *, const char *, QWidget *, const char *) QMessageBox::buttonText(void) const QMessageBox::query(const char *, const char *, const char *, const char *, QWidget *, const char *) QProgressDialog::setLabelText(const char *) QProgressDialog::setCancelButtonText(const char *) QProgressDialog::styleChange(GUIStyle) QProgressDialog::init(QWidget *, const char *, const char *, int) QTabDialog::addTab(QWidget *, const char *) QTabDialog::isTabEnabled(const char *) const QTabDialog::setTabEnabled(const char *, bool) QTabDialog::setDefaultButton(const char *) QTabDialog::setCancelButton(const char *) QTabDialog::setApplyButton(const char *) QTabDialog::setOKButton(const char *) QTabDialog::setOkButton(const char *) QTabDialog::styleChange(GUIStyle) QTabDialog::selected(const char *) QObject::name(void) const QApplication::setStyle(GUIStyle) QApplication::palette(void) QApplication::setPalette(const QPalette &, bool) QApplication::font(void) QApplication::setFont(const QFont &, bool) QBrush::setStyle(BrushStyle) QBrush::init(const QColor &, BrushStyle) QObject::name(void) const QClipboard::data(const char *) const QClipboard::setData(const char *, void *) QClipboard::setText(const char *) QUrlDrag::decodeLocalFiles(QDropEvent *, QStrList &) QObject::name(void) const QStoredDrag::setEncodedData(QArrayT*/const &) QTextDrag::setText(const char *) QImageDrag::canDecode(QDragMoveEvent *) QTextDrag::canDecode(QDragMoveEvent *) QUrlDrag::canDecode(QDragMoveEvent *) QImageDrag::decode(QDropEvent *, QImage &) QImageDrag::decode(QDropEvent *, QPixmap &) QTextDrag::decode(QDropEvent *, QString &) QUrlDrag::decode(QDropEvent *, QStrList &) QDragMoveEvent::format(int) QDragMoveEvent::provides(const char *) QDragMoveEvent::data(const char *) QDropEvent::data(const char *) QEvent::peErrMsg(void) QFont::substitute(const char *) QFont::insertSubstitution(const char *, const char *) QFont::removeSubstitution(const char *) QFont::load(unsigned int) const QFont::setFamily(const char *) QFont::bold(void) const QFont::setBold(bool) QFont::handle(unsigned int) const QFont::bold(void) const QFontInfo::font(void) const QFontInfo::reset(const QWidget *) QFontInfo::type(void) const QFontMetrics::inFont(char) const QFontMetrics::leftBearing(char) const QFontMetrics::rightBearing(char) const QFontMetrics::width(char) const QFontMetrics::width(const char *, int) const QFontMetrics::boundingRect(char) const QFontMetrics::boundingRect(const char *, int) const QFontMetrics::boundingRect(int, int, int, int, int, const char *, int, int, int *, char **) const QFontMetrics::size(int, const char *, int, int, int *, char **) const QFontMetrics::font(void) const QFontMetrics::reset(const QWidget *) QFontMetrics::type(void) const QObject::name(void) const QGManager::setBorder(int) QGManager::newSerChain(QGManager::Direction) QGManager::newParChain(QGManager::Direction) QGManager::add(QChain *, QChain *, int) QGManager::addWidget(QChain *, QWidget *, int) QGManager::addSpacing(QChain *, int, int, int) QGManager::addBranch(QChain *, QChain *, int, int) QGManager::setStretch(QChain *, int) QGManager::activate(void) QGManager::unFreeze(void) QGManager::xChain(void) QGManager::yChain(void) QGManager::setMenuBar(QWidget *) QGManager::mainWidget(void) QGManager::remove(QWidget *) QGManager::setName(QChain *, const char *) QGManager::eventFilter(QObject *, QEvent *) QGManager::resizeHandle(QWidget *, const QSize &) QGManager::resizeAll(void) QIconSet::setPixmap(const char *, QIconSet::Size, QIconSet::Mode) QImage::imageFormat(const char *) QImageIO::imageFormat(const char *) QImage::load(const char *, const char *) QImage::loadFromData(QArrayT , const char *) QImage::save(const char *, const char *) const QImageIO::setFileName(const char *) QImageIO::setDescription(const char *) QBoxLayout::addB(QLayout *, int) QObject::name(void) const QLayout::basicManager(void) QLayout::verChain(QLayout *) QLayout::horChain(QLayout *) QObject::name(void) const QObject::tr(const char *) const QPaintDevice::x11Screen(voidQPaintDevice::x11Depth(voidQPaintDevice::x11Cells(voidQPaintDevice::x11Colormap(voidQPaintDevice::x11DefaultColormap(void) QPaintDevice::x11Visual(voidQPaintDevice::x11DefaultVisual(void) QPainter::translate(float, float) QPainter::scale(float, float) QPainter::shear(float, float) QPainter::rotate(float) QPainter::drawText(const QPoint &, const char *, int) QPainter::drawText(const QRect &, int, const char *, int, QRect *, char **) QPainter::drawText(int, int, const char *, int) QPainter::drawText(int, int, int, int, int, const char *, int, QRect *, char **) QPainter::boundingRect(int, int, int, int, int, const char *, int, char **) QPainter::testf(unsigned short) const QPainter::setf(unsigned short) QPainter::setf(unsigned short, bool) QPainter::clearf(unsigned short) QPainter::setPen(PenStyle) QPainter::setBrush(BrushStyle) QPainter::setBackgroundMode(BGMode) QPen::setStyle(PenStyle) QPen::init(const QColor &, unsigned int, PenStyle) QPicture::load(const char *) QPicture::save(const char *) QPixmap::isOptimized(void) const QPixmap::optimize(bool) QPixmap::isGloballyOptimized(void) QPixmap::optimizeGlobally(bool) QPixmap::imageFormat(const char *) QPixmap::load(const char *, const char *, QPixmap::ColorMode) QPixmap::load(const char *, const char *, int) QPixmap::loadFromData(QArrayT , const char *, int) QPixmap::save(const char *, const char *) const QPixmapCache::find(const char *) QPixmapCache::find(const char *, QPixmap &) QPixmapCache::insert(const char *, QPixmap *) QPixmapCache::insert(const char *, const QPixmap &) QPrinter::setPrinterName(const char *) QPrinter::setOutputFileName(const char *) QPrinter::setPrintProgram(const char *) QPrinter::setDocName(const char *) QPrinter::setCreator(const char *) QRect::setX(int) QRect::setY(int) QRegion::exec(QArrayT const &) QObject::name(void) const QObject::name(void) const QSignalMapper::setMapping(const QObject *, const char *) QSignalMapper::mapped(const char *) QObject::name(void) const QObject::name(void) const QWidget::setCaption(const char *) QWidget::setIconText(const char *) QWidget::drawText(const QPoint &, const char *) QWidget::drawText(int, int, const char *) QWidget::acceptFocus(void) const QWidget::setAcceptFocus(bool) QWidget::create(unsigned int) QWidget::create(void) QWidget::internalMove(int, int) QWidget::internalResize(int, int) QWidget::internalSetGeometry(int, int, int, int) QWidget::deferMove(const QPoint &) QWidget::deferResize(const QSize &) QWidget::cancelMove(voidQWidget::cancelResize(voidQWidget::sendDeferredEvents(voidQWidget::setBackgroundColorFromMode(voidQObject::name(void) const QWidget::setMask(QBitmapQWMatrix::setMatrix(float, float, float, float, float, float) QWMatrix::map(float, float, float *, float *) const QWMatrix::translate(float, float) QWMatrix::scale(float, float) QWMatrix::shear(float, float) QWMatrix::rotate(float) QBuffer::setBuffer(QArrayT ) QDir::entryList(const char *, int, int) const QDir::entryInfoList(const char *, int, int) const QDir::mkdir(const char *, bool) const QDir::rmdir(const char *, bool) const QDir::exists(const char *, bool) QDir::remove(const char *, bool) QDir::rename(const char *, const char *, bool) QDir::setCurrent(const char *) QDir::match(const char *, const char *) QDir::cleanDirPath(const char *) QDir::isRelativePath(const char *) QDir::setPath(const char *) QDir::filePath(const char *, bool) const QDir::absFilePath(const char *, bool) const QDir::convertSeparators(const char *) QDir::cd(const char *, bool) QDir::setNameFilter(const char *) QFile::setName(const char *) QFile::exists(const char *) QFile::remove(const char *) QFileInfo::setFile(const QDir &, const char *) QFileInfo::setFile(const char *) QFile::exists(const char *) QFileInfo::extension(void) const QRegExp::match(const char *, int, int *) const QRegExp::matchstr(unsigned short *, char *, char *) const QString::resize(unsigned int) QString::fill(char, int) QString::find(const char *, int, bool) const QString::findRev(const char *, int, bool) const QString::leftJustify(unsigned int, char, bool) const QString::rightJustify(unsigned int, char, bool) const QString::insert(unsigned int, const char *) QString::append(const char *) QString::prepend(const char *) QString::replace(const QRegExp &, const char *) QString::replace(unsigned int, unsigned int, const char *) QString::setStr(const char *) QString::setNum(int) QString::setNum(unsigned long) QString::setExpand(unsigned int, char) QButton::setText(const char *) QComboBox::setEditText(const char *) QComboBox::activated(const char *) QComboBox::highlighted(const char *) QComboBox::insertItem(const char *, int) QComboBox::changeItem(const char *, int) QComboBox::setStyle(GUIStyle) QComboBox::setValidator(QValidator *) QGroupBox::setTitle(const char *) QHeader::moveAround(int, int) QHeader::addLabel(const char *, int) QHeader::setLabel(int, const char *, int) QHeader::setOrientation(QHeader::Orientation) QHeader::resizeEvent(QResizeEvent *QHeader::paintCell(QPainter *, int, intQHeader::setupPainter(QPainter *QHeader::cellHeight(intQHeader::cellWidth(int) QLabel::setText(const char *QLCDNumber::display(const char *) QLCDNumber::resizeEvent(QResizeEvent *) QLCDNumber::internalDisplay(const char *) QLCDNumber::drawString(const char *, QPainter &, QBitArray *, bool) QLCDNumber::drawDigit(const QPoint &, QPainter &, int, char, char) QLCDNumber::drawSegment(const QPoint &, char, QPainter &, int, bool) QLineEdit::event(QEvent *) QLineEdit::setValidator(QValidator *) QLineEdit::validateAndSet(const char *, int, int, int) QLineEdit::setText(const char *) QLineEdit::insert(const char *) QLineEdit::textChanged(const char *) QListBox::insertItem(const char *, int) QListBox::inSort(const char *) QListBox::changeItem(const char *, int) QListBox::maxItemWidth(void) QListBox::highlighted(const char *) QListBoxItem::setText(const char *) QListBox::selected(const char *) QListViewItem::isExpandable(void) QListView::setStyle(GUIStyle) QMainWindow::addToolBar(QToolBar *, const char *, QMainWindow::ToolBarDock, bool) QMenuData::insertItem(const QPixmap &, const QObject *, const char *, int) QMenuData::insertItem(const QPixmap &, const char *, QPopupMenu *, int, int) QMenuData::insertItem(const QPixmap &, const char *, const QObject *, const char *, int) QMenuData::insertItem(const QPixmap &, const char *, const QObject *, const char *, int, int, int) QMenuData::insertItem(const QPixmap &, const char *, int, int) QMenuData::insertItem(const char *, QPopupMenu *, int, int) QMenuData::insertItem(const char *, const QObject *, const char *, int) QMenuData::insertItem(const char *, const QObject *, const char *, int, int, int) QMenuData::insertItem(const char *, int, int) QMenuData::changeItem(const QPixmap &, const char *, int) QMenuData::changeItem(const char *, int) QMenuData::insertAny(const char *, const QPixmap *, QPopupMenu *, int, int) QMenuItem::setText(const char *) QMultiLineEdit::textWidth(QString *) QMultiLineEdit::repaintAll(void) QMultiLineEdit::repaintDelayed(void) QMultiLineEdit::setText(const char *) QMultiLineEdit::append(const char *) QPopupMenu::itemAtPos(const QPoint &) QPopupMenu::actSig(int) QRadioButton::mouseReleaseEvent(QMouseEvent *) QRadioButton::keyPressEvent(QKeyEvent *) QRangeControl::adjustValue(void) QScrollBar::setOrientation(QScrollBar::Orientation) QScrollView::horizontalScrollBar(void) QScrollView::verticalScrollBar(void) QScrollView::viewport(void) QSlider::setOrientation(QSlider::Orientation) QSpinBox::setSpecialValueText(const char *) QSpinBox::setValidator(QValidator *) QSpinBox::valueChanged(const char *) QSpinBox::paletteChange(const QPalette &) QSpinBox::enabledChange(bool) QSpinBox::fontChange(const QFont &) QSpinBox::styleChange(GUIStyle) QSplitter::setOrientation(QSplitter::Orientation) QSplitter::event(QEvent *) QSplitter::childInsertEvent(QChildEvent *) QSplitter::childRemoveEvent(QChildEvent *) QSplitter::moveSplitter(short) QSplitter::adjustPos(int) QSplitter::splitterWidget(void) QSplitter::startMoving(void) QSplitter::moveTo(QPoint) QSplitter::stopMoving(void) QSplitter::newpos(void) const QStatusBar::message(const char *) QStatusBar::message(const char *, int) QObject::name(void) const QToolTipGroup::showTip(const char *) QToolTip::add(QWidget *, const QRect &, const char *) QToolTip::add(QWidget *, const QRect &, const char *, QToolTipGroup *, const char *) QToolTip::add(QWidget *, const char *) QToolTip::add(QWidget *, const char *, QToolTipGroup *, const char *) QToolTip::tip(const QRect &, const char *) QToolTip::tip(const QRect &, const char *, const char *) QObject::name(void) const QWhatsThis::add(QWidget *, const QPixmap &, const char *, const char *, bool) QWhatsThis::add(QWidget *, const char *, bool) QWhatsThis::textFor(QWidget *) QWidgetStack::event(QEvent *)