VirtualBox

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


Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67140
Message:

*: spelling fixes, thanks Timeless!

Location:
trunk/src/VBox/Frontends
Files:
87 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/Common/VBoxKeyboard/keyboard-types.h

    r32895 r33540  
    4343/**
    4444 * This table contains a set of known keycode mappings for a set of known
    45  * keyboard types.  The most important type will be the almost ubiquious PC
     45 * keyboard types.  The most important type will be the almost ubiquitous PC
    4646 * keyboard, but as far as I know some VNC servers and some Sunrays for
    4747 * example use different mappings.  I only used a minimal set of key mappings
     
    7777    { "evdev", 0x25, 0x32, 0x42, 0x17, 0x9, 0x24, 0x6f, 0x74,
    7878      0x71, 0x72, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a },
    79     { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } /* Sentinal */
     79    { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } /* Sentinel */
    8080};
    8181
     
    115115      0x141, 0x0, 0x157, 0x105, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
    116116    },
    117     { 0 } /* Sentinal */
     117    { 0 } /* Sentinel */
    118118};
    119119
  • trunk/src/VBox/Frontends/Common/VBoxKeyboard/keyboard.c

    r32896 r33540  
    269269 * To deal with this, we compare the different candidate layouts to see in
    270270 * which one the X11 keycodes would be most sequential and hope that they
    271  * really are layed out more or less sequentially.
     271 * really are arranged more or less sequentially.
    272272 *
    273273 * The actual detection of the current layout is done in the sub-function
  • trunk/src/VBox/Frontends/Common/VBoxKeyboard/xkbtoscan.h

    r32895 r33540  
    2525 * other than GPL or LGPL is available it will apply instead, Sun elects to use
    2626 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any
    27  * a choice of LGPL license versions is made available with the language indica
     27 * a choice of LGPL license versions is made available with the language indicating
    2828 * that LGPLv2 or any later version may be used, or where a choice of which ver
    2929 * of the LGPL is applied is otherwise unspecified.
  • trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp

    r28800 r33540  
    615615     * Here update rectangles are accumulated to form an update area.
    616616     * @todo
    617      * Now the simplies method is used which builds one rectangle that
     617     * Now the simplest method is used which builds one rectangle that
    618618     * includes all update areas. A bit more advanced method can be
    619619     * employed here. The method should be fast however.
     
    964964    /* Current record is complete. */
    965965
    966     /* The size of largest contiguos chunk in the ring biffer. */
     966    /* The size of largest contiguous chunk in the ring biffer. */
    967967    uint32_t u32BytesTillBoundary = VBVA_RING_BUFFER_SIZE - mpVbvaMemory->off32Data;
    968968
  • trunk/src/VBox/Frontends/VBoxBFE/HGCM.cpp

    r28800 r33540  
    922922/** The method creates a service and references it.
    923923 *
    924  * @param pszServcieLibrary  The library to be loaded.
     924 * @param pszServiceLibrary  The library to be loaded.
    925925 * @param pszServiceName     The name of the service.
    926926 * @return VBox rc.
  • trunk/src/VBox/Frontends/VBoxBFE/HGCMThread.cpp

    r28800 r33540  
    9898
    9999        /* Message queue variables. Messages are inserted at tail of message
    100          * queue. They are consumed by worker thread sequently. If a message was
     100         * queue. They are consumed by worker thread sequentially. If a message was
    101101         * consumed, it is removed from message queue.
    102102         */
  • trunk/src/VBox/Frontends/VBoxBFE/HGCMThread.h

    r28800 r33540  
    184184
    185185
    186 /** Worker thread has processed a message previuosly obtained with hgcmMsgGet.
     186/** Worker thread has processed a message previously obtained with hgcmMsgGet.
    187187 *
    188188 * @param pMsg          Processed message pointer.
  • trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp

    r32388 r33540  
    13991399        bi.bV5BitCount = 32;
    14001400        bi.bV5Compression = BI_BITFIELDS;
    1401         // specifiy a supported 32 BPP alpha format for Windows XP
     1401        // specify a supported 32 BPP alpha format for Windows XP
    14021402        bi.bV5RedMask   = 0x00FF0000;
    14031403        bi.bV5GreenMask = 0x0000FF00;
  • trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.h

    r32851 r33540  
    3535#include <iprt/string.h>
    3636
    37 /** Pointer shape change event data strucure */
     37/** Pointer shape change event data structure */
    3838struct PointerShapeChangeData
    3939{
  • trunk/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.cpp

    r28800 r33540  
    398398 * @param   y top row
    399399 * @param   w width in pixels
    400  * @param   h heigh in pixels
     400 * @param   h height in pixels
    401401 */
    402402void SDLFramebuffer::update(int x, int y, int w, int h)
  • trunk/src/VBox/Frontends/VBoxBFE/USBProxyService.cpp

    r28800 r33540  
    22 *
    33 * VBox frontends: Basic Frontend (BFE):
    4  * Implemenation of USBProxyService class
     4 * Implementation of USBProxyService class
    55 */
    66
  • trunk/src/VBox/Frontends/VBoxBFE/USBProxyService.h

    r28800 r33540  
    3737
    3838    /**
    39      * A VM is trying to capture a device, do necessary preperations.
     39     * A VM is trying to capture a device, do necessary preparations.
    4040     *
    4141     * @returns VBox status code.
  • trunk/src/VBox/Frontends/VBoxBFE/USBProxyServiceLinux.cpp

    r28800 r33540  
    592592            /*
    593593             * Interpret the line.
    594              * (Ordered by normal occurence.)
     594             * (Ordered by normal occurrence.)
    595595             */
    596596            char ch = psz[0];
  • trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp

    r32388 r33540  
    18561856                    /*
    18571857                     * The TAP driver does all the opening and setting up,
    1858                      * as it was originally was ment to be (stupid fork() problems).
     1858                     * as it was originally was meant to be (stupid fork() problems).
    18591859                     */
    18601860                    rc = CFGMR3InsertString(pCfg, "Device", g_aNetDevs[ulInstance].pszName); UPDATE_RC();
  • trunk/src/VBox/Frontends/VBoxBFE/VBoxBFEMain-darwin.m

    r16895 r33540  
    1212#import <iprt/assert.h>
    1313
    14 /* For some reaon, Apple removed setAppleMenu from the headers in 10.4,
     14/* For some reason, Apple removed setAppleMenu from the headers in 10.4,
    1515 but the method still is there and works. To avoid warnings, we declare
    1616 it ourselves here. */
  • trunk/src/VBox/Frontends/VBoxBFE/VirtualBoxBase.h

    r30714 r33540  
    255255
    256256/**
    257  *  Declares an empty construtor and destructor for the given class.
     257 *  Declares an empty constructor and destructor for the given class.
    258258 *  This is useful to prevent the compiler from generating the default
    259259 *  ctor and dtor, which in turn allows to use forward class statements
     
    271271
    272272/**
    273  *  Defines an empty construtor and destructor for the given class.
     273 *  Defines an empty constructor and destructor for the given class.
    274274 *  See DECLARE_EMPTY_CTOR_DTOR for more info.
    275275 */
     
    326326
    327327    /**
    328      *  Virtual unintialization method. Called during parent object's
     328     *  Virtual uninitialization method. Called during parent object's
    329329     *  uninitialization, if the given subclass instance is a dependent child of
    330      *  a class dervived from VirtualBoxBaseWithChildren (@sa
     330     *  a class derived from VirtualBoxBaseWithChildren (@sa
    331331     *  VirtualBoxBaseWithChildren::addDependentChild). In this case, this
    332      *  method's impelemtation must call setReady (false),
     332     *  method's implementation must call setReady (false),
    333333     */
    334334    virtual void uninit() {}
     
    355355     *  The constructor, given the VirtualBoxBase pointer, safely acquires the
    356356     *  lock protecting its data. This lock will be released automatically
    357      *  when the instance goes out of scope (block, funciton etc.).
     357     *  when the instance goes out of scope (block, function etc.).
    358358     *
    359359     *  @note
     
    534534     *  by the context parameter. Additionally, a comment to the source text
    535535     *  string text can be given. This comment (which is NULL by default)
    536      *  is helpful in sutuations where it is necessary to distinguish between
     536     *  is helpful in situations where it is necessary to distinguish between
    537537     *  two or more semantically different roles of the same source text in the
    538538     *  same context.
  • trunk/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp

    r33464 r33540  
    515515 * store the pixel format, not the colour depth internally, since
    516516 * when display sets FramebufferPixelFormat_Opaque, it
    517  * wants to retreive FramebufferPixelFormat_Opaque and
     517 * wants to retrieve FramebufferPixelFormat_Opaque and
    518518 * nothing else.
    519519 *
  • trunk/src/VBox/Frontends/VBoxHeadless/VideoCapture/FFmpegFB.cpp

    r31700 r33540  
    282282 * store the pixel format, not the colour depth internally, since
    283283 * when display sets FramebufferPixelFormat_Opaque, it
    284  * wants to retreive FramebufferPixelFormat_Opaque and
     284 * wants to retrieve FramebufferPixelFormat_Opaque and
    285285 * nothing else.
    286286 *
     
    598598 * @param   supported pointer to result variable
    599599 *
    600  * As far as I know, the only restruction we have on video modes is that
     600 * As far as I know, the only restriction we have on video modes is that
    601601 * we have to have an even number of horizontal and vertical pixels.
    602602 * I sincerely doubt that anything else will be requested, and if it
     
    760760    pCodecContext->pix_fmt = PIX_FMT_YUV420P;
    761761    /* taken from the ffmpeg output example */
    762     // some formats want stream headers to be seperate
     762    // some formats want stream headers to be separate
    763763    if (!strcmp(pOutFormat->name, "mp4")
    764764        || !strcmp(pOutFormat->name, "mov")
  • trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp

    r33524 r33540  
    18671867
    18681868/**
    1869  * Unloads the neccessary driver.
     1869 * Unloads the necessary driver.
    18701870 *
    18711871 * @returns VBox status code
     
    18841884
    18851885/**
    1886  * Loads the neccessary driver.
     1886 * Loads the necessary driver.
    18871887 *
    18881888 * @returns VBox status code
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r33456 r33540  
    362362        { "unregistervm",     USAGE_UNREGISTERVM,      handleUnregisterVM },
    363363        { "createhd",         USAGE_CREATEHD,          handleCreateHardDisk },
    364         { "createvdi",        USAGE_CREATEHD,          handleCreateHardDisk }, /* backward compatiblity */
     364        { "createvdi",        USAGE_CREATEHD,          handleCreateHardDisk }, /* backward compatibility */
    365365        { "modifyhd",         USAGE_MODIFYHD,          handleModifyHardDisk },
    366         { "modifyvdi",        USAGE_MODIFYHD,          handleModifyHardDisk }, /* backward compatiblity */
     366        { "modifyvdi",        USAGE_MODIFYHD,          handleModifyHardDisk }, /* backward compatibility */
    367367        { "clonehd",          USAGE_CLONEHD,           handleCloneHardDisk },
    368         { "clonevdi",         USAGE_CLONEHD,           handleCloneHardDisk }, /* backward compatiblity */
     368        { "clonevdi",         USAGE_CLONEHD,           handleCloneHardDisk }, /* backward compatibility */
    369369        { "addiscsidisk",     USAGE_ADDISCSIDISK,      handleAddiSCSIDisk },
    370370        { "createvm",         USAGE_CREATEVM,          handleCreateVM },
     
    379379        { "storagectl",       USAGE_STORAGECONTROLLER, handleStorageController },
    380380        { "showhdinfo",       USAGE_SHOWHDINFO,        handleShowHardDiskInfo },
    381         { "showvdiinfo",      USAGE_SHOWHDINFO,        handleShowHardDiskInfo }, /* backward compatiblity */
     381        { "showvdiinfo",      USAGE_SHOWHDINFO,        handleShowHardDiskInfo }, /* backward compatibility */
    382382        { "getextradata",     USAGE_GETEXTRADATA,      handleGetExtraData },
    383383        { "setextradata",     USAGE_SETEXTRADATA,      handleSetExtraData },
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageAppliance.cpp

    r33417 r33540  
    944944            ComPtr<IVirtualSystemDescription> pVSD;
    945945            CHECK_ERROR_BREAK(pMachine, Export(pAppliance, Bstr(pszAbsFilePath).raw(), pVSD.asOutParam()));
    946             // Add additional info to the virtal system description if the user wants so
     946            // Add additional info to the virtual system description if the user wants so
    947947            ArgsMap *pmapArgs = NULL;
    948948            ArgsMapsMap::iterator itm = mapArgsMapsPerVsys.find(i);
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp

    r33408 r33540  
    4747 *
    4848 * @returns Valid number on success.
    49  * @returns 0 if invalid number. All necesary bitching has been done.
     49 * @returns 0 if invalid number. All necessary bitching has been done.
    5050 * @param   psz     Pointer to the nic number.
    5151 */
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r33524 r33540  
    164164    { "--remember",     'r', RTGETOPT_REQ_NOTHING },
    165165    { "-remember",      'r', RTGETOPT_REQ_NOTHING },    // deprecated
    166     { "--register",     'r', RTGETOPT_REQ_NOTHING },    // deprecated (inofficial)
     166    { "--register",     'r', RTGETOPT_REQ_NOTHING },    // deprecated (unofficial)
    167167    { "-register",      'r', RTGETOPT_REQ_NOTHING },    // deprecated
    168168};
     
    10691069         * from the disk backends to construct the location properly. Also do
    10701070         * not use slashes to separate the parts, as otherwise only the last
    1071          * element comtaining information will be shown. */
     1071         * element containing information will be shown. */
    10721072        if (lun.isEmpty() || lun == "0" || lun == "enc0")
    10731073        {
     
    12021202                                   DeviceType_HardDisk,
    12031203                                   hardDisk.asOutParam());
    1204     /* no? well, then it's an unkwnown image */
     1204    /* no? well, then it's an unknown image */
    12051205    if (FAILED(rc))
    12061206    {
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMetrics.cpp

    r33495 r33540  
    236236
    237237/**
    238  * Metics setup
     238 * Metrics setup
    239239 */
    240240static int handleMetricsSetup(int argc, char *argv[],
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp

    r33294 r33540  
    201201
    202202    /* for sata controller check if the port count is big enough
    203      * to accomodate the current port which is being assigned
     203     * to accommodate the current port which is being assigned
    204204     * else just increase the port count
    205205     */
  • trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.h

    r31698 r33540  
    163163    /** flag whether we're in fullscreen mode */
    164164    bool  mfFullscreen;
    165     /** flag wheter we keep the host screen resolution when switching to
     165    /** flag whether we keep the host screen resolution when switching to
    166166     *  fullscreen or not */
    167167    bool  mfKeepHostRes;
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r33386 r33540  
    9898*   Structures and Typedefs                                                    *
    9999*******************************************************************************/
    100 /** Pointer shape change event data strucure */
     100/** Pointer shape change event data structure */
    101101struct PointerShapeChangeData
    102102{
     
    712712    /*
    713713     * Lock keys on SDL behave different from normal keys: A KeyPress event is generated
    714      * if the lock mode gets active and a keyRelease event is genereated if the lock mode
     714     * if the lock mode gets active and a keyRelease event is generated if the lock mode
    715715     * gets inactive, that is KeyPress and KeyRelease are sent when pressing the lock key
    716716     * to change the mode. The current lock mode is reflected in SDL_GetModState().
     
    33423342            case SDLK_LMETA:
    33433343            case SDLK_LSUPER:           keycode = 0x5b | 0x100; break;
    3344             /* Sssumes normal key. */
     3344            /* Assumes normal key. */
    33453345            default:                    keycode = s_aMacToSet1[keycode]; break;
    33463346        }
     
    42554255        bi.bV5BitCount = 32;
    42564256        bi.bV5Compression = BI_BITFIELDS;
    4257         // specifiy a supported 32 BPP alpha format for Windows XP
     4257        // specify a supported 32 BPP alpha format for Windows XP
    42584258        bi.bV5RedMask   = 0x00FF0000;
    42594259        bi.bV5GreenMask = 0x0000FF00;
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDLMain-darwin.m

    r16894 r33540  
    1212#import <iprt/assert.h>
    1313
    14 /* For some reaon, Apple removed setAppleMenu from the headers in 10.4,
     14/* For some reason, Apple removed setAppleMenu from the headers in 10.4,
    1515 but the method still is there and works. To avoid warnings, we declare
    1616 it ourselves here. */
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r33473 r33540  
    25302530    usage: nat <vm> <nicnum> alias [default|[log] [proxyonly] [sameports]]
    25312531    default - set settings to default values
    2532     log - switch on alias loging
     2532    log - switch on alias logging
    25332533    proxyonly - switch proxyonly mode on
    25342534    sameports - enforces NAT using the same ports
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r32835 r33540  
    198198VirtualBox_LIBS.solaris += Xinerama
    199199VirtualBox_LIBS.freebsd += Xinerama
     200
     201VirtualBox_CXXFLAGS += -Wno-switch
    200202
    201203ifdef VBOX_WITH_VIDEOHWACCEL
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp

    r32823 r33540  
    11/* $Id$ */
    22/** @file
    3  * VBoxFBOverlay implementaion
     3 * VBoxFBOverlay implementation
    44 */
    55
     
    10871087    else
    10881088    {
    1089         // ensure we don't have empty functions /* paranoya for for ATI on linux */
     1089        // ensure we don't have empty functions /* paranoia for for ATI on linux */
    10901090        apShaders[cShaders++] = &mShaderMainOverlayNoCKey;
    10911091    }
     
    22062206     * we need to report the pitch, etc. info of the form guest expects from us*/
    22072207    VBoxVHWAColorFormat reportedFormat;
    2208     /* paranoya to ensure the VBoxVHWAColorFormat API works properly */
     2208    /* paranoia to ensure the VBoxVHWAColorFormat API works properly */
    22092209    Assert(!reportedFormat.isValid());
    22102210    bool bNoPBO = false;
     
    23972397    else
    23982398    {
    2399         /* this is the case of Framebuffer not using Gueat VRAM */
     2399        /* this is the case of Framebuffer not using Guest VRAM */
    24002400        /* can happen for primary surface creation only */
    24012401        Assert(pCmd->SurfInfo.surfCaps & VBOXVHWA_SCAPS_PRIMARYSURFACE);
     
    25192519    }
    25202520
    2521     /* just in case we destroy a visible overlay sorface */
     2521    /* just in case we destroy a visible overlay surface */
    25222522    mRepaintNeeded = true;
    25232523
     
    34463446            }
    34473447#ifdef VBOXQGL_STATE_DEBUG
    3448             else if(u32Version == 1) /* read the 0 overlay count to ensure the following VBOXQGL_LOAD_STOP succeedes */
     3448            else if(u32Version == 1) /* read the 0 overlay count to ensure the following VBOXQGL_LOAD_STOP succeeds */
    34493449            {
    34503450                rc = SSMR3GetU32(pSSM, &u32); AssertRC(rc);
     
    37973797            dispRect,
    37983798            dispRect,
    3799             dispRect, /* we do not know viewport at the stage of recise, set as a disp rect, it will be updated on repaint */
     3799            dispRect, /* we do not know viewport at the stage of precise, set as a disp rect, it will be updated on repaint */
    38003800            format,
    38013801            (VBoxVHWAColorKey*)NULL, (VBoxVHWAColorKey*)NULL, (VBoxVHWAColorKey*)NULL, (VBoxVHWAColorKey*)NULL,
     
    43314331        mGlCurrent = false;
    43324332        makeCurrent();
    4333         /* need to ensure we're in synch */
     4333        /* need to ensure we're in sync */
    43344334        mNeedOverlayRepaint = vboxSynchGl();
    43354335    }
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h

    r32823 r33540  
    19451945          mpView (pView)
    19461946    {
    1947         /* synch with framebuffer */
     1947        /* sync with framebuffer */
    19481948        mOverlay.onResizeEventPostprocess (VBoxFBSizeInfo(this), QPoint(mpView->contentsX(), mpView->contentsY()));
    19491949    }
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlayCommon.h

    r28800 r33540  
    3434 #define VBOXQGL_ASSERTNOERR() \
    3535    do { GLenum err = glGetError(); \
    36         if(err != GL_NO_ERROR) VBOXQGLLOG(("gl error ocured (0x%x)\n", err)); \
     36        if(err != GL_NO_ERROR) VBOXQGLLOG(("gl error occurred (0x%x)\n", err)); \
    3737        Assert(err == GL_NO_ERROR); \
    3838    }while(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp

    r29206 r33540  
    574574
    575575#ifndef DEBUGVHWASTRICT
    576     /* in case we do not support shaders & multitexturing we can not supprt dst colorkey,
     576    /* in case we do not support shaders & multitexturing we can not support dst colorkey,
    577577     * no sense to report Video Acceleration supported */
    578578    if(!mglInfo.isFragmentShaderSupported())
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobalSettings.cpp

    r32479 r33540  
    3333/** @class VBoxGlobalSettingsData
    3434 *
    35  *  The VBoxGlobalSettingsData class incapsulates the global settings
     35 *  The VBoxGlobalSettingsData class encapsulates the global settings
    3636 *  of the VirtualBox.
    3737 */
     
    152152 *  Loads the settings from the (global) extra data area of VirtualBox.
    153153 *
    154  *  If an error occures while accessing extra data area, the method immediately
     154 *  If an error occurs while accessing extra data area, the method immediately
    155155 *  returns and the vbox argument will hold all error info (and therefore
    156156 *  vbox.isOk() will be false to indicate this).
    157157 *
    158  *  If an error occures while setting the value of some property, the method
     158 *  If an error occurs while setting the value of some property, the method
    159159 *  also returns immediately. #operator !() will return false in this case
    160160 *  and #lastError() will contain the error message.
     
    182182 *  Saves the settings to the (global) extra data area of VirtualBox.
    183183 *
    184  *  If an error occures while accessing extra data area, the method immediately
     184 *  If an error occurs while accessing extra data area, the method immediately
    185185 *  returns and the vbox argument will hold all error info (and therefore
    186186 *  vbox.isOk() will be false to indicate this).
     
    229229 *  validates the value against the property's regexp.
    230230 *
    231  *  If an error occures while setting the value of the property, #operator !()
     231 *  If an error occurs while setting the value of the property, #operator !()
    232232 *  will return false after this method returns true, and #lastError() will contain
    233233 *  the error message.
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxMedium.cpp

    r33300 r33540  
    6868
    6969/**
    70  * Queries the medium state. Call this and then read the state field instad
     70 * Queries the medium state. Call this and then read the state field instead
    7171 * of calling GetState() on medium directly as it will properly handle the
    7272 * situation when GetState() itself fails by setting state to Inaccessible
     
    261261                if (mResult.isOk())
    262262                {
    263                     /* Not Accessibile */
     263                    /* Not Accessible */
    264264                    mToolTip += mRow.arg ("<hr>") + mRow.arg (VBoxGlobal::highlight (mLastAccessError, true /* aToolTip */));
    265265                }
     
    365365 * of the hard disk. Note that if @a aNoDiffs is @c true, these properties are
    366366 * queried on the root hard disk of the given hard disk because the primary
    367  * purpose of the returned string is to be human readabile (so that seeing a
     367 * purpose of the returned string is to be human readable (so that seeing a
    368368 * complex diff hard disk name is usually not desirable).
    369369 *
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxMedium.h

    r30681 r33540  
    182182     * Returns @c true if this medium is attached to any VM (in the current
    183183     * state or in a snapshot) in which case #usage() will contain a string with
    184      * comma-sparated VM names (with snapshot names, if any, in parenthesis).
     184     * comma-separated VM names (with snapshot names, if any, in parenthesis).
    185185     */
    186186    bool isUsed() const { return !mUsage.isNull(); }
  • trunk/src/VBox/Frontends/VirtualBox/src/X11/XKeyboard-new.cpp

    r32984 r33540  
    247247 * Initialize X11 keyboard including the remapping specified in the
    248248 * global property GUI/RemapScancodes. This property is a string of
    249  * comma-seperated x=y pairs, where x is the X11 keycode and y is the
     249 * comma-separated x=y pairs, where x is the X11 keycode and y is the
    250250 * keyboard scancode that is emitted when the key attached to the X11
    251251 * keycode is pressed.
  • trunk/src/VBox/Frontends/VirtualBox/src/darwin/DarwinKeyboard.cpp

    r30122 r33540  
    646646
    647647    /*
    648      * Get the elements key and recursivly iterate the elements looking
     648     * Get the elements key and recursively iterate the elements looking
    649649     * for they key cookies.
    650650     */
     
    960960
    961961/**
    962  * Left / rigth adjust the modifier mask using the current
     962 * Left / right adjust the modifier mask using the current
    963963 * keyboard state.
    964964 *
  • trunk/src/VBox/Frontends/VirtualBox/src/darwin/UIWindowMenuManager.cpp

    r32789 r33540  
    3939        connect(m_pMinimizeAction, SIGNAL(triggered(bool)),
    4040                this, SLOT(minimizeActive(bool)));
    41         /* Make sure all already available windows are proberly registered on
     41        /* Make sure all already available windows are properly registered on
    4242         * this menu. */
    4343        for (int i=0; i < winList.size(); ++i)
  • trunk/src/VBox/Frontends/VirtualBox/src/darwin/UIWindowMenuManager.h

    r32789 r33540  
    2727class UIMenuHelper;
    2828
    29 /* Global forwad declarations */
     29/* Global forward declarations */
    3030class QMenu;
    3131
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonPress.cpp

    r30192 r33540  
    2828/** @class QIArrowButtonPress
    2929 *
    30  *  The QIArrowButtonPress class is an arrow tool-botton with text-label,
     30 *  The QIArrowButtonPress class is an arrow tool-button with text-label,
    3131 *  used as back/next buttons in QIMessageBox class.
    3232 *
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonPress.h

    r28800 r33540  
    2828/** @class QIArrowButtonPress
    2929 *
    30  *  The QIArrowButtonPress class is an arrow tool-botton with text-label,
     30 *  The QIArrowButtonPress class is an arrow tool-button with text-label,
    3131 *  used as back/next buttons in QIMessageBox class.
    3232 *
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonSwitch.cpp

    r30192 r33540  
    2828/** @class QIArrowButtonSwitch
    2929 *
    30  *  The QIArrowButtonSwitch class is an arrow tool-botton with text-label,
     30 *  The QIArrowButtonSwitch class is an arrow tool-button with text-label,
    3131 *  used as collaps/expand switch in QIMessageBox class.
    3232 *
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonSwitch.h

    r28800 r33540  
    2929/** @class QIArrowButtonSwitch
    3030 *
    31  *  The QIArrowButtonSwitch class is an arrow tool-botton with text-label,
     31 *  The QIArrowButtonSwitch class is an arrow tool-button with text-label,
    3232 *  used as collaps/expand switch in QIMessageBox class.
    3333 *
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIFileDialog.cpp

    r31196 r33540  
    220220 *
    221221 *  On Win32, this function makes sure a native dialog is launched in
    222  *  another thread to avoid dialog visualization errors occuring due to
     222 *  another thread to avoid dialog visualization errors occurring due to
    223223 *  multi-threaded COM apartment initialization on the main UI thread while
    224224 *  the appropriate native dialog function expects a single-threaded one.
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIHotKeyEdit.cpp

    r30114 r33540  
    162162 *  @note
    163163 *      The key value is platform-dependent. On Win32 it is the
    164  *      virtial key, on Linux it is the first (0) keysym corresponding
     164 *      virtual key, on Linux it is the first (0) keysym corresponding
    165165 *      to the keycode.
    166166 */
     
    174174/**@@ QIHotKeyEdit::key() const
    175175 *
    176  *  Returns the value of the last recodred hot key.
     176 *  Returns the value of the last recorded hot key.
    177177 *  O means there is no hot key.
    178178 *
    179179 *  @note
    180180 *      The key value is platform-dependent. On Win32 it is the
    181  *      virtial key, on Linux it is the first (0) keysym corresponding
     181 *      virtual key, on Linux it is the first (0) keysym corresponding
    182182 *      to the keycode.
    183183 */
     
    349349 *  @note
    350350 *      The key value is platform-dependent. On Win32 it is the
    351  *      virtial key, on Linux it is the first (0) keysym corresponding
     351 *      virtual key, on Linux it is the first (0) keysym corresponding
    352352 *      to the keycode.
    353353 */
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIHttp.h

    r28800 r33540  
    115115    }
    116116
    117     /* This method is doing effictevely the same as abort()
     117    /* This method is doing effectively the same as abort()
    118118     * but in its turn trying to do all after other things been done. */
    119119    void abortAll()
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QILabel.cpp

    r30868 r33540  
    3333#include <QStyleOptionFocusRect>
    3434
    35 /* Local inclused */
     35/* Local includes */
    3636#include "QILabel.h"
    3737
    38 /* Some constant predefines */
     38/* Some constant regular expressions */
    3939const QRegExp QILabel::mCopyRegExp = QRegExp ("<[^>]*>");
    4040QRegExp QILabel::mElideRegExp = QRegExp ("(<compact\\s+elipsis=\"(start|middle|end)\"?>([^<]*)</compact>)");
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIRichToolButton.h

    r28800 r33540  
    2727/** @class QIRichToolButton
    2828 *
    29  *  The QIRichToolButton class is a tool-botton with separate text-label.
     29 *  The QIRichToolButton class is a tool-button with separate text-label.
    3030 *
    3131 */
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIStateIndicator.cpp

    r28800 r33540  
    5555    setSizePolicy (QSizePolicy (QSizePolicy::Fixed, QSizePolicy::Fixed));
    5656
    57     /* we will precompose the pixmap background using the widget bacground in
    58      * drawContents(), so try to set the correct bacground origin for the
     57    /* we will precompose the pixmap background using the widget background in
     58     * drawContents(), so try to set the correct background origin for the
    5959     * case when a pixmap is used as a widget background. */
    6060//    if (aParent)
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/CIShared.h

    r28800 r33540  
    115115 *  Implicit sharing means that instances of the generated class point to the
    116116 *  same data object of the managed structure until any one of them tries
    117  *  to change it. When it happens that instane makes a deep copy of the object
     117 *  to change it. When it happens that instance makes a deep copy of the object
    118118 *  (through its copy constructor) and does the actual change on that copy,
    119119 *  keeping the original data unchanged. This technique is also called
     
    188188 *
    189189 *  If some members of the structure need to be private (and therefore
    190  *  unaccessible through the pointers returned by data() and vData()) you can
     190 *  inaccessible through the pointers returned by data() and vData()) you can
    191191 *  simply declare the wrapper class (the ACard class in the example above)
    192192 *  as a friend of the structure and still use the above approach.
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.cpp

    r30681 r33540  
    4949
    5050/**
    51  *  Internal class to asyncronously handle IPC events on the GUI thread
     51 *  Internal class to asynchronously handle IPC events on the GUI thread
    5252 *  using the event queue socket FD and QSocketNotifier.
    5353 */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.h

    r31819 r33540  
    620620 * called by the end-user client application.
    621621 *
    622  * @param  I    Interface class (i.e. IUnknown/nsISupports derivant).
     622 * @param  I    Interface class (i.e. derived from IUnknown/nsISupports).
    623623 * @param  B    Base class, either COMBase (by default) or COMBaseWithEI.
    624624 */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/COMWrappers.xsl

    r30867 r33540  
    912912 *        will apply)
    913913 *  @param define
    914  *      'yes' to procuce inlined definition outside the class
     914 *      'yes' to produce inlined definition outside the class
    915915 *      declaration, or
    916916 *      empty string to produce method declaration only (w/o body)
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h

    r31813 r33540  
    3030 * thread and later executed there. The second reason is, that the initiator
    3131 * method may hold a lock on a object which has to be manipulated in the event
    32  * consumer. Doing this without being asynchrony would lead to a dead lock. To
     32 * consumer. Doing this without being asynchronous would lead to a dead lock. To
    3333 * avoid both problems we send signals as a queued connection to the event
    3434 * consumer. Qt will create a event for us, place it in the main GUI event
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r33524 r33540  
    188188 *
    189189 *  Determines the rendering mode from the argument. Sets the appropriate
    190  *  default rendering mode if the argumen is NULL.
     190 *  default rendering mode if the argument is NULL.
    191191 */
    192192static VBoxDefs::RenderMode vboxGetRenderMode (const char *aModeStr)
     
    248248/** @class VBoxGlobal
    249249 *
    250  *  The VBoxGlobal class incapsulates the global VirtualBox data.
     250 *  The VBoxGlobal class encapsulates the global VirtualBox data.
    251251 *
    252252 *  There is only one instance of this class per VirtualBox application,
     
    377377
    378378    /* We don't assign gs to our gset member here, because VBoxCallback
    379      * will update gset as necessary when new settings are successfullly
     379     * will update gset as necessary when new settings are successfully
    380380     * sent to the VirtualBox server by gs.save(). */
    381381
     
    577577    Display* pDisplay = QX11Info::display();
    578578
    579     /* If thats Xinerama desktop: */
     579    /* If it's a Xinerama desktop: */
    580580    if (XineramaIsActive(pDisplay))
    581581    {
     
    698698    QDesktopWidget *pDesktopWidget = QApplication::desktop();
    699699
    700     /* If thats virtual desktop: */
     700    /* If it's a virtual desktop: */
    701701    if (pDesktopWidget->isVirtualDesktop())
    702702    {
    703         /* If thats Xinerama desktop: */
     703        /* If it's a Xinerama desktop: */
    704704        if (XineramaIsActive(pDisplay))
    705705        {
     
    13371337/**
    13381338 * Searches for the given hard disk in the list of known media descriptors and
    1339  * calls VBoxMedium::details() on the found desriptor.
    1340  *
    1341  * If the requeststed hard disk is not found (for example, it's a new hard disk
     1339 * calls VBoxMedium::details() on the found descriptor.
     1340 *
     1341 * If the requested hard disk is not found (for example, it's a new hard disk
    13421342 * for a new VM created outside our UI), then media enumeration is requested and
    1343  * the search is repeated. We assume that the secont attempt always succeeds and
     1343 * the search is repeated. We assume that the second attempt always succeeds and
    13441344 * assert otherwise.
    13451345 *
     
    22942294 * #currentMediaList()) is populated with all registered media and the
    22952295 * #mediumEnumStarted() signal is emitted. The enumeration thread then walks this
    2296  * list, checks for media acessiblity and emits #mediumEnumerated() signals of
     2296 * list, checks for media accessibility and emits #mediumEnumerated() signals of
    22972297 * each checked medium. When all media are checked, the enumeration thread is
    22982298 * stopped and the #mediumEnumFinished() signal is emitted.
     
    23042304 * <ol>
    23052305 *  <li>All hard disks. If a hard disk has children, these children
    2306  *      (alphabetically sorted) immediately follow their parent and terefore
     2306 *      (alphabetically sorted) immediately follow their parent and therefore
    23072307 *      appear before its next sibling hard disk.</li>
    23082308 *  <li>All CD/DVD images.</li>
     
    24012401void VBoxGlobal::addMedium (const VBoxMedium &aMedium)
    24022402{
    2403     /* Note that we maitain the same order here as #startEnumeratingMedia() */
     2403    /* Note that we maintain the same order here as #startEnumeratingMedia() */
    24042404
    24052405    VBoxMediaList::iterator it = mMediaList.begin();
     
    36493649 *    with green color;
    36503650 *  - replaces new line chars with </p><p> constructs to form paragraphs
    3651  *    (note that <p> and </p> are not appended to the beginnign and to the
     3651 *    (note that <p> and </p> are not appended to the beginning and to the
    36523652 *     end of the string respectively, to allow the result be appended
    36533653 *     or prepended to the existing paragraph).
     
    37163716 *    with italic style;
    37173717 *  - replaces new line chars with </p><p> constructs to form paragraphs
    3718  *    (note that <p> and </p> are not appended to the beginnign and to the
     3718 *    (note that <p> and </p> are not appended to the beginning and to the
    37193719 *     end of the string respectively, to allow the result be appended
    37203720 *     or prepended to the existing paragraph).
     
    38843884                                                    "_NET_WM_DESKTOP");
    38853885        if (desktop == NULL)
    3886             /* if the NetWM propery is not supported try to find the desktop
     3886            /* if the NetWM properly is not supported try to find the desktop
    38873887             * ID using the GNOME WM property */
    38883888            desktop = (CARD32 *) XXGetProperty (dpy, aWId, XA_CARDINAL,
     
    39313931
    39323932/**
    3933  *  Removes the acceletartor mark (the ampersand symbol) from the given string
     3933 *  Removes the accelerator mark (the ampersand symbol) from the given string
    39343934 *  and returns the result. The string is supposed to be a menu item's text
    39353935 *  that may (or may not) contain the accelerator mark.
     
    39413941 *  removed from the string.
    39423942 *
    3943  *  @note This function removes only the first occurense of the accelerator
     3943 *  @note This function removes only the first occurrence of the accelerator
    39443944 *  mark.
    39453945 *
    3946  *  @param aText Menu item's text to remove the acceletaror mark from.
     3946 *  @param aText Menu item's text to remove the accelerator mark from.
    39473947 *
    39483948 *  @return The resulting string.
     
    40494049
    40504050    /* Find the first children of aParent with the appropriate properties.
    4051      * Please note that this call is recursivly. */
     4051     * Please note that this call is recursively. */
    40524052    QList<QWidget *> list = qFindChildren<QWidget *> (aParent, aName);
    40534053    foreach(QWidget *child, list)
     
    51595159            action->setCheckable (true);
    51605160            mUSBDevicesMap [action] = usb;
    5161             /* check if created item was alread attached to this session */
     5161            /* check if created item was already attached to this session */
    51625162            if (!mConsole.isNull())
    51635163            {
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h

    r33524 r33540  
    536536    /**
    537537     * Returns a list of all currently registered media. This list is used to
    538      * globally track the accessiblity state of all media on a dedicated thread.
     538     * globally track the accessibility state of all media on a dedicated thread.
    539539     *
    540540     * Note that the media list is initially empty (i.e. before the enumeration
     
    824824////////////////////////////////////////////////////////////////////////////////
    825825
    826 /* Generic asyncronous event.
    827  * This abstract class is intended to provide a conveinent way
     826/* Generic asynchronous event.
     827 * This abstract class is intended to provide a convenient way
    828828 * to execute code on the main GUI thread asynchronously to the calling party.
    829829 * This is done by putting necessary actions to the handle() function
     
    853853};
    854854
    855 /* Asyncronous event poster.
     855/* Asynchronous event poster.
    856856 * This class is used to post async event into VBoxGlobal event handler
    857857 * taking into account delay set during async event creation procedure. */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp

    r33492 r33540  
    7575    /* Check if at least one warning is alive!
    7676     * All warnings are stored in m_warnings list as live pointers,
    77      * thats why if some warning was deleted from another place,
    78      * it's pointer here become equal NULL... */
     77     * this is why if some warning was deleted from another place,
     78     * its pointer here will equal NULL... */
    7979    for (int i = 0; i < m_warnings.size(); ++i)
    8080        if (m_warnings[i])
     
    131131 *      title and icon.
    132132 *  @param  aMessage
    133  *      Message text to display (can contain sinmple Qt-html tags).
     133 *      Message text to display (can contain simple Qt-html tags).
    134134 *  @param  aDetails
    135135 *      Detailed message description displayed under the main message text using
     
    20802080 * Exit the application leaving all as already is.
    20812081 *
    2082  * @param aFileList      List of files for auto-convertion (may use Qt HTML).
     2082 * @param aFileList      List of files for auto-conversion (may use Qt HTML).
    20832083 * @param aAfterRefresh  @true when called after the VM refresh.
    20842084 *
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.h

    r33492 r33540  
    4141 * appropriate).
    4242 *
    43  * Every problem sutiation has its own (correspondingly named) method in this
     43 * Every problem situation has its own (correspondingly named) method in this
    4444 * class that takes a list of arguments necessary to describe the situation and
    4545 * to provide the appropriate actions. The method then returns the choice to the
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r30114 r33540  
    6666#include <cstdio>
    6767
    68 /* XXX Temporarily. Don't rely on ther user to hack the Makefile himsef! */
     68/* XXX Temporarily. Don't rely on the user to hack the Makefile himself! */
    6969QString g_QStrHintLinuxNoMemory = QApplication::tr(
    7070  "This error means that the kernel driver was either not able to "
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferDirectDraw.cpp

    r28800 r33540  
    306306 * theoretically also fail.
    307307 *
    308  * @note Deletes the existing surface before attemting to create a new one.
     308 * @note Deletes the existing surface before attempting to create a new one.
    309309 */
    310310bool VBoxDDRAWFrameBuffer::createSurface (ULONG aPixelFormat, uchar *aVRAM,
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r32196 r33540  
    171171         * instead of XGrabKeyboard (called by QWidget::grabKeyboard())
    172172         * because XGrabKeyboard causes a problem under metacity - a window cannot be moved
    173          * using the mouse if it is currently actively grabing the keyboard;
     173         * using the mouse if it is currently actively grabbing the keyboard;
    174174         * For static modes we are using usual (active) keyboard grabbing. */
    175175        switch (machineLogic()->visualStateType())
     
    229229         * instead of XGrabKeyboard (called by QWidget::grabKeyboard())
    230230         * because XGrabKeyboard causes a problem under metacity - a window cannot be moved
    231          * using the mouse if it is currently actively grabing the keyboard;
     231         * using the mouse if it is currently actively grabbing the keyboard;
    232232         * For static modes we are using usual (active) keyboard grabbing. */
    233233        switch (machineLogic()->visualStateType())
     
    361361                 * keyboard is captured, we don't want to pass it to Windows. We just want
    362362                 * to let Qt process the message (to handle non-alphanumeric <HOST>+key
    363                  * shortcuts for example). So send it direcltly to the window with the
     363                 * shortcuts for example). So send it directly to the window with the
    364364                 * special flag in the reserved area of lParam (to avoid recursion). */
    365365                ::SendMessage(pMsg->hwnd, pMsg->message,
     
    10741074                 * the Host Key. Note that it's always possible to send C-A-D
    10751075                 * to the guest using the Host+Del combination. BTW, it would
    1076                  * be preferrable to completely ignore C-A-D in guests, but
     1076                 * be preferable to completely ignore C-A-D in guests, but
    10771077                 * that's not possible because we cannot predict what other
    10781078                 * keys will be pressed next when one of C, A, D is held. */
     
    11781178                                uisession()->setAutoCaptureDisabled(false);
    11791179                            /* Otherwise, the disable flag will be reset in
    1180                              * the next console view's foucs in event (since
     1180                             * the next console view's focus in event (since
    11811181                             * may happen asynchronously on some platforms,
    11821182                             * after we return from this code) */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.cpp

    r32296 r33540  
    526526         * more than one visual representation mode flags. Shame on such user!
    527527         * There is no reason to enter in more than one visual representation mode
    528          * at machine start, so we are chosing first of requested modes: */
     528         * at machine start, so we are choosing first of requested modes: */
    529529        bool fIsSomeExtendedModeChosen = false;
    530530
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r33386 r33540  
    13771377            pMenu->addAction(attachUSBAction);
    13781378
    1379             /* Check if that USB device was alread attached to this session: */
     1379            /* Check if that USB device was already attached to this session: */
    13801380            CConsole console = session().GetConsole();
    13811381            CUSBDevice attachedDevice = console.FindUSBDeviceById(device.GetId());
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h

    r33386 r33540  
    153153private slots:
    154154
    155     /* "Machine" menu funtionality */
     155    /* "Machine" menu functionality */
    156156    void sltToggleGuestAutoresize(bool fEnabled);
    157157    void sltAdjustWindow();
     
    168168    void sltClose();
    169169
    170     /* "Device" menu funtionality */
     170    /* "Device" menu functionality */
    171171    void sltPrepareStorageMenu();
    172172    void sltMountStorageMedium();
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp

    r32483 r33540  
    8282
    8383    /* First close any open modal & popup widgets.
    84      * Use a single shot with timeout 0 to allow the widgets to cleany close and test then again.
     84     * Use a single shot with timeout 0 to allow the widgets to cleanly close and test then again.
    8585     * If all open widgets are closed destroy ourself: */
    8686    QWidget *widget = QApplication::activeModalWidget() ?
     
    250250            QRadioButton *pRadioButton = 0;
    251251
    252             /* If chosing 'last choice' is possible: */
     252            /* If choosing 'last choice' is possible: */
    253253            if (lastAction[0] == strSave && fIsStateSavingAllowed)
    254254            {
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp

    r30911 r33540  
    427427    if (QWidget *pWatchedWidget = qobject_cast<QWidget*>(pWatched))
    428428    {
    429         /* If thats machine-view-viewport: */
     429        /* If it's a machine-view-viewport: */
    430430        if (m_viewports.values().contains(pWatchedWidget))
    431431        {
     
    550550        else if (UIMachineView *pWatchedMachineView = qobject_cast<UIMachineView*>(pWatchedWidget))
    551551        {
    552             /* If thats machine-view itself => handle machine-view events: */
     552            /* If it's a machine-view itself => handle machine-view events: */
    553553            if (m_views.values().contains(pWatchedMachineView))
    554554            {
     
    800800                    if (autoConfirmed)
    801801                        uisession()->setAutoCaptureDisabled(false);
    802                     /* Otherwise, the disable flag will be reset in the next console view's foucs in event (since
     802                    /* Otherwise, the disable flag will be reset in the next console view's focus in event (since
    803803                     * may happen asynchronously on some platforms, after we return from this code): */
    804804                    if (ok)
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r33492 r33540  
    1818 */
    1919
    20 /* Global inclues */
     20/* Global includes */
    2121#include <QApplication>
    2222#include <QWidget>
     
    478478void UISession::sltCloseVirtualSession()
    479479{
    480     /* Recursevely close all the usual modal & popup widgets... */
     480    /* Recursively close all the usual modal & popup widgets... */
    481481    QWidget *widget = QApplication::activeModalWidget() ?
    482482                      QApplication::activeModalWidget() :
     
    490490    }
    491491
    492     /* Recursevely close all the opened warnings... */
     492    /* Recursively close all the opened warnings... */
    493493    if (vboxProblem().isAnyWarningShown())
    494494    {
     
    645645        QString strSettings;
    646646
    647         /* Is there shoul be First RUN Wizard? */
     647        /* Is there should be First RUN Wizard? */
    648648        strSettings = machine.GetExtraData(VBoxDefs::GUI_FirstRun);
    649649        if (strSettings == "yes")
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineWindowSeamless.cpp

    r31866 r33540  
    460460        // /* We repaint the screen before the ReshapeCustomWindow command. Unfortunately
    461461        //  * this command flushes a copy of the backbuffer to the screen after the new
    462         //  * mask is set. This leads into a missplaced drawing of the content. Currently
     462        //  * mask is set. This leads into a misplaced drawing of the content. Currently
    463463        //  * no alternative to this and also this is not 100% perfect. */
    464464        // repaint();
    465465        // qApp->processEvents();
    466         // /* Now force the reshaping of the window. This is definitly necessary. */
     466        // /* Now force the reshaping of the window. This is definitely necessary. */
    467467        // ReshapeCustomWindow (reinterpret_cast <WindowPtr> (winId()));
    468468        QMainWindow::setMask(region);
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMItem.cpp

    r31240 r33540  
    338338    HWND hwnd = mWinId;
    339339
    340     /* if there are ownees (modal and modeless dialogs, etc), find the
     340    /* if there are blockers (modal and modeless dialogs, etc), find the
    341341     * topmost one */
    342342    HWND hwndAbove = NULL;
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMListView.cpp

    r31496 r33540  
    528528     * The same count for doing composition on a QPixmap. The work around is to
    529529     * draw all into a QPixmap (also the background color/gradient, otherwise
    530      * the antialiasing is messed up), bliting this into a QImage to make the
    531      * composition stuff and finally bliting this QImage into the QWidget.
     530     * the antialiasing is messed up), blitting this into a QImage to make the
     531     * composition stuff and finally blitting this QImage into the QWidget.
    532532     * Yipi a yeah. Btw, no problem on Linux at all. */
    533533    QPixmap basePixmap(r.width(), r.height());//
     
    627627    const int nameSpaceWidth = fontMetric(aIndex, Qt::FontRole).width(' ');
    628628    const int stateSpaceWidth = fontMetric(aIndex, UIVMItemModel::MachineStateFontRole).width(' ');
    629     /* Really basic layout managment.
     629    /* Really basic layout management.
    630630     * First layout as usual */
    631631    aOSType->moveTo(m_Margin, m_Margin);
     
    641641    QRectList allLayout;
    642642    allLayout << aOSType << aVMName << aShot << statesLayout;
    643     /* Now verticaly center the items based on the reference item */
     643    /* Now vertically center the items based on the reference item */
    644644    statesLayout.alignVCenterTo(aStateIcon);
    645645    allLayout.alignVCenterTo(aOSType);
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMPreviewWindow.cpp

    r33323 r33540  
    411411    m_vRect = m_wRect.adjusted(m_vMargin, m_vMargin, -m_vMargin, -m_vMargin).adjusted(-3, -3, 3, 3);
    412412
    413     /* First draw the shadow. Its a rounded rectangle which get blured. */
     413    /* First draw the shadow. Its a rounded rectangle which get blurred. */
    414414    QImage imageW(cr.size(), QImage::Format_ARGB32);
    415415    QColor bg = pal.color(QPalette::Base);
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSelectorWnd.cpp

    r33294 r33540  
    14131413            mVMModel->sort();
    14141414            /* Make sure the description, ... pages are properly updated.
    1415              * Actualy we haven't call the next method, but unfortunately Qt
     1415             * Actually we haven't call the next method, but unfortunately Qt
    14161416             * seems buggy if the new item is on the same position as the
    14171417             * previous one. So go on the safe side and call this by our self. */
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSnapshotsWgt.cpp

    r33300 r33540  
    467467                                       && mCurSnapshotItem && item && !item->isCurrentStateItem());
    468468
    469     /* Enable/disable the details action regardles of the session state */
     469    /* Enable/disable the details action regardless of the session state */
    470470    mShowSnapshotDetailsAction->setEnabled (mCurSnapshotItem && item && !item->isCurrentStateItem());
    471471
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialog.cpp

    r32814 r33540  
    443443    }
    444444
    445     /* Base-class proessing: */
     445    /* Base-class processing: */
    446446    return QIMainDialog::eventFilter(pObject, pEvent);
    447447}
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.h

    r32667 r33540  
    2424#include "UISettingsDialog.h"
    2525
    26 /* Dialog which encapsulate all the specific funtionalities of the Global Settings */
     26/* Dialog which encapsulate all the specific functionalities of the Global Settings */
    2727class UIGLSettingsDlg : public UISettingsDialog
    2828{
     
    5858};
    5959
    60 /* Dialog which encapsulate all the specific funtionalities of the Virtual Machine Settings */
     60/* Dialog which encapsulate all the specific functionalities of the Virtual Machine Settings */
    6161class UIVMSettingsDlg : public UISettingsDialog
    6262{
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsHD.cpp

    r32814 r33540  
    15351535    QItemDelegate::drawBackground (aPainter, aOption, aIndex);
    15361536
    1537     /* Setup foregroung settings */
     1537    /* Setup foreground settings */
    15381538    QPalette::ColorGroup cg = state & QStyle::State_Active ? QPalette::Active : QPalette::Inactive;
    15391539    bool isSelected = state & QStyle::State_Selected;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsHD.h

    r32814 r33540  
    3636#include "COMDefs.h"
    3737
    38 /* Local forwardes */
     38/* Local forwards */
    3939class AttachmentItem;
    4040class ControllerItem;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.h

    r32814 r33540  
    2626#include "VBoxVMSettingsPortForwardingDlg.h"
    2727
    28 /* VBox Forwardes */
     28/* VBox Forwards */
    2929class VBoxVMSettingsNetworkPage;
    3030class QITabWidget;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsPortForwardingDlg.cpp

    r32760 r33540  
    666666    setWindowTitle(tr("Port Forwarding Rules"));
    667667
    668     /* Table trnslations: */
     668    /* Table translations: */
    669669    m_pTableView->setWhatsThis(tr("This table contains a list of port forwarding rules."));
    670670
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIDownloaderUserManual.cpp

    r28800 r33540  
    152152            /* If user reject to set save point: */
    153153            if (target.isNull())
    154                 /* Just close the downloder: */
     154                /* Just close the downloader: */
    155155                QTimer::singleShot(0, this, SLOT(suicide()));
    156156            /* If user set correct save point: */
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxFilePathSelectorWidget.cpp

    r30192 r33540  
    213213 * May be used in @c activated() signal handlers to distinguish between
    214214 * non-path items like "Other..." or "Reset" that get temporarily activated
    215  * when performing the corresponding actiojn and the item that contains a
     215 * when performing the corresponding action and the item that contains a
    216216 * real selected file/folder path.
    217217 */
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxMediaComboBox.cpp

    r28800 r33540  
    275275        /* We are adding the direct machine diff in !mShowDiffs mode. Since its
    276276         * base hard disk has been already appended (enumerated before), we want
    277          * to replace the base with the diff to avoid shownig both (both would
     277         * to replace the base with the diff to avoid showing both (both would
    278278         * be labeled using the base filename and therefore look like
    279279         * duplicates). Note though that these visual duplicates are still
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxMiniToolBar.h

    r32760 r33540  
    114114    Alignment m_alignment;
    115115
    116     /* Wether to animate showing/hiding the toolbar */
     116    /* Whether to animate showing/hiding the toolbar */
    117117    bool m_fAnimated;
    118118
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIExportApplianceWzd.cpp

    r33438 r33540  
    143143void UIExportApplianceWzdPage1::cleanupPage()
    144144{
    145     /* Do NOT call superclass method, it will clean defailt (initially set) field - 'selectedVMName'! */
     145    /* Do NOT call superclass method, it will clean default (initially set) field - 'selectedVMName'! */
    146146}
    147147
     
    473473void UIExportApplianceWzdPage4::cleanupPage()
    474474{
    475     /* Do NOT call superclass method, it will clean defailt (initially set) field - 'applianceWidget'! */
     475    /* Do NOT call superclass method, it will clean default (initially set) field - 'applianceWidget'! */
    476476}
    477477
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/registration/UIRegistrationWzd.cpp

    r29730 r33540  
    479479
    480480    m_pLeOldEmail->setMaxLength(50);
    481     /* New accounts *must* have a valid email as user name. Thats not the case
     481    /* New accounts *must* have a valid email as user name. This not the case
    482482     * for old existing accounts. So we don't force the email format, so that
    483483     * old accounts could be used for registration also. */
Note: See TracChangeset for help on using the changeset viewer.

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