Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MAINWINDOW_H
- #define MAINWINDOW_H
- #include <KXmlGuiWindow>
- class KTextEdit;
- class MainWindow : public KXmlGuiWindow
- {
- Q_OBJECT //new from tutorial3
- public:
- MainWindow(QWidget *parent=0);
- private:
- void setupActions();
- KTextEdit *m_textArea;
- QString m_fileName; //new
- private slots: //new
- void newFile(); //new
- void openFile(); //new
- void saveFile(); //new
- void saveFileAs(); //new
- void saveFileAs(const QString &outputFileName); //new
- };
- #endif
Add Comment
Please, Sign In to add comment