#ifndef MAIN_WND_H #define MAIN_WND_H #include "ui_mainwnd.h" class MainWnd : public QMainWindow, protected Ui::MainWnd { Q_OBJECT; public: MainWnd(); virtual ~MainWnd(); public slots: void connect(); void proxy(); void open(); void newFile(); void save(); void saveAs(); private: QString sCurFile; class QLabel *pMode; }; #endif