Changeset 14440 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include/QIMessageBox.h
- Timestamp:
- Nov 21, 2008 12:37:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/QIMessageBox.h
r9386 r14440 35 35 class QPushButton; 36 36 class QSpacerItem; 37 class QCloseEvent; 37 38 38 39 class QIDialogButtonBox; … … 90 91 QPushButton *createButton (int aButton); 91 92 93 void closeEvent (QCloseEvent *e); 94 92 95 private slots: 93 96 94 void done0() { done (mButton0 & ButtonMask); }95 void done1() { done (mButton1 & ButtonMask); }96 void done2() { done (mButton2 & ButtonMask); }97 void done0() { mWasDone = true; done (mButton0 & ButtonMask); } 98 void done1() { mWasDone = true; done (mButton1 & ButtonMask); } 99 void done2() { mWasDone = true; done (mButton2 & ButtonMask); } 97 100 98 void reject() { 99 QDialog::reject(); 100 if (mButtonEsc) 101 setResult (mButtonEsc & ButtonMask); 102 } 101 void reject(); 103 102 104 103 private: … … 113 112 QSpacerItem *mSpacer; 114 113 QIDialogButtonBox *mButtonBox; 114 bool mWasDone : 1; 115 115 }; 116 116
Note:
See TracChangeset
for help on using the changeset viewer.