[Uml-devel] branches/work/soc-umbrello/umbrello
Andi Fischer
andi.fischer at hispeed.ch
Sat Dec 24 00:14:05 UTC 2011
SVN commit 1270310 by fischer:
Krazy2 issues 18 - normalized SIGNAL and SLOT signatures - fixed. Some comments with [PORT] removed.
M +1 -20 uml.cpp
--- branches/work/soc-umbrello/umbrello/uml.cpp #1270309:1270310
@@ -227,7 +227,7 @@
{
QAction* fileNew = KStandardAction::openNew(this, SLOT(slotFileNew()), actionCollection());
QAction* fileOpen = KStandardAction::open(this, SLOT(slotFileOpen()), actionCollection());
- fileOpenRecent = KStandardAction::openRecent(this, SLOT(slotFileOpenRecent(const KUrl&)), actionCollection());
+ fileOpenRecent = KStandardAction::openRecent(this, SLOT(slotFileOpenRecent(KUrl)), actionCollection());
QAction* fileSave = KStandardAction::save(this, SLOT(slotFileSave()), actionCollection());
QAction* fileSaveAs = KStandardAction::saveAs(this, SLOT(slotFileSaveAs()), actionCollection());
QAction* fileClose = KStandardAction::close(this, SLOT(slotFileClose()), actionCollection());
@@ -1552,7 +1552,6 @@
*/
void UMLApp::slotAlignLeft()
{
- // [PORT]
currentView()->umlScene()->alignLeft();
}
@@ -1561,7 +1560,6 @@
*/
void UMLApp::slotAlignRight()
{
- // [PORT]
currentView()->umlScene()->alignLeft();
}
@@ -1570,7 +1568,6 @@
*/
void UMLApp::slotAlignTop()
{
- // [PORT]
currentView()->umlScene()->alignTop();
}
@@ -1579,7 +1576,6 @@
*/
void UMLApp::slotAlignBottom()
{
- // [PORT]
currentView()->umlScene()->alignBottom();
}
@@ -1588,7 +1584,6 @@
*/
void UMLApp::slotAlignVerticalMiddle()
{
- // [PORT]
currentView()->umlScene()->alignVerticalMiddle();
}
@@ -1597,7 +1592,6 @@
*/
void UMLApp::slotAlignHorizontalMiddle()
{
- // [PORT]
currentView()->umlScene()->alignHorizontalMiddle();
}
@@ -1606,7 +1600,6 @@
*/
void UMLApp::slotAlignVerticalDistribute()
{
- // [PORT]
currentView()->umlScene()->alignVerticalDistribute();
}
@@ -1615,7 +1608,6 @@
*/
void UMLApp::slotAlignHorizontalDistribute()
{
- // [PORT]
currentView()->umlScene()->alignHorizontalDistribute();
}
@@ -2307,7 +2299,6 @@
*/
void UMLApp::slotCurrentViewClearDiagram()
{
- // [PORT]
currentView()->umlScene()->clearDiagram();
}
@@ -2316,9 +2307,7 @@
*/
void UMLApp::slotCurrentViewToggleSnapToGrid()
{
- // [PORT]
currentView()->umlScene()->toggleSnapToGrid();
- // [PORT]
viewSnapToGrid->setChecked( currentView()->umlScene()->getSnapToGrid() );
}
@@ -2327,9 +2316,7 @@
*/
void UMLApp::slotCurrentViewToggleShowGrid()
{
- // [PORT]
currentView()->umlScene()->toggleShowGrid();
- // [PORT]
viewShowGrid->setChecked( currentView()->umlScene()->isSnapGridVisible() );
}
@@ -2338,7 +2325,6 @@
*/
void UMLApp::slotCurrentViewExportImage()
{
- // [PORT]
currentView()->umlScene()->getImageExporter()->exportView();
}
@@ -2355,7 +2341,6 @@
*/
void UMLApp::slotCurrentViewProperties()
{
- // [PORT]
currentView()->umlScene()->showPropDialog();
}
@@ -2374,7 +2359,6 @@
viewProperties->setEnabled( bState );
filePrint->setEnabled( bState );
if ( currentView() ) {
- // [PORT]
viewSnapToGrid->setChecked( currentView()->umlScene()->getSnapToGrid() );
// [PORT]
viewShowGrid->setChecked( currentView()->umlScene()->isSnapGridVisible() );
@@ -2489,7 +2473,6 @@
*/
void UMLApp::slotSelectAll()
{
- // [PORT]
currentView()->umlScene()->selectAll();
}
@@ -2499,7 +2482,6 @@
void UMLApp::slotDeleteSelectedWidget()
{
if ( currentView() ) {
- // [PORT]
currentView()->umlScene()->deleteSelection();
}
else {
@@ -2512,7 +2494,6 @@
*/
void UMLApp::slotDeleteDiagram()
{
- // [PORT]
m_doc->removeDiagram( currentView()->umlScene()->getID() );
}
More information about the umbrello-devel
mailing list