VirtualBox

Changeset 10416 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 9, 2008 1:33:23 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Signal activated is Qt3Support. Replaced it with triggered.

Location:
trunk/src/VBox/Frontends/VirtualBox4/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp

    r10167 r10416  
    495495    connect (vmAutoresizeGuestAction, SIGNAL (toggled (bool)),
    496496             this, SLOT (vmAutoresizeGuest (bool)));
    497     connect (vmAdjustWindowAction, SIGNAL (activated()),
     497    connect (vmAdjustWindowAction, SIGNAL (triggered()),
    498498             this, SLOT (vmAdjustWindow()));
    499499
    500     connect (vmTypeCADAction, SIGNAL(activated()), this, SLOT(vmTypeCAD()));
     500    connect (vmTypeCADAction, SIGNAL(triggered()), this, SLOT(vmTypeCAD()));
    501501#if defined(Q_WS_X11)
    502     connect (vmTypeCABSAction, SIGNAL(activated()), this, SLOT(vmTypeCABS()));
    503 #endif
    504     connect (vmResetAction, SIGNAL(activated()), this, SLOT (vmReset()));
     502    connect (vmTypeCABSAction, SIGNAL(triggered()), this, SLOT(vmTypeCABS()));
     503#endif
     504    connect (vmResetAction, SIGNAL(triggered()), this, SLOT (vmReset()));
    505505    connect (vmPauseAction, SIGNAL(toggled (bool)), this, SLOT (vmPause (bool)));
    506     connect (vmACPIShutdownAction, SIGNAL (activated()), this, SLOT (vmACPIShutdown()));
    507     connect (vmCloseAction, SIGNAL(activated()), this, SLOT (vmClose()));
    508 
    509     connect (vmTakeSnapshotAction, SIGNAL(activated()), this, SLOT(vmTakeSnapshot()));
    510     connect (vmShowInformationDlgAction, SIGNAL(activated()), this, SLOT (vmShowInfoDialog()));
     506    connect (vmACPIShutdownAction, SIGNAL (triggered()), this, SLOT (vmACPIShutdown()));
     507    connect (vmCloseAction, SIGNAL(triggered()), this, SLOT (vmClose()));
     508
     509    connect (vmTakeSnapshotAction, SIGNAL(triggered()), this, SLOT(vmTakeSnapshot()));
     510    connect (vmShowInformationDlgAction, SIGNAL(triggered()), this, SLOT (vmShowInfoDialog()));
    511511
    512512    connect (vmDisableMouseIntegrAction, SIGNAL(toggled (bool)), this, SLOT(vmDisableMouseIntegr (bool)));
    513513
    514     connect (devicesMountFloppyImageAction, SIGNAL(activated()), this, SLOT(devicesMountFloppyImage()));
    515     connect (devicesUnmountFloppyAction, SIGNAL(activated()), this, SLOT(devicesUnmountFloppy()));
    516     connect (devicesMountDVDImageAction, SIGNAL(activated()), this, SLOT(devicesMountDVDImage()));
    517     connect (devicesUnmountDVDAction, SIGNAL(activated()), this, SLOT(devicesUnmountDVD()));
     514    connect (devicesMountFloppyImageAction, SIGNAL(triggered()), this, SLOT(devicesMountFloppyImage()));
     515    connect (devicesUnmountFloppyAction, SIGNAL(triggered()), this, SLOT(devicesUnmountFloppy()));
     516    connect (devicesMountDVDImageAction, SIGNAL(triggered()), this, SLOT(devicesMountDVDImage()));
     517    connect (devicesUnmountDVDAction, SIGNAL(triggered()), this, SLOT(devicesUnmountDVD()));
    518518    connect (devicesSwitchVrdpAction, SIGNAL(toggled (bool)), this, SLOT(devicesSwitchVrdp (bool)));
    519     connect (devicesSFDialogAction, SIGNAL(activated()), this, SLOT(devicesOpenSFDialog()));
    520     connect (devicesInstallGuestToolsAction, SIGNAL(activated()), this, SLOT(devicesInstallGuestAdditions()));
     519    connect (devicesSFDialogAction, SIGNAL(triggered()), this, SLOT(devicesOpenSFDialog()));
     520    connect (devicesInstallGuestToolsAction, SIGNAL(triggered()), this, SLOT(devicesInstallGuestAdditions()));
    521521
    522522
     
    550550             this, SLOT (clearStatusBar()));
    551551
    552     connect (helpContentsAction, SIGNAL (activated()),
     552    connect (helpContentsAction, SIGNAL (triggered()),
    553553             &vboxProblem(), SLOT (showHelpHelpDialog()));
    554     connect (helpWebAction, SIGNAL (activated()),
     554    connect (helpWebAction, SIGNAL (triggered()),
    555555             &vboxProblem(), SLOT (showHelpWebDialog()));
    556     connect (helpRegisterAction, SIGNAL (activated()),
     556    connect (helpRegisterAction, SIGNAL (triggered()),
    557557             &vboxGlobal(), SLOT (showRegistrationDialog()));
    558558    connect (&vboxGlobal(), SIGNAL (canShowRegDlg (bool)),
    559559             helpRegisterAction, SLOT (setEnabled (bool)));
    560     connect (helpAboutAction, SIGNAL (activated()),
     560    connect (helpAboutAction, SIGNAL (triggered()),
    561561             &vboxProblem(), SLOT (showHelpAboutDialog()));
    562     connect (helpResetMessagesAction, SIGNAL (activated()),
     562    connect (helpResetMessagesAction, SIGNAL (triggered()),
    563563             &vboxProblem(), SLOT (resetSuppressedMessages()));
    564564
     
    589589#ifdef VBOX_WITH_DEBUGGER_GUI
    590590    if (dbgStatisticsAction)
    591         connect (dbgStatisticsAction, SIGNAL (activated()),
     591        connect (dbgStatisticsAction, SIGNAL (triggered()),
    592592                 this, SLOT (dbgShowStatistics()));
    593593    if (dbgCommandLineAction)
    594         connect (dbgCommandLineAction, SIGNAL (activated()),
     594        connect (dbgCommandLineAction, SIGNAL (triggered()),
    595595                 this, SLOT (dbgShowCommandLine()));
    596596#endif
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxDiskImageManagerDlg.cpp

    r10369 r10416  
    316316    mRefreshAction = new QAction (this);
    317317
    318     connect (mNewAction, SIGNAL (activated()),
     318    connect (mNewAction, SIGNAL (triggered()),
    319319             this, SLOT (newImage()));
    320     connect (mAddAction, SIGNAL (activated()),
     320    connect (mAddAction, SIGNAL (triggered()),
    321321             this, SLOT (addImage()));
    322     // connect (mEditAction, SIGNAL (activated()),
     322    // connect (mEditAction, SIGNAL (triggered()),
    323323    //          this, SLOT (editImage()));
    324     connect (mRemoveAction, SIGNAL (activated()),
     324    connect (mRemoveAction, SIGNAL (triggered()),
    325325             this, SLOT (removeImage()));
    326     connect (mReleaseAction, SIGNAL (activated()),
     326    connect (mReleaseAction, SIGNAL (triggered()),
    327327             this, SLOT (releaseImage()));
    328     connect (mRefreshAction, SIGNAL (activated()),
     328    connect (mRefreshAction, SIGNAL (triggered()),
    329329             this, SLOT (refreshAll()));
    330330
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp

    r10369 r10416  
    174174
    175175        connect (mRefreshButton, SIGNAL (clicked()),
    176                  mRefreshAction, SIGNAL (activated()));
     176                 mRefreshAction, SIGNAL (triggered()));
    177177    }
    178178
     
    641641
    642642    /* signals and slots connections */
    643     connect (fileDiskMgrAction, SIGNAL (activated()), this, SLOT(fileDiskMgr()));
    644     connect (fileSettingsAction, SIGNAL (activated()), this, SLOT(fileSettings()));
    645     connect (fileExitAction, SIGNAL (activated()), this, SLOT (fileExit()));
    646     connect (vmNewAction, SIGNAL (activated()), this, SLOT (vmNew()));
    647     connect (vmConfigAction, SIGNAL (activated()), this, SLOT (vmSettings()));
    648     connect (vmDeleteAction, SIGNAL (activated()), this, SLOT (vmDelete()));
    649     connect (vmStartAction, SIGNAL (activated()), this, SLOT (vmStart()));
    650     connect (vmDiscardAction, SIGNAL (activated()), this, SLOT (vmDiscard()));
     643    connect (fileDiskMgrAction, SIGNAL (triggered()), this, SLOT(fileDiskMgr()));
     644    connect (fileSettingsAction, SIGNAL (triggered()), this, SLOT(fileSettings()));
     645    connect (fileExitAction, SIGNAL (triggered()), this, SLOT (fileExit()));
     646    connect (vmNewAction, SIGNAL (triggered()), this, SLOT (vmNew()));
     647    connect (vmConfigAction, SIGNAL (triggered()), this, SLOT (vmSettings()));
     648    connect (vmDeleteAction, SIGNAL (triggered()), this, SLOT (vmDelete()));
     649    connect (vmStartAction, SIGNAL (triggered()), this, SLOT (vmStart()));
     650    connect (vmDiscardAction, SIGNAL (triggered()), this, SLOT (vmDiscard()));
    651651    connect (vmPauseAction, SIGNAL (toggled (bool)), this, SLOT (vmPause (bool)));
    652     connect (vmRefreshAction, SIGNAL (activated()), this, SLOT (vmRefresh()));
    653     connect (vmShowLogsAction, SIGNAL (activated()), this, SLOT (vmShowLogs()));
    654 
    655     connect (helpContentsAction, SIGNAL (activated()),
     652    connect (vmRefreshAction, SIGNAL (triggered()), this, SLOT (vmRefresh()));
     653    connect (vmShowLogsAction, SIGNAL (triggered()), this, SLOT (vmShowLogs()));
     654
     655    connect (helpContentsAction, SIGNAL (triggered()),
    656656             &vboxProblem(), SLOT (showHelpHelpDialog()));
    657     connect (helpWebAction, SIGNAL (activated()),
     657    connect (helpWebAction, SIGNAL (triggered()),
    658658             &vboxProblem(), SLOT (showHelpWebDialog()));
    659     connect (helpRegisterAction, SIGNAL (activated()),
     659    connect (helpRegisterAction, SIGNAL (triggered()),
    660660             &vboxGlobal(), SLOT (showRegistrationDialog()));
    661661    connect (&vboxGlobal(), SIGNAL (canShowRegDlg (bool)),
    662662             helpRegisterAction, SLOT (setEnabled (bool)));
    663     connect (helpAboutAction, SIGNAL (activated()),
     663    connect (helpAboutAction, SIGNAL (triggered()),
    664664             &vboxProblem(), SLOT (showHelpAboutDialog()));
    665     connect (helpResetMessagesAction, SIGNAL (activated()),
     665    connect (helpResetMessagesAction, SIGNAL (triggered()),
    666666             &vboxProblem(), SLOT (resetSuppressedMessages()));
    667667
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSnapshotsWgt.cpp

    r10229 r10416  
    308308             this, SLOT (onItemChanged (QTreeWidgetItem*, int)));
    309309
    310     connect (mDiscardSnapshotAction, SIGNAL (activated()),
     310    connect (mDiscardSnapshotAction, SIGNAL (triggered()),
    311311             this, SLOT (discardSnapshot()));
    312     connect (mTakeSnapshotAction, SIGNAL (activated()),
     312    connect (mTakeSnapshotAction, SIGNAL (triggered()),
    313313             this, SLOT (takeSnapshot()));
    314     connect (mRevertToCurSnapAction, SIGNAL (activated()),
     314    connect (mRevertToCurSnapAction, SIGNAL (triggered()),
    315315             this, SLOT (discardCurState()));
    316     connect (mDiscardCurSnapAndStateAction, SIGNAL (activated()),
     316    connect (mDiscardCurSnapAndStateAction, SIGNAL (triggered()),
    317317             this, SLOT (discardCurSnapAndState()));
    318     connect (mShowSnapshotDetailsAction, SIGNAL (activated()),
     318    connect (mShowSnapshotDetailsAction, SIGNAL (triggered()),
    319319             this, SLOT (showSnapshotDetails()));
    320320
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette