24 #if !defined (octave_main_window_h)
25 #define octave_main_window_h 1
28 #include <QMainWindow>
35 #include <QMdiSubWindow>
36 #include <QCloseEvent>
37 #include <QToolButton>
71 typedef std::pair <std::string, std::string>
name_pair;
106 const QString& new_name);
108 void new_file (
const QString& commands = QString ());
109 void open_file (
const QString& file_name = QString ());
124 void exit (
int status);
152 const QString& file,
int line);
165 const QString& icon,
const QStringList& button,
166 const QString& defbutton,
167 const QStringList& role);
170 int width,
int height,
173 const QStringList& prompt,
174 const QString& ok_string,
175 const QString& cancel_string);
182 const QString& title,
const QString& filename,
183 const QString &dirname,
184 const QString& multimode);
189 void find_files (
const QString &startdir=QDir::currentPath ());
214 const QKeySequence& key);
217 const QKeySequence& key);
221 const QKeySequence& key);
291 #ifdef HAVE_QSCINTILLA
292 list.append (static_cast<octave_dock_widget *> (
editor_window));
360 int xserial = -1,
bool xconnect_to_web =
false)
383 #endif // MAINWINDOW_H