diff --git a/limereport/items/editors/lritemsaligneditorwidget.cpp b/limereport/items/editors/lritemsaligneditorwidget.cpp index e4c681f..5595928 100644 --- a/limereport/items/editors/lritemsaligneditorwidget.cpp +++ b/limereport/items/editors/lritemsaligneditorwidget.cpp @@ -55,9 +55,9 @@ ItemsAlignmentEditorWidget::ItemsAlignmentEditorWidget(PageDesignIntf* page, QWi initEditor(); } -void ItemsAlignmentEditorWidget::slotBrinToFront() +void ItemsAlignmentEditorWidget::slotBringToFront() { - if (m_reportEditor) m_reportEditor->brinToFront(); + if (m_reportEditor) m_reportEditor->bringToFront(); if (m_page) m_page->bringToFront(); } @@ -119,7 +119,7 @@ void ItemsAlignmentEditorWidget::initEditor() { m_bringToFront = new QAction(tr("Bring to top"),this); m_bringToFront->setIcon(QIcon(":/report/images/bringToTop")); - connect(m_bringToFront,SIGNAL(triggered()),this,SLOT(slotBrinToFront())); + connect(m_bringToFront,SIGNAL(triggered()),this,SLOT(slotBringToFront())); addAction(m_bringToFront); m_sendToBack = new QAction(tr("Send to back"),this); diff --git a/limereport/items/editors/lritemsaligneditorwidget.h b/limereport/items/editors/lritemsaligneditorwidget.h index 3dda383..5231d2f 100644 --- a/limereport/items/editors/lritemsaligneditorwidget.h +++ b/limereport/items/editors/lritemsaligneditorwidget.h @@ -45,7 +45,7 @@ public: explicit ItemsAlignmentEditorWidget(PageDesignIntf* page, const QString &title, QWidget *parent = 0); explicit ItemsAlignmentEditorWidget(PageDesignIntf* page, QWidget *parent = 0); private slots: - void slotBrinToFront(); + void slotBringToFront(); void slotSendToBack(); void slotAlignToLeft(); void slotAlignToRight(); diff --git a/limereport/lrbasedesignintf.cpp b/limereport/lrbasedesignintf.cpp index b8e3bc9..ba3b71d 100644 --- a/limereport/lrbasedesignintf.cpp +++ b/limereport/lrbasedesignintf.cpp @@ -1238,7 +1238,7 @@ void BaseDesignIntf::contextMenuEvent(QGraphicsSceneContextMenuEvent *event) pasteAction->setEnabled(true); } menu.addSeparator(); - QAction* brinToTopAction = menu.addAction(QIcon(":/report/images/bringToTop"), tr("Bring to top")); + QAction* bringToTopAction = menu.addAction(QIcon(":/report/images/bringToTop"), tr("Bring to top")); QAction* sendToBackAction = menu.addAction(QIcon(":/report/images/sendToBack"), tr("Send to back")); QAction* createHLayout = 0; if( page->selectedItems().count()>1){ @@ -1263,7 +1263,7 @@ void BaseDesignIntf::contextMenuEvent(QGraphicsSceneContextMenuEvent *event) page->copy(); if (a == pasteAction) page->paste(); - if (a == brinToTopAction) + if (a == bringToTopAction) page->bringToFront(); if (a == sendToBackAction) page->sendToBack(); diff --git a/limereport/lrreportdesignwidget.cpp b/limereport/lrreportdesignwidget.cpp index 332dd27..64e04f6 100644 --- a/limereport/lrreportdesignwidget.cpp +++ b/limereport/lrreportdesignwidget.cpp @@ -555,7 +555,7 @@ void ReportDesignWidget::cut() activePage()->cut(); } -void ReportDesignWidget::brinToFront() +void ReportDesignWidget::bringToFront() { if (activePage()) activePage()->bringToFront(); diff --git a/limereport/lrreportdesignwidget.h b/limereport/lrreportdesignwidget.h index 913d85b..da9719f 100644 --- a/limereport/lrreportdesignwidget.h +++ b/limereport/lrreportdesignwidget.h @@ -138,7 +138,7 @@ public slots: void copy(); void paste(); void cut(); - void brinToFront(); + void bringToFront(); void sendToBack(); void alignToLeft(); void alignToRight();