Changeset 690
- Timestamp:
- Mar 16, 2010, 12:21:22 AM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/io/qfsfileengine.cpp
r651 r690 912 912 engine. 913 913 914 For Windows, returns the canonicalized form of the current path used 915 by the file engine for the drive specified by \a fileName. On 916 Windows, each drive has its own current directory, so a different 917 path is returned for file names that include different drive names 918 (e.g. A: or C:). 914 For Windows and OS/2, returns the canonicalized form of the current path used 915 by the file engine for the drive specified by \a fileName. On Windows and on 916 OS/2, each drive has its own current directory, so a different path is 917 returned for file names that include different drive names (e.g. A: or C:). 919 918 920 919 \sa setCurrentPath() -
trunk/src/corelib/io/qfsfileengine_os2.cpp
r660 r690 192 192 } 193 193 194 /*!195 \internal196 */197 194 void QFSFileEnginePrivate::nativeInitFileName() 198 195 { … … 208 205 } 209 206 210 /*!211 \internal212 */213 207 bool QFSFileEnginePrivate::nativeOpen(QIODevice::OpenMode openMode) 214 208 { … … 303 297 } 304 298 305 /*!306 \internal307 */308 299 bool QFSFileEnginePrivate::nativeClose() 309 300 { … … 311 302 } 312 303 313 /*!314 \internal315 316 */317 304 bool QFSFileEnginePrivate::nativeFlush() 318 305 { … … 320 307 } 321 308 322 /*!323 \internal324 */325 309 qint64 QFSFileEnginePrivate::nativeRead(char *data, qint64 len) 326 310 { … … 384 368 } 385 369 386 /*!387 \internal388 */389 370 qint64 QFSFileEnginePrivate::nativeReadLine(char *data, qint64 maxlen) 390 371 { … … 392 373 } 393 374 394 /*!395 \internal396 */397 375 qint64 QFSFileEnginePrivate::nativeWrite(const char *data, qint64 len) 398 376 { … … 400 378 } 401 379 402 /*!403 \internal404 */405 380 qint64 QFSFileEnginePrivate::nativePos() const 406 381 { … … 408 383 } 409 384 410 /*!411 \internal412 */413 385 bool QFSFileEnginePrivate::nativeSeek(qint64 pos) 414 386 { … … 416 388 } 417 389 418 /*!419 \internal420 */421 390 int QFSFileEnginePrivate::nativeHandle() const 422 391 { … … 424 393 } 425 394 426 /*!427 \internal428 */429 395 bool QFSFileEnginePrivate::nativeIsSequential() const 430 396 { … … 556 522 } 557 523 558 /*!559 Returns the canonicalized form of the current path used by the file560 engine for the drive specified by \a fileName.561 562 On OS/2, each drive has its own current directory, so a different563 path is returned for file names that include different drive names564 (e.g. A: or C:).565 566 \sa setCurrentPath()567 */568 524 QString QFSFileEngine::currentPath(const QString &fileName) 569 525 { … … 698 654 } 699 655 700 /*!701 \reimp702 */703 656 QAbstractFileEngine::FileFlags QFSFileEngine::fileFlags(FileFlags type) const 704 657 { -
trunk/src/corelib/io/qprocess_os2.cpp
r659 r690 1742 1742 } 1743 1743 1744 /*! \internal1745 */1746 1744 bool QProcessPrivate::startDetached(const QString &program, const QStringList &arguments, 1747 1745 const QString &workingDirectory, qint64 *pid) -
trunk/src/corelib/kernel/qcoreapplication_pm.cpp
r659 r690 93 93 received. Reimplement this function if you want to process window 94 94 messages \a msg that are not processed by Qt. If you don't want 95 the event to be processed by Qt, then return true and set \a result 96 to the value that the window procedure should return. Otherwise 97 return false. 95 the event to be processed by Qt, then return true and set \a result to the 96 value that the window procedure should return. Otherwise return false. 98 97 99 98 It is only directly addressed messages that are filtered. To … … 103 102 QAbstractEventDispatcher::instance(). 104 103 */ 105 bool QCoreApplication::pmEventFilter(QMSG * /*msg*/, MRESULT * /*r c*/)104 bool QCoreApplication::pmEventFilter(QMSG * /*msg*/, MRESULT * /*result*/) 106 105 { 107 106 return false; -
trunk/src/corelib/kernel/qeventdispatcher_pm.cpp
r666 r690 80 80 processing. Its functionality is based on PM object windows. Once an 81 81 instance of this class is created, PM window messages can be sent or posted 82 to it using send() or post() methods. Subclasses should overridethe82 to it using send() or post() methods. Subclasses should implement the 83 83 message() method to process sent or posted messages. The hwnd() method is 84 84 used whenever a PM window handle of this object window is necessary to be … … 215 215 216 216 \note Can be called on any thread. 217 */ 218 219 /*! 220 \fn QPMObjectWindow::message(ULONG msg, MPARAM mp1, MPARAM mp2) 221 222 This method is called whenever a message \a msg with parameters \a mp1 and 223 \a mp2 is received by this object window. Every subclass should implement 224 this method to do actual message processing. 217 225 */ 218 226 -
trunk/src/gui/image/qpixmap_pm.cpp
r659 r690 233 233 234 234 /*! 235 Returns a QPixmap that is equivalent to the given \a bitmap. If \a hbmMask236 is not NULLHANDLE, it should contain vertically adjacent AND and XOR masks237 for the given bitmap which will be used to create a mask for the returned238 QPixmap.235 Returns a QPixmap that is equivalent to the bitmap given in \a hbm. If \a 236 hbmMask is not NULLHANDLE, it should contain vertically adjacent AND and XOR 237 masks for the given bitmap which will be used to create a mask for the 238 returned QPixmap. 239 239 240 240 Note that this method will attempt to auto-detect the presence of the real 241 241 alpha chennel in the high 8 bits of the 32-bit pixel value for each pixel if 242 the \a bitmap has 1 plane and the 32-bit depth. This alpha channel will be243 used tocreate an alpha channel for the returned QPixmap.242 \a hbm has 1 plane and the 32-bit depth. This alpha channel will be used to 243 create an alpha channel for the returned QPixmap. 244 244 245 245 \warning This function is only available on OS/2. … … 350 350 351 351 /*! 352 Creates a \c HPOINTER from the given QIcon. Returns the \c HPOINTER handle. 352 Creates a \c HPOINTER from the given \a icon. Returns the \c HPOINTER 353 handle. 353 354 354 355 If \a isPointer is \c true, an icon size closest to the system pointer size … … 435 436 436 437 /*! 437 Returns a QIcon that is equivalent to the given \a pointer. Optionally 438 returns pixmaps used to comprise the icon in the respective arguments. 438 Returns a QIcon that is equivalent to the pointer given in \a hpointer. 439 Optionally returns pixmaps used to comprise the icon in \a pixmap and 440 \a pixmapMini. 439 441 440 442 Note that this method will attempt to auto-detect the presence of the real -
trunk/src/gui/kernel/qmime_pm.cpp
r659 r690 1236 1236 /*! 1237 1237 \class QPMMime 1238 \brief The Q MPMime class maps open-standard MIME to OS/2 PM Clipboard1238 \brief The QPMMime class maps open-standard MIME to OS/2 PM Clipboard 1239 1239 formats. 1240 1240 \ingroup io … … 1270 1270 \endtable 1271 1271 1272 Note that all "x-mime:<mime>" formats use the CFI_POINTER storage type. That1273 is, the clipboard contains a pointer to the memory block containing the MIME1274 data in the corresponding format. The first 4 bytes of this memory block1275 always contain the length of the subsequent MIME data array, in bytes.1272 Note that all "x-mime:<mime>" formats use the \c CFI_POINTER storage type. 1273 That is, the clipboard contains a pointer to the memory block containing the 1274 MIME data in the corresponding format. The first 4 bytes of this memory 1275 block always contain the length of the subsequent MIME data array, in bytes. 1276 1276 1277 1277 An example use of this class by the user application would be to map the … … 1321 1321 1322 1322 /*! 1323 Unregisters the MIME type identified by \a id which was previously1323 Unregisters the MIME type identified by \a mimeId which was previously 1324 1324 registered with registerMimeType(). 1325 1325 */ … … 1340 1340 1341 1341 /*! 1342 Allocates a block of shared memory of the given size and returns the address1343 of this block. This memory block may be then filled with data and returned1344 by convertFromMimeData() as the value of theCFI_POINTER type.1342 Allocates a block of shared memory of the given \a size and returns the 1343 address of this block. This memory block may be then filled with data and 1344 returned by convertFromMimeData() as the value of the \c CFI_POINTER type. 1345 1345 */ 1346 1346 // static … … 1366 1366 1367 1367 /*! 1368 Frees memory allocated by allocateMemory(). Normally, not used because the1369 CFI_POINTER memory blocks are owned by the system after1368 Frees a memory block \a addr allocated by allocateMemory(). Normally, not 1369 used because the \c CFI_POINTER memory blocks are owned by the system after 1370 1370 convertFromMimeData() returns. 1371 1371 */ … … 1375 1375 DosFreeMem((PVOID)addr); 1376 1376 } 1377 1378 /*! 1379 \typedef QPMMime::QByteArrayList 1380 1381 A QList of QByteArray elemetns. 1382 */ 1377 1383 1378 1384 /*! … … 1421 1427 \fn QList<MimeCFPair> QPMMime::mimesForFormats(const QList<ULONG> &formats) const 1422 1428 1423 Returns a list of mime types that will be created form the specified \a list1424 of\a formats, in order of precedence (the most suitable mime type comes1429 Returns a list of mime types that will be created form the specified list of 1430 \a formats, in order of precedence (the most suitable mime type comes 1425 1431 first), or an empty list if neither of the \a formats is supported by this 1426 1432 converter. Note that each item in the returned list is actually a pair … … 1447 1453 QMimeData *mimeData) 1448 1454 1449 Returns a DragWorker instance suitable for converting \a mimeType to a set 1450 of drag items for the Direct Manipulation (Drag And Drop) session. If this 1451 converter does not support the given MIME type, this method should return 0. 1455 Returns a DragWorker instance suitable for converting \a mimeType of the 1456 given \a mimeData to a set of drag items for the Direct Manipulation (Drag 1457 And Drop) session. If this converter does not support the given MIME type, 1458 this method should return 0. 1452 1459 1453 1460 See the QPMMime::DragWorker class description for more information. … … 1514 1521 1515 1522 This class is a DragWorker implementation that supports standard 1516 DRM_SHAREDMEM andDRM_OS2FILE and rendering mechanisms. It uses1523 \c DRM_SHAREDMEM and \c DRM_OS2FILE and rendering mechanisms. It uses 1517 1524 QPMMime::DefaultDragWorker::Provider subclasses to map mime types of the 1518 1525 object being dragged to rendering formats and apply preprocessing of data … … 1541 1548 1542 1549 This class is a DropWorker implementation that supports standard 1543 DRM_SHAREDMEM andDRM_OS2FILE and rendering mechanisms. It uses1550 \c DRM_SHAREDMEM and \c DRM_OS2FILE and rendering mechanisms. It uses 1544 1551 QPMMime::DefaultDropWorker::Provider subclasses to map various rendering 1545 1552 formats to particular mime types and apply postprocessing of data after … … 1624 1631 1625 1632 /*! 1626 Returns a string representation of the given clipboard format.1627 Thestring representation is obtained by querying the system atom table.1633 Returns a string representation of the given clipboard \a format. The 1634 string representation is obtained by querying the system atom table. 1628 1635 */ 1629 1636 // static … … 1691 1698 1692 1699 /*! 1693 Checks that the given drag \a item supports the DRM_OS2FILE rendering1700 Checks that the given drag \a item supports the \c DRM_OS2FILE rendering 1694 1701 mechanism and can be rendered by a target w/o involving the source (i.e., 1695 DRM_OS2FILE is the first supported format and a valid file name with full1696 path is provided). If the function returns TRUE, \a fullName (if not NULL)1697 will be assigned the item's full source file name (composed from1702 \c DRM_OS2FILE is the first supported format and a valid file name with full 1703 path is provided). If the function returns \c TRUE, \a fullName (if not 1704 \c NULL) will be assigned the item's full source file name (composed from 1698 1705 \c hstrContainerName and \c hstrSourceName fields). 1699 1706 */ … … 1710 1717 // DrgVerifyNativeRMF doesn't work on my system (ECS 1.2.1 GA): 1711 1718 // it always returns FALSE regardless of arguments. Use simplified 1712 // hstrRMF parsing to determine whether DRM_OS2FILE is the native1719 // hstrRMF parsing to determine whether \c DRM_OS2FILE is the native 1713 1720 // mechanism or not (i.e. "^\s*[\(<]\s*DRM_OS2FILE\s*,.*"). 1714 1721 … … 1770 1777 1771 1778 /*! 1772 Parses the given \a rmfs list (full rendering mechanism/format specification) 1773 and builds a \a list of mechanism branches. Each mechanism branch is also a 1774 list, where the first item is the mechahism name and all subsequent items are 1775 formats supported by this mechanism. Returns false if fails to parse \a rmf. 1779 Parses the given \a rmfs list (the full rendering mechanism/format 1780 specification) and builds a \a list of mechanism branches. Each mechanism 1781 branch is also a list, where the first item is the mechahism name and all 1782 subsequent items are formats supported by this mechanism. Returns false if 1783 fails to parse \a rmfs. 1776 1784 1777 1785 \note The method clears the given \a list variable before proceeding. -
trunk/src/network/socket/qlocalserver_os2.cpp
r659 r690 140 140 } 141 141 142 /*!143 \internal144 145 \sa QLocalServer::closeServer()146 */147 142 void QLocalServerPrivate::closeServer() 148 143 { … … 161 156 } 162 157 163 /*!164 \internal165 166 We have received a notification that we can read on the listen socket.167 Accept the new socket.168 */169 158 void QLocalServerPrivate::_q_onNewConnection() 170 159 { -
trunk/src/network/socket/qnativesocketengine_os2.cpp
r659 r690 121 121 } 122 122 123 /*! \internal124 125 Creates and returns a new socket descriptor of type \a socketType126 and \a socketProtocol. Returns -1 on failure.127 */128 123 bool QNativeSocketEnginePrivate::createNewSocket(QAbstractSocket::SocketType socketType, 129 124 QAbstractSocket::NetworkLayerProtocol socketProtocol)
Note:
See TracChangeset
for help on using the changeset viewer.