Commit dc38fca2 authored by Mike Kremer's avatar Mike Kremer

Renamed function to match pattern of other functions related to ToolBoxes.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10790 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c2d5f656
......@@ -1000,10 +1000,10 @@ private slots:
void setViewModeIcon(QString _mode, QString _iconName);
/// Move selected toolbox to top of side area
void moveToolboxToTop(QString _name);
void moveToolBoxToTop(QString _name);
/// Move selected toolbox to bottom of side area
void moveToolboxToBottom(QString _name);
void moveToolBoxToBottom(QString _name);
private :
/// Core scripting engine
......
......@@ -150,19 +150,19 @@ void Core::setViewModeIcon(QString _mode, QString _iconName){
//-----------------------------------------------------------------------------
void Core::moveToolboxToTop(QString _name) {
void Core::moveToolBoxToTop(QString _name) {
if(OpenFlipper::Options::gui()) {
coreWidget_->moveToolboxToTop(_name);
coreWidget_->moveToolBoxToTop(_name);
}
}
//-----------------------------------------------------------------------------
void Core::moveToolboxToBottom(QString _name) {
void Core::moveToolBoxToBottom(QString _name) {
if(OpenFlipper::Options::gui()) {
coreWidget_->moveToolboxToBottom(_name);
coreWidget_->moveToolBoxToBottom(_name);
}
}
......
......@@ -463,10 +463,10 @@ public:
void setViewMode( QString _mode, bool _expandAll = false );
/// Move a specific toolbox widget to the top of the side area
void moveToolboxToTop(QString _name);
void moveToolBoxToTop(QString _name);
/// Move a specific toolbox widget to the bottom of the side area
void moveToolboxToBottom(QString _name);
void moveToolBoxToBottom(QString _name);
/** @} */
......
......@@ -401,12 +401,12 @@ void CoreWidget::slotChangeView(QString _mode, QStringList _toolboxWidgets, QStr
}
void CoreWidget::moveToolboxToTop(QString _name) {
void CoreWidget::moveToolBoxToTop(QString _name) {
toolBox_->moveItemToPosition(_name, 0);
}
void CoreWidget::moveToolboxToBottom(QString _name) {
void CoreWidget::moveToolBoxToBottom(QString _name) {
toolBox_->moveItemToPosition(_name, toolBox_->getNumberOfWidgets()-1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment