Ignore:
Timestamp:
Jul 31, 2009, 1:13:57 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Added OS/2 stubs for platform-specific parts of all key GUI classes. Non-key classes are temporarily disabled with QT_NO_ defines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qapplication_pm.cpp

    r92 r95  
    8282static bool     qt_try_modal(QWidget *, QMSG *, int& ret);
    8383
    84 static QWidget *qt_button_down = 0; // widget got last button-down
     84QWidget *qt_button_down = 0; // widget got last button-down
     85QPointer<QWidget> qt_last_mouse_receiver = 0;
    8586
    8687static HWND autoCaptureWnd = NULLHANDLE;
     
    273274 *****************************************************************************/
    274275
     276void QApplicationPrivate::createEventDispatcher()
     277{
     278    // @todo implement
     279}
     280
    275281/*****************************************************************************
    276282  Platform specific QApplication members
     
    286292}
    287293
     294void  QApplication::setCursorFlashTime(int msecs)
     295{
     296    // @todo implement
     297}
     298
     299
     300int QApplication::cursorFlashTime()
     301{
     302    // @todo implement
     303    return 0;
     304}
     305
     306void QApplication::setDoubleClickInterval(int ms)
     307{
     308    // @todo implement
     309}
     310
     311int QApplication::doubleClickInterval()
     312{
     313    // @todo implement
     314    return 0;
     315}
     316
     317
     318void QApplication::setKeyboardInputInterval(int ms)
     319{
     320    // @todo implement
     321}
     322
     323int QApplication::keyboardInputInterval()
     324{
     325    // @todo implement
     326    return 0;
     327}
     328
     329#ifndef QT_NO_WHEELEVENT
     330void QApplication::setWheelScrollLines(int n)
     331{
     332    // @todo implement
     333}
     334
     335int QApplication::wheelScrollLines()
     336{
     337    // @todo implement
     338    return 0;
     339}
     340#endif //QT_NO_WHEELEVENT
     341
     342void QApplication::setEffectEnabled(Qt::UIEffect effect, bool enable)
     343{
     344    // @todo implement
     345}
     346
     347bool QApplication::isEffectEnabled(Qt::UIEffect effect)
     348{
     349    // @todo implement
     350    return false;
     351}
     352
     353void QApplication::beep()
     354{
     355    // @todo implement
     356}
     357
     358void QApplication::alert(QWidget *widget, int duration)
     359{
     360    // @todo implement
     361}
     362
    288363/*****************************************************************************
    289364  QApplication cursor stack
    290365 *****************************************************************************/
    291366
     367#ifndef QT_NO_CURSOR
     368
     369void QApplication::setOverrideCursor(const QCursor &cursor)
     370{
     371    // @todo implement
     372}
     373
     374void QApplication::restoreOverrideCursor()
     375{
     376    // @todo implement
     377}
     378
     379#endif
     380
    292381/*****************************************************************************
    293382  Routines to find a Qt widget from a screen position
    294383 *****************************************************************************/
    295384
     385QWidget *QApplication::topLevelAt(const QPoint &pos)
     386{
     387    // @todo implement
     388    return 0;
     389}
     390
    296391/*****************************************************************************
    297392  Main event loop
    298393 *****************************************************************************/
     394
     395// QtWndProc() receives all messages from the main event loop
     396
     397extern "C"
     398MRESULT EXPENTRY QtWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
     399{
     400    // @todo implement
     401    return FALSE;
     402}
    299403
    300404/*****************************************************************************
     
    315419 *****************************************************************************/
    316420
     421bool QApplicationPrivate::modalState()
     422{
     423    // @todo implement
     424    return false;
     425}
     426
     427void QApplicationPrivate::enterModal_sys(QWidget *widget)
     428{
     429    // @todo implement
     430}
     431
     432void QApplicationPrivate::leaveModal_sys(QWidget *widget)
     433{
     434    // @todo implement
     435}
     436
    317437/*****************************************************************************
    318438  Popup widget mechanism
     
    329449 *****************************************************************************/
    330450
     451void QApplicationPrivate::openPopup(QWidget *popup)
     452{
     453    // @todo implement
     454}
     455
     456void QApplicationPrivate::closePopup(QWidget *popup)
     457{
     458    // @todo implement
     459}
     460
    331461/*****************************************************************************
    332462  Event translation; translates PM events to Qt events
Note: See TracChangeset for help on using the changeset viewer.