Slightly improved scripting abilities
authorinsilmaril
Wed Mar 21 11:51:38 2007 +0000 (2007-03-21)
changeset 437918417b015e0
parent 436 19e5907b7818
child 438 eae9abe70d7c
Slightly improved scripting abilities
mainwindow.cpp
mapeditor.cpp
     1.1 --- a/mainwindow.cpp	Wed Mar 21 11:51:38 2007 +0000
     1.2 +++ b/mainwindow.cpp	Wed Mar 21 11:51:38 2007 +0000
     1.3 @@ -257,6 +257,7 @@
     1.4      connect( a, SIGNAL( triggered() ), this, SLOT( fileLoad() ) );
     1.5  	
     1.6  	fileLastMapsMenu = fileMenu->addMenu (tr("Open Recent","File menu"));
     1.7 +	fileLastMapsMenu->menuAction()->setShortcut ( Qt::CTRL + +Qt::SHIFT + Qt::Key_O );
     1.8  	fileMenu->addSeparator();
     1.9  	
    1.10      a = new QAction( QPixmap( iconPath+"filesave.png"), tr( "&Save...","File menu" ), this);
     2.1 --- a/mapeditor.cpp	Wed Mar 21 11:51:38 2007 +0000
     2.2 +++ b/mapeditor.cpp	Wed Mar 21 11:51:38 2007 +0000
     2.3 @@ -3251,7 +3251,7 @@
     2.4  	}
     2.5  }
     2.6  
     2.7 -void MapEditor::setIncludeImagesVer(bool b)	// FIXME missing saveState
     2.8 +void MapEditor::setIncludeImagesVer(bool b)	
     2.9  {
    2.10  	BranchObj *bo=xelection.getBranch();
    2.11  	if (bo)
    2.12 @@ -3271,7 +3271,7 @@
    2.13  	}	
    2.14  }
    2.15  
    2.16 -void MapEditor::setIncludeImagesHor(bool b)	// FIXME missing saveState
    2.17 +void MapEditor::setIncludeImagesHor(bool b)	
    2.18  {
    2.19  	BranchObj *bo=xelection.getBranch();
    2.20  	if (bo)