VirtualBox

Changeset 26502 in vbox


Ignore:
Timestamp:
Feb 14, 2010 8:29:01 AM (15 years ago)
Author:
vboxsync
Message:

Frontends: whitespace cleanup.

Location:
trunk
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/.scm-settings

    r26501 r26502  
    4343--filter-out-dirs  "*/src/libs/."
    4444--filter-out-dirs  "*/src/apps/."
    45 --filter-out-dirs  "*/src/VBox/Frontends/."
    4645--filter-out-dirs  "*/src/VBox/Additions/x11/x11include/."
    4746--filter-out-dirs  "*/src/VBox/Additions/WINNT/Graphics/Wine/."
  • trunk/src/VBox/Frontends/VBoxBFE/HGCMObjects.h

    r8155 r26502  
    7878
    7979            Log(("Dereference: refCnt = %d\n", refCnt));
    80            
     80
    8181            AssertRelease(refCnt >= 0);
    8282
  • trunk/src/VBox/Frontends/VBoxBFE/Makefile.kmk

    r23452 r26502  
    172172include $(KBUILD_PATH)/subfooter.kmk
    173173
    174 
  • trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp

    r20850 r26502  
    16321632}
    16331633
    1634 
  • trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.h

    r8155 r26502  
    3232// damn SDL redefines main!
    3333#undef main
    34 #endif 
     34#endif
    3535
    3636#include "ConsoleImpl.h"
  • trunk/src/VBox/Frontends/VBoxShell/vboxinfo.vbs

    r21569 r26502  
    1717Sub Print(str)
    1818   Wscript.Echo str
    19 End Sub 
     19End Sub
    2020
    2121Sub StartVm(vb, mach)
    2222  Dim session, progress
    23  
     23
    2424  Set session = CreateObject("VirtualBox.Session")
    2525  Set progress = vb.openRemoteSession(session, mach.id, "gui", "")
     
    3131Sub StopVm(vb, mach)
    3232  Dim session, progress
    33  
     33
    3434  Set session = CreateObject("VirtualBox.Session")
    3535  vb.openExistingSession session, mach.id
     
    4141Sub Main
    4242   Dim vb, mach
    43  
     43
    4444   set vb = CreateObject("VirtualBox.VirtualBox")
    4545   Print "VirtualBox version " & vb.version
    4646
    47    ' Safe arrays not fully functional from Visual Basic Script, as we 
     47   ' Safe arrays not fully functional from Visual Basic Script, as we
    4848   ' return real safe arrays, not ones wrapped to VARIANT and VBS engine
    4949   ' gets confused. Until then, explicitly find VM by name.
    50    ' May wish to use hack like one described in 
     50   ' May wish to use hack like one described in
    5151   ' http://www.tech-archive.net/Archive/Excel/microsoft.public.excel.programming/2006-05/msg02796.html to handle safearrays
    5252   ' if desperate
     
    5454   Set mach = vb.findMachine("Win")
    5555   Print "Machine: " & mach.name  & " ID: " & mach.id
    56    
     56
    5757   StartVm vb, mach
    5858End Sub
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h

    r25583 r26502  
    17801780
    17811781    int resetGl();
    1782        
     1782
    17831783    void initGl();
    17841784
  • trunk/src/VBox/Frontends/VirtualBox/src/X11/VBoxX11Helper.cpp

    r26469 r26502  
    102102    Atom propNameAtom;
    103103    Window WMWindow = None;
    104    
     104
    105105    propNameAtom = XInternAtom(display, "_NET_SUPPORTING_WM_CHECK", True);
    106106    if (XGetWindowProperty(display, QX11Info::appRootWindow(), propNameAtom,
  • trunk/src/VBox/Frontends/VirtualBox/src/X11/XKeyboard-new.cpp

    r21711 r26502  
    244244}
    245245
    246 /** 
     246/**
    247247 * Initialize X11 keyboard including the remapping specified in the
    248248 * global property GUI/RemapScancodes. This property is a string of
     
    265265            /* Do not advance on (ignore) identity mappings as this is
    266266               the stop signal to initXKeyboard and friends */
    267             if((*scancodesTail)[0] != (*scancodesTail)[1]) 
     267            if((*scancodesTail)[0] != (*scancodesTail)[1])
    268268                scancodesTail++;
    269269        }
    270270        (*scancodesTail)[0] = (*scancodesTail)[1] = 0;
    271     } 
     271    }
    272272    /* initialize the X keyboard subsystem */
    273273    initXKeyboard (pDisplay ,scancodes);
  • trunk/src/VBox/Frontends/VirtualBox/src/X11/keyboard-tables.h

    r23040 r26502  
    8383    /* Sun Menu, additional Japanese keys */
    8484#ifdef sun
    85     0x15d, 0x79, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00,             /* FF20 */ 
    86     0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,              /* FF28 */ 
     85    0x15d, 0x79, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00,             /* FF20 */
     86    0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,              /* FF28 */
    8787#else
    8888    0x15d, 0x00, 0x7b, 0x79, 0x00, 0x00, 0x00, 0x70,             /* FF20 */
  • trunk/src/VBox/Frontends/VirtualBox/src/darwin/DarwinKeyboard.cpp

    r24231 r26502  
    295295#ifdef USE_HID_FOR_MODIFIERS
    296296static void darwinBruteForcePropertySearch(CFDictionaryRef DictRef, struct KeyboardCacheData *pKeyboardEntry);
    297 #endif 
     297#endif
    298298
    299299
  • trunk/src/VBox/Frontends/VirtualBox/src/darwin/VBoxAquaStyle.cpp

    r8155 r26502  
    5252
    5353/**
    54  * The main purpose here is to make sure the global 
     54 * The main purpose here is to make sure the global
    5555 * instance doesn't die on us.
    5656 */
     
    155155}
    156156
    157 void VBoxAquaStyle::drawPrimitive( PrimitiveElement pe, QPainter *p, const QRect &r, const QColorGroup &cg, 
     157void VBoxAquaStyle::drawPrimitive( PrimitiveElement pe, QPainter *p, const QRect &r, const QColorGroup &cg,
    158158                                   SFlags flags/* = Style_Default*/, const QStyleOption &foo/* = QStyleOption::Default*/ ) const
    159159{
     
    195195}
    196196
    197 int VBoxAquaStyle::styleHint( StyleHint stylehint, const QWidget *widget/* = 0*/, 
     197int VBoxAquaStyle::styleHint( StyleHint stylehint, const QWidget *widget/* = 0*/,
    198198                              const QStyleOption &foo/* = QStyleOption::Default*/,
    199199                              QStyleHintReturn* returnData/* = 0*/) const
     
    230230}
    231231
    232 
  • trunk/src/VBox/Frontends/VirtualBox/src/darwin/tstDarwinKeyboard.cpp

    r8155 r26502  
    9090    const uint64_t u64Elapsed = RTTimeNanoTS() - u64Start;
    9191    RTPrintf("\n"
    92              "tstDarwinKeyboard: %u times in %RU64 ms - %RU64 ms per call\n", 
     92             "tstDarwinKeyboard: %u times in %RU64 ms - %RU64 ms per call\n",
    9393             i, u64Elapsed / 1000000, (u64Elapsed / i) / 1000000);
    9494    RTPrintf("tstDarwinKeyboard: DarwinGrabKeyboard: %RU64 ms total - %RU64 ms per call\n",
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIListView.cpp

    r25177 r26502  
    6969/* VBoxVMItemPainter class */
    7070
    71 void QIItemDelegate::drawBackground (QPainter *aPainter, const QStyleOptionViewItem &aOption, 
     71void QIItemDelegate::drawBackground (QPainter *aPainter, const QStyleOptionViewItem &aOption,
    7272                                        const QModelIndex &aIndex) const
    73 {   
     73{
    7474#if MAC_LEOPARD_STYLE
    7575    NOREF (aIndex);
    7676    /* Macify for Leopard */
    7777    if (aOption.state & QStyle::State_Selected)
    78     {   
     78    {
    7979        /* Standard color for selected items and focus on the widget */
    8080        QColor topLineColor (69, 128, 200);
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIListView.h

    r25177 r26502  
    3737protected slots:
    3838    void focusChanged (QWidget *aOld, QWidget *aNow);
    39 }; 
     39};
    4040
    4141class QIItemDelegate: public QItemDelegate
     
    4646
    4747protected:
    48     void drawBackground (QPainter *aPainter, const QStyleOptionViewItem &aOption, 
     48    void drawBackground (QPainter *aPainter, const QStyleOptionViewItem &aOption,
    4949                         const QModelIndex &aIndex) const;
    5050};
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/QIWithRetranslateUI.h

    r25177 r26502  
    4949                break;
    5050            }
    51             default: 
     51            default:
    5252                break;
    5353        }
     
    6363
    6464    QIWithRetranslateUI2 (QWidget *aParent = 0, Qt::WindowFlags aFlags = 0) : Base (aParent, aFlags) {}
    65    
     65
    6666protected:
    6767
     
    7777                break;
    7878            }
    79             default: 
     79            default:
    8080                break;
    8181        }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsUSB.h

    r25177 r26502  
    4444    };
    4545
    46     enum RemoteMode 
     46    enum RemoteMode
    4747    {
    4848        ModeAny = 0,
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