Ignore:
Timestamp:
Nov 2, 2009, 3:00:35 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: QSystemTrayIcon: Implemented reaction to notification messages from the system tray and emitting them as signals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/widgets/qmenu.cpp

    r2 r277  
    165165}
    166166
    167 //Windows and KDE allows menus to cover the taskbar, while GNOME and Mac don't
     167// Windows, OS/2 and KDE allows menus to cover the taskbar, while GNOME and Mac don't
    168168QRect QMenuPrivate::popupGeometry(int screen) const
    169169{
    170 #ifdef Q_WS_WIN
     170#if defined(Q_WS_WIN) || defined(Q_WS_PM)
    171171    return QApplication::desktop()->screenGeometry(screen);
    172172#elif defined Q_WS_X11
     
    10961096            QList< QPointer<QWidget> > list;
    10971097            for(QWidget *widget = q->parentWidget(); widget; ) {
    1098                 if (qobject_cast<QMenu*>(widget) 
     1098                if (qobject_cast<QMenu*>(widget)
    10991099#ifndef QT_NO_MENUBAR
    11001100                    || qobject_cast<QMenuBar*>(widget)
     
    12621262    is represented vertically and rendered by QStyle. In addition, actions
    12631263    can have a text label, an optional icon drawn on the very left side,
    1264     and shortcut key sequence such as "Ctrl+X". 
     1264    and shortcut key sequence such as "Ctrl+X".
    12651265
    12661266    The existing actions held by a menu can be found with actions().
Note: See TracChangeset for help on using the changeset viewer.