1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
4 ** If you wish to add, delete or rename slots use Qt Designer which will
5 ** update this file, preserving your code. Create an init() slot in place of
6 ** a constructor, and a destroy() slot in place of a destructor.
7 *****************************************************************************/
11 void BSAppBase::fileNew()
16 void BSAppBase::fileOpen()
21 void BSAppBase::fileSave()
26 void BSAppBase::fileSaveAs()
31 void BSAppBase::filePrint()
36 void BSAppBase::fileExit()
41 void BSAppBase::editUndo()
46 void BSAppBase::editRedo()
51 void BSAppBase::editCut()
56 void BSAppBase::init()
59 view = new BSView(this,doc);
60 setCentralWidget(view);
63 void BSAppBase::editPaste()
68 void BSAppBase::editFind()
73 void BSAppBase::helpIndex()
78 void BSAppBase::helpContents()
83 void BSAppBase::helpAbout()
88 void BSAppBase::battleNew()
91 QString text = QInputDialog::getText(
92 tr( "Harvalen's Battlesystem" ),
93 tr( "Please enter the name of the battle (for example coords)" ),
94 QLineEdit::Normal, QString::null, &ok, this );
95 if ( ok && !text.isEmpty() )
99 // user entered nothing or pressed Cancel