Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

MainControl Class Reference

Top level object that controls all open main windows. More...

#include <MainControl.h>

Inheritance diagram for MainControl::

List of all members.

Public Slots

void newWindow ()
 Creates a new main window and opens it.

void newWindow (const char *fileName)
 Creates a new main window and opens the file named fileName in it.

void quitWindow (MainWindow *)
 Closes the main window w.


Public Methods

 MainControl (QString lang)
 Constructor.

void addMRUEntry (QString fileName)
 Adds an entry to the MRU file list.

void removeMRUEntry (QString fileName)
 Removes an entry from the MRU file list.

QStringList & getMRUList ()
 Returns the MRU file list.


Private Attributes

QString language
 Language.

QList< MainWindow *> window_list
 List of main windows.

QStringList mru_list
 List of most recently used files.


Detailed Description

Top level object that controls all open main windows.

It also holds a list of the most recently used files.


The documentation for this class was generated from the following files:
Generated at Fri Apr 11 22:37:16 2003 for Qfsm by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001