Core: Use some data members in NavigationWidgetFactory

Adjust user code, remove unused bits.

Change-Id: I351deb27679c9251518a4d1bf7f78a12bacae2fb
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
hjk
2014-06-24 11:15:32 +02:00
parent 142f48e340
commit a355013eb1
22 changed files with 111 additions and 299 deletions

View File

@@ -224,10 +224,6 @@ void Manager::initialize()
{
// use Qt::QueuedConnection everywhere
// widget factory signals
connect(NavigationWidgetFactory::instance(), SIGNAL(widgetIsCreated()),
SLOT(onWidgetIsCreated()), Qt::QueuedConnection);
// internal manager state is changed
connect(this, SIGNAL(stateChanged(bool)), SLOT(onStateChanged(bool)), Qt::QueuedConnection);
@@ -318,17 +314,6 @@ void Manager::setState(bool state)
emit stateChanged(d->state);
}
/*!
Reacts to the widget factory creating a widget.
\sa setState, state
*/
void Manager::onWidgetIsCreated()
{
// do nothing - continue to sleep
}
/*!
Reacts to the \a visibility of one navigation pane widget being changed
(there might be a lot of them).