Ticket #237: qcommonstyle.diff

File qcommonstyle.diff, 2.1 KB (added by rudi, 13 years ago)

More icons

  • src/gui/styles/qcommonstyle.cpp

     
    59785978    case SP_MediaVolumeMuted:
    59795979        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-volume-muted-16.png"), QSize(16, 16));
    59805980        break;
     5981    case SP_ComputerIcon:
     5982        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/computer-16.png"), QSize(16, 16));
     5983        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/computer-32.png"), QSize(32, 32));
     5984        break;
     5985    case SP_DesktopIcon:
     5986        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/desktop-16.png"), QSize(16, 16));
     5987        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/desktop-32.png"), QSize(32, 32));
     5988        break;
     5989    case SP_DriveFDIcon:
     5990        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/floppy-16.png"), QSize(16, 16));
     5991        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/floppy-32.png"), QSize(32, 32));
     5992        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/floppy-128.png"), QSize(128, 128));
     5993        break;
     5994    case SP_DriveHDIcon:
     5995        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/harddrive-16.png"), QSize(16, 16));
     5996        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/harddrive-32.png"), QSize(32, 32));
     5997        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/harddrive-128.png"), QSize(128, 128));
     5998        break;
     5999    case SP_DriveNetIcon:
     6000        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/networkdrive-16.png"), QSize(16, 16));
     6001        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/networkdrive-32.png"), QSize(32, 32));
     6002        icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/networkdrive-128.png"), QSize(128, 128));
     6003        break;
     6004
    59816005#endif // QT_NO_IMAGEFORMAT_PNG
    59826006    default:
    59836007        icon.addPixmap(proxy()->standardPixmap(standardIcon, option, widget));