#ifndef SAVEFILE_H_ #define SAVEFILE_H_ #include #include #include"CommonWindow.h" #include"MainWindow.h" #include"ViewingWindow.h" class MainWindow; using namespace std; class SaveFile : public QDialog, public CommonWindow, public ViewingWindow { Q_OBJECT public: SaveFile(QWidget* parent = 0); explicit SaveFile(QWidget* parent = 0, MainWindow* mw = 0); static string filenameStr; private: void setupWindow(); void connections(); unique_ptr filename; unique_ptr saveIt; unique_ptr mw; private slots: void saveFileAs(); }; #endif