VirtualBox

Changeset 568 in vbox for trunk


Ignore:
Timestamp:
Feb 2, 2007 6:02:58 PM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Attempt to fix build warnings and errors on rhel3 (oldish gcc 3.2.3).

Location:
trunk/src/VBox/Frontends/VirtualBox/ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxDiskImageManagerDlg.ui

    r563 r568  
    517517    <include location="local" impldecl="in declaration">VBoxGlobal.h</include>
    518518    <include location="local" impldecl="in declaration">VBoxProblemReporter.h</include>
     519    <include location="local" impldecl="in implementation">VBoxDefs.h</include>
    519520    <include location="local" impldecl="in implementation">VBoxNewHDWzd.h</include>
    520521    <include location="local" impldecl="in implementation">VBoxToolBar.h</include>
     
    597598    <function access="private">done( int )</function>
    598599    <function access="private" returnType="DiskImageItem*">searchItem( QListView*, const QUuid &amp; )</function>
    599     <function specifier="non virtual" access="private" returnType="QString">static getDVDImageUsage( const QUuid &amp; id )</function>
    600     <function specifier="non virtual" access="private" returnType="QString">static getFloppyImageUsage( const QUuid &amp; id )</function>
     600    <function specifier="static" access="private" returnType="QString">getDVDImageUsage( const QUuid &amp; id )</function>
     601    <function specifier="static" access="private" returnType="QString">getFloppyImageUsage( const QUuid &amp; id )</function>
    601602    <function access="private" returnType="bool">checkImage( DiskImageItem* item )</function>
    602603    <function access="private">releaseDisk( QUuid machineId, QUuid itemId, VBoxDefs::DiskType diskType )</function>
     
    608609    <function returnType="bool">eventFilter( QObject *, QEvent * )</function>
    609610    <function access="private">addDroppedImages( QStringList* )</function>
    610     <function access="private">addImageToList( QString aSource, VBoxDefs::DiskType aDiskType )</function>
     611    <function access="private">addImageToList( const QString &amp; aSource, VBoxDefs::DiskType aDiskType )</function>
    611612    <function access="private" returnType="DiskImageItem*">createImageNode( QListView *aList, DiskImageItem *aRoot )</function>
    612613    <function access="private">updateHdItem( DiskImageItem*, const VBoxMedia &amp; )</function>
     
    621622    <function access="protected">keyPressEvent( QKeyEvent* )</function>
    622623    <function access="protected">closeEvent( QCloseEvent* )</function>
    623     <function access="protected" returnType="QIRichLabel*">createInfoString( QString, QWidget*, int, int )</function>
     624    <function access="protected" returnType="QIRichLabel*">createInfoString( const QString &amp;, QWidget*, int, int )</function>
    624625    <function access="protected" returnType="QPushButton*">searchDefaultButton()</function>
    625626    <function access="protected">setCurrentItem( QListView*, QListViewItem* )</function>
    626     <function specifier="non virtual">static showModeless( bool aRefresh = true )</function>
    627     <function specifier="non virtual" returnType="QString">static composeHdToolTip( CHardDisk &amp;, VBoxMedia::Status = VBoxMedia::Ok )</function>
    628     <function specifier="non virtual" returnType="QString">static composeCdToolTip( CDVDImage &amp;, VBoxMedia::Status = VBoxMedia::Ok )</function>
    629     <function specifier="non virtual" returnType="QString">static composeFdToolTip( CFloppyImage &amp;, VBoxMedia::Status = VBoxMedia::Ok )</function>
     627    <function specifier="static"> showModeless( bool aRefresh = true )</function>
     628    <function specifier="static" returnType="QString">composeHdToolTip( CHardDisk &amp;, VBoxMedia::Status = VBoxMedia::Ok )</function>
     629    <function specifier="static" returnType="QString">composeCdToolTip( CDVDImage &amp;, VBoxMedia::Status = VBoxMedia::Ok )</function>
     630    <function specifier="static" returnType="QString">composeFdToolTip( CFloppyImage &amp;, VBoxMedia::Status = VBoxMedia::Ok )</function>
    630631    <function access="protected">prepareToRefresh( int aTotal = 0 )</function>
    631632</functions>
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxDiskImageManagerDlg.ui.h

    r565 r568  
    394394
    395395
    396 QIRichLabel *VBoxDiskImageManagerDlg::createInfoString (QString name, QWidget *root, int row, int column)
     396QIRichLabel *VBoxDiskImageManagerDlg::createInfoString (const QString &name, QWidget *root, int row, int column)
    397397{
    398398    QLabel *nameLabel = new QLabel (name, root, "nameLabel");
     
    679679
    680680
    681 void VBoxDiskImageManagerDlg::addImageToList (QString aSource,
     681void VBoxDiskImageManagerDlg::addImageToList (const QString &aSource,
    682682                                              VBoxDefs::DiskType aDiskType)
    683683{
     
    11881188            subHd.isOk() ? VBoxMedia::Inaccessible :
    11891189            VBoxMedia::Error;
    1190         const VBoxMedia media (CUnknown (subHd), VBoxDefs::HD, status);
     1190        VBoxMedia media (CUnknown (subHd), VBoxDefs::HD, status);
    11911191        createHdItem (0, aRoot, media);
    11921192    }
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