Changeset 17160 in vbox
- Timestamp:
- Feb 26, 2009 12:34:47 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxDownloaderWgt.cpp
r14274 r17160 77 77 78 78 /* This function is used to store content length */ 79 void VBoxDownloaderWgt::acknowledgeProcess (const QHttpResponseHeader & aResponse)79 void VBoxDownloaderWgt::acknowledgeProcess (const QHttpResponseHeader & /* aResponse */) 80 80 { 81 81 /* Abort connection as we already got all we need */ -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r17075 r17160 3893 3893 /* static */ 3894 3894 QRect VBoxGlobal::getNormalized (const QRect &aRectangle, const QRegion &aBoundRegion, 3895 bool aCanResize /*= true */)3895 bool /* aCanResize = true */) 3896 3896 { 3897 3897 /* Storing available horizontal sub-rectangles & vertical shifts */ -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxImportApplianceWgt.cpp
r17075 r17160 122 122 int columnCount() const { return 3; } 123 123 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; } 130 130 131 131 virtual void restoreDefaults() {} … … 381 381 } 382 382 383 virtual QWidget * createEditor (QWidget *aParent, const QStyleOptionViewItem & aOption, const QModelIndex &aIndex) const383 virtual QWidget * createEditor (QWidget *aParent, const QStyleOptionViewItem & /* aOption */, const QModelIndex &aIndex) const 384 384 { 385 385 QWidget *editor = NULL; … … 466 466 } 467 467 468 virtual bool setEditorData (QWidget *aEditor, const QModelIndex & aIndex) const468 virtual bool setEditorData (QWidget *aEditor, const QModelIndex & /* aIndex */) const 469 469 { 470 470 bool fDone = false; … … 541 541 } 542 542 543 virtual bool setModelData (QWidget *aEditor, QAbstractItemModel * aModel, const QModelIndex &aIndex)543 virtual bool setModelData (QWidget *aEditor, QAbstractItemModel * /* aModel */, const QModelIndex & /* aIndex */) 544 544 { 545 545 bool fDone = false; -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxRegistrationDlg.cpp
r15185 r17160 196 196 } 197 197 198 VBoxRegistrationDlg::VBoxRegistrationDlg (VBoxRegistrationDlg **aSelf, QWidget * aParent)198 VBoxRegistrationDlg::VBoxRegistrationDlg (VBoxRegistrationDlg **aSelf, QWidget * /* aParent */) 199 199 : QIWithRetranslateUI <QIAbstractWizard> (0) 200 200 , mSelf (aSelf) -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp
r17071 r17160 1132 1132 const QModelIndex &index = mVMListView->indexAt (aPoint); 1133 1133 if (index.isValid()) 1134 if ( VBoxVMItem *item =mVMListView->model()->data (index,1134 if (mVMListView->model()->data (index, 1135 1135 VBoxVMModel::VBoxVMItemPtrRole).value <VBoxVMItem*>()) 1136 1136 mVMCtxtMenu->exec (mVMListView->mapToGlobal (aPoint)); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMSettingsGeneral.cpp
r17075 r17160 491 491 } 492 492 493 void VBoxVMSettingsGeneral::stateChangedVirt (int aState)493 void VBoxVMSettingsGeneral::stateChangedVirt (int /* aState */) 494 494 { 495 495 mCbNestedPaging->setEnabled (mCbVirt->checkState());
Note:
See TracChangeset
for help on using the changeset viewer.