API improvements: open/close instead of start/close

This commit is contained in:
Martin Gräßlin 2011-11-29 07:05:41 +01:00
parent e858b413a3
commit cc6fa14c9b
2 changed files with 2 additions and 2 deletions

View file

@ -955,7 +955,7 @@ void TabBox::modalActionsSwitch(bool enabled)
action->setEnabled(enabled); action->setEnabled(enabled);
} }
void TabBox::start(bool modal) void TabBox::open(bool modal)
{ {
if (isDisplayed()) { if (isDisplayed()) {
return; return;

View file

@ -174,7 +174,7 @@ public slots:
* @param modal Whether the TabBox should grab keyboard and mouse, that is go into modal * @param modal Whether the TabBox should grab keyboard and mouse, that is go into modal
* mode or whether the TabBox is controlled externally (e.g. through an effect). * mode or whether the TabBox is controlled externally (e.g. through an effect).
**/ **/
Q_SCRIPTABLE void start(bool modal = true); Q_SCRIPTABLE void open(bool modal = true);
Q_SCRIPTABLE void close(bool abort = false); Q_SCRIPTABLE void close(bool abort = false);
void slotWalkThroughDesktops(); void slotWalkThroughDesktops();
void slotWalkBackThroughDesktops(); void slotWalkBackThroughDesktops();