VirtualBox

Ignore:
Timestamp:
Jan 18, 2007 6:53:45 PM (18 years ago)
Author:
vboxsync
Message:

FE/Qt:

  • VBoxGlobal::parseSize()/formatSize(): Don't use double when parsing sizes and formatting them to human-readable forms for better rounding control.
  • Added VBoxGlobal::decimalSep() and sizeRegexp().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h

    r1 r168  
    324324                              bool aCanResize = true);
    325325
    326     static unsigned long long parseSize (QString);
    327     static QString formatSize (unsigned long long);
     326    static QChar decimalSep();
     327    static QString sizeRegexp();
     328
     329    static Q_UINT64 parseSize (const QString &);
     330    static QString formatSize (Q_UINT64, int aMode = 0);
    328331
    329332signals:
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