diff --git a/mainwindow.h b/mainwindow.h --- a/mainwindow.h +++ b/mainwindow.h @@ -35,9 +35,9 @@ #include #include "portcontrol.h" -#include "snapshotview.h" #include "ui_about_dialog.h" #include "framebuffer.h" +#include "snapshotmanager.h" namespace Ui { class MainWindow; @@ -100,10 +100,7 @@ private: unsigned int sampleCount; QTimer spsTimer; - // snapshots - QList snapshots; - - void updateSnapShotMenu(); + SnapshotManager snapshotMan; // demo QTimer demoTimer; @@ -132,10 +129,6 @@ private slots: void spsTimerTimeout(); - void takeSnapShot(); - void clearSnapshots(); - void deleteSnapshot(SnapShot* snapshot); - void demoTimerTimeout(); void enableDemo(bool enabled);