Changeset 24774 in vbox for trunk/src/VBox/Frontends/VirtualBox/include
- Timestamp:
- Nov 18, 2009 10:17:40 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54984
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxSnapshotsWgt.h
r23924 r24774 24 24 #define __VBoxSnapshotsWgt_h__ 25 25 26 /* Global includes */ 27 #include <QTimer> 28 26 29 /* Local includes */ 27 30 #include "VBoxSnapshotsWgt.gen.h" … … 31 34 /* Local forwards */ 32 35 class SnapshotWgtItem; 36 37 /* Snapshot age format */ 38 enum SnapshotAgeFormat 39 { 40 AgeInSeconds, 41 AgeInMinutes, 42 AgeInHours, 43 AgeInDays, 44 AgeMax 45 }; 33 46 34 47 class VBoxSnapshotsWgt : public QIWithRetranslateUI <QWidget>, public Ui::VBoxSnapshotsWgt … … 61 74 void sessionStateChanged (const VBoxSessionStateChangeEvent &aEvent); 62 75 76 void updateSnapshotsAge(); 77 63 78 private: 64 79 … … 67 82 SnapshotWgtItem* curStateItem(); 68 83 void populateSnapshots (const CSnapshot &aSnapshot, QTreeWidgetItem *aItem); 84 SnapshotAgeFormat traverseSnapshotAge (QTreeWidgetItem *aParentItem); 69 85 70 86 CMachine mMachine; … … 81 97 QAction *mShowSnapshotDetailsAction; 82 98 QAction *mTakeSnapshotAction; 99 100 QTimer mAgeUpdateTimer; 83 101 }; 84 102
Note:
See TracChangeset
for help on using the changeset viewer.