casa
$Rev:20696$
|
#include <texteditor.qo.h>
Public Member Functions | |
TextEditor () | |
void | open (const QString &) |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
Private Slots | |
void | newFile () |
void | open () |
bool | save () |
bool | saveAs () |
void | documentWasModified () |
Private Member Functions | |
void | createActions () |
void | createMenus () |
void | createToolBars () |
void | createStatusBar () |
void | readSettings () |
void | writeSettings () |
bool | maybeSave () |
void | loadFile (const QString &fileName) |
bool | saveFile (const QString &fileName) |
void | setCurrentFile (const QString &fileName) |
QString | strippedName (const QString &fullFileName) |
Private Attributes | |
QTextEdit * | textEdit |
QString | curFile |
QMenu * | fileMenu |
QMenu * | editMenu |
QToolBar * | fileToolBar |
QToolBar * | editToolBar |
QAction * | newAct |
QAction * | openAct |
QAction * | saveAct |
QAction * | saveAsAct |
QAction * | exitAct |
QAction * | cutAct |
QAction * | copyAct |
QAction * | pasteAct |
Definition at line 42 of file texteditor.qo.h.
void casa::TextEditor::closeEvent | ( | QCloseEvent * | event | ) | [protected] |
void casa::TextEditor::createActions | ( | ) | [private] |
void casa::TextEditor::createMenus | ( | ) | [private] |
void casa::TextEditor::createStatusBar | ( | ) | [private] |
void casa::TextEditor::createToolBars | ( | ) | [private] |
void casa::TextEditor::documentWasModified | ( | ) | [private, slot] |
void casa::TextEditor::loadFile | ( | const QString & | fileName | ) | [private] |
bool casa::TextEditor::maybeSave | ( | ) | [private] |
void casa::TextEditor::newFile | ( | ) | [private, slot] |
void casa::TextEditor::open | ( | const QString & | ) |
void casa::TextEditor::open | ( | ) | [private, slot] |
void casa::TextEditor::readSettings | ( | ) | [private] |
bool casa::TextEditor::save | ( | ) | [private, slot] |
bool casa::TextEditor::saveAs | ( | ) | [private, slot] |
bool casa::TextEditor::saveFile | ( | const QString & | fileName | ) | [private] |
void casa::TextEditor::setCurrentFile | ( | const QString & | fileName | ) | [private] |
QString casa::TextEditor::strippedName | ( | const QString & | fullFileName | ) | [private] |
void casa::TextEditor::writeSettings | ( | ) | [private] |
QAction* casa::TextEditor::copyAct [private] |
Definition at line 85 of file texteditor.qo.h.
QString casa::TextEditor::curFile [private] |
Definition at line 73 of file texteditor.qo.h.
QAction* casa::TextEditor::cutAct [private] |
Definition at line 84 of file texteditor.qo.h.
QMenu* casa::TextEditor::editMenu [private] |
Definition at line 76 of file texteditor.qo.h.
QToolBar* casa::TextEditor::editToolBar [private] |
Definition at line 78 of file texteditor.qo.h.
QAction* casa::TextEditor::exitAct [private] |
Definition at line 83 of file texteditor.qo.h.
QMenu* casa::TextEditor::fileMenu [private] |
Definition at line 75 of file texteditor.qo.h.
QToolBar* casa::TextEditor::fileToolBar [private] |
Definition at line 77 of file texteditor.qo.h.
QAction* casa::TextEditor::newAct [private] |
Definition at line 79 of file texteditor.qo.h.
QAction* casa::TextEditor::openAct [private] |
Definition at line 80 of file texteditor.qo.h.
QAction* casa::TextEditor::pasteAct [private] |
Definition at line 86 of file texteditor.qo.h.
QAction* casa::TextEditor::saveAct [private] |
Definition at line 81 of file texteditor.qo.h.
QAction* casa::TextEditor::saveAsAct [private] |
Definition at line 82 of file texteditor.qo.h.
QTextEdit* casa::TextEditor::textEdit [private] |
Definition at line 72 of file texteditor.qo.h.