comparison gui/src/FileEditorMdiSubWindow.h @ 13557:ad18a8e7fb02

editor: change window title if text is modified
author ttl <ttl@justmail.de>
date Sat, 30 Jul 2011 15:19:42 +0200
parents 8c7390b78911
children 248b897d9f36
comparison
equal deleted inserted replaced
13556:0d18b0e168ae 13557:ad18a8e7fb02
50 void showToolTipOpen (); 50 void showToolTipOpen ();
51 void showToolTipSave (); 51 void showToolTipSave ();
52 void showToolTipSaveAs (); 52 void showToolTipSaveAs ();
53 void showToolTipUndo (); 53 void showToolTipUndo ();
54 void showToolTipRedo (); 54 void showToolTipRedo ();
55
56 void registerModified (bool modified); 55 void registerModified (bool modified);
57 56
58 protected: 57 protected:
59 void closeEvent(QCloseEvent *event); 58 void closeEvent(QCloseEvent *event);
60 59
64 QToolBar *m_toolBar; 63 QToolBar *m_toolBar;
65 QsciScintilla *m_editor; 64 QsciScintilla *m_editor;
66 QStatusBar *m_statusBar; 65 QStatusBar *m_statusBar;
67 QString m_fileName; 66 QString m_fileName;
68 bool m_modified; 67 bool m_modified;
68
69 private slots:
70 void handleModificationChanged(bool modified);
71
69 }; 72 };
70 73
71 #endif // FILEEDITORMDISUBWINDOW_H 74 #endif // FILEEDITORMDISUBWINDOW_H