Gui: use public methods in Command sub-classes

This commit is contained in:
wmayer
2021-04-21 19:33:40 +02:00
parent 5ee0a355dd
commit f66bc8fc90
8 changed files with 54 additions and 54 deletions

View File

@@ -460,14 +460,14 @@ Action * StdCmdWindowsMenu::createAction(void)
WindowAction *pcAction;
pcAction = new WindowAction(this, getMainWindow());
for ( int i=0; i<10; i++ ) {
QAction* window = pcAction->addAction(QObject::tr(sToolTipText));
QAction* window = pcAction->addAction(QObject::tr(getToolTipText()));
window->setCheckable(true);
window->setToolTip(QCoreApplication::translate(
this->className(), sToolTipText));
this->className(), getToolTipText()));
window->setStatusTip(QCoreApplication::translate(
this->className(), sStatusTip));
this->className(), getStatusTip()));
window->setWhatsThis(QCoreApplication::translate(
this->className(), sWhatsThis));
this->className(), getWhatsThis()));
}
QAction* sep = pcAction->addAction(QLatin1String(""));