Changeset 24301 in vbox for trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleView.h
- Timestamp:
- Nov 3, 2009 10:07:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleView.h
r23223 r24301 88 88 89 89 bool pause (bool on); 90 bool isPaused() { return mLastState == KMachineState_Paused; } 90 bool isPaused() 91 { 92 return mLastState == KMachineState_Paused 93 || mLastState == KMachineState_TeleportingPausedVM; 94 } 91 95 const QPixmap& pauseShot() const { return mPausedShot; } 92 96 … … 231 235 void setPointerShape (MousePointerChangeEvent *me); 232 236 233 bool isRunning() { return mLastState == KMachineState_Running; } 237 bool isRunning() 238 { 239 return mLastState == KMachineState_Running 240 || mLastState == KMachineState_Teleporting 241 || mLastState == KMachineState_LiveSnapshotting; 242 } 234 243 235 244 static void dimImage (QImage &img);
Note:
See TracChangeset
for help on using the changeset viewer.