Root/PS2_INTERFACE/src/TexEditor/mainwindow.h

1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H
3
4#include <QMainWindow>
5
6namespace Ui {
7    class MainWindow;
8}
9
10class MainWindow : public QMainWindow
11{
12    Q_OBJECT
13
14public:
15    explicit MainWindow(QWidget *parent = 0);
16    ~MainWindow();
17
18private slots:
19    void newfile();
20    bool save();
21    bool saveAs();
22
23private:
24    Ui::MainWindow *ui;
25    bool maybeSave();
26    void setCurrentFile(const QString &fileName);
27    bool saveFile(const QString &fileName);
28    QString curFile;
29};
30
31#endif // MAINWINDOW_H
32

Archive Download this file

Branches:
master



interactive