VirtualBox

Changeset 17160 in vbox


Ignore:
Timestamp:
Feb 26, 2009 12:34:47 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: removed "unused" warnings

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxDownloaderWgt.cpp

    r14274 r17160  
    7777
    7878/* This function is used to store content length */
    79 void VBoxDownloaderWgt::acknowledgeProcess (const QHttpResponseHeader &aResponse)
     79void VBoxDownloaderWgt::acknowledgeProcess (const QHttpResponseHeader & /* aResponse */)
    8080{
    8181    /* Abort connection as we already got all we need */
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp

    r17075 r17160  
    38933893/* static */
    38943894QRect VBoxGlobal::getNormalized (const QRect &aRectangle, const QRegion &aBoundRegion,
    3895                                  bool aCanResize /* = true */)
     3895                                 bool /* aCanResize = true */)
    38963896{
    38973897    /* Storing available horizontal sub-rectangles & vertical shifts */
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxImportApplianceWgt.cpp

    r17075 r17160  
    122122    int columnCount() const { return 3; }
    123123
    124     virtual Qt::ItemFlags itemFlags (int aColumn) const { return 0; }
    125     virtual bool setData (int aColumn, const QVariant &aValue, int aRole) { return false; }
    126     virtual QVariant data (int aColumn, int aRole) const { return QVariant(); }
    127     virtual QWidget * createEditor (QWidget *aParent, const QStyleOptionViewItem &aOption, const QModelIndex &aIndex) const { return NULL; }
    128     virtual bool setEditorData (QWidget *aEditor, const QModelIndex &aIndex) const { return false; }
    129     virtual bool setModelData (QWidget *aEditor, QAbstractItemModel *aModel, const QModelIndex &aIndex) { return false; }
     124    virtual Qt::ItemFlags itemFlags (int /* aColumn */) const { return 0; }
     125    virtual bool setData (int /* aColumn */, const QVariant & /* aValue */, int /* aRole */) { return false; }
     126    virtual QVariant data (int /* aColumn */, int /* aRole */) const { return QVariant(); }
     127    virtual QWidget * createEditor (QWidget * /* aParent */, const QStyleOptionViewItem & /* aOption */, const QModelIndex & /* aIndex */) const { return NULL; }
     128    virtual bool setEditorData (QWidget * /* aEditor */, const QModelIndex & /* aIndex */) const { return false; }
     129    virtual bool setModelData (QWidget * /* aEditor */, QAbstractItemModel * /* aModel */, const QModelIndex & /* aIndex */) { return false; }
    130130
    131131    virtual void restoreDefaults() {}
     
    381381    }
    382382
    383     virtual QWidget * createEditor (QWidget *aParent, const QStyleOptionViewItem &aOption, const QModelIndex &aIndex) const
     383    virtual QWidget * createEditor (QWidget *aParent, const QStyleOptionViewItem & /* aOption */, const QModelIndex &aIndex) const
    384384    {
    385385        QWidget *editor = NULL;
     
    466466    }
    467467
    468     virtual bool setEditorData (QWidget *aEditor, const QModelIndex &aIndex) const
     468    virtual bool setEditorData (QWidget *aEditor, const QModelIndex & /* aIndex */) const
    469469    {
    470470        bool fDone = false;
     
    541541    }
    542542
    543     virtual bool setModelData (QWidget *aEditor, QAbstractItemModel *aModel, const QModelIndex &aIndex)
     543    virtual bool setModelData (QWidget *aEditor, QAbstractItemModel * /* aModel */, const QModelIndex & /* aIndex */)
    544544    {
    545545        bool fDone = false;
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxRegistrationDlg.cpp

    r15185 r17160  
    196196}
    197197
    198 VBoxRegistrationDlg::VBoxRegistrationDlg (VBoxRegistrationDlg **aSelf, QWidget *aParent)
     198VBoxRegistrationDlg::VBoxRegistrationDlg (VBoxRegistrationDlg **aSelf, QWidget * /* aParent */)
    199199    : QIWithRetranslateUI <QIAbstractWizard> (0)
    200200    , mSelf (aSelf)
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r17071 r17160  
    11321132    const QModelIndex &index = mVMListView->indexAt (aPoint);
    11331133    if (index.isValid())
    1134         if (VBoxVMItem *item = mVMListView->model()->data (index,
     1134        if (mVMListView->model()->data (index,
    11351135            VBoxVMModel::VBoxVMItemPtrRole).value <VBoxVMItem*>())
    11361136                mVMCtxtMenu->exec (mVMListView->mapToGlobal (aPoint));
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMSettingsGeneral.cpp

    r17075 r17160  
    491491}
    492492
    493 void VBoxVMSettingsGeneral::stateChangedVirt (int aState)
     493void VBoxVMSettingsGeneral::stateChangedVirt (int /* aState */)
    494494{
    495495    mCbNestedPaging->setEnabled (mCbVirt->checkState());
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