connectSignals( m_favoriteList );
connectSignals( view );
+ connect( view, SIGNAL( loadBoardCompleted( const KURL& ) ),
+ this, SIGNAL( loadBoardCompleted( const KURL& ) ) );
connect( this, SIGNAL( currentChanged( QWidget* ) ),
SLOT( slotCurrentChanged( QWidget* ) ) );
m_latestView = view;
m_latestView->loadBoard( board );
connectSignals( view );
+ connect( view, SIGNAL( loadBoardCompleted( const KURL& ) ),
+ this, SIGNAL( loadBoardCompleted( const KURL& ) ) );
showPage( m_latestView );
}
}
}
-void KitaSubjectTabWidget::connectSignals( FavoriteListView* view )
+void KitaSubjectTabWidget::connectSignals( Kita::ThreadListView* view )
{
connect( view, SIGNAL( signalShowThread( const Kita::Thread* ) ),
this, SIGNAL( signalShowThread( const Kita::Thread* ) ) );
connect( view, SIGNAL( signalShowThreadWithNewTab( const Kita::Thread* ) ),
this, SIGNAL( signalShowThreadWithNewTab( const Kita::Thread* ) ) );
- // connect( view, SIGNAL( loadBoardCompleted( const KURL& ) ),
- // this, SIGNAL( loadBoardCompleted( const KURL& ) ) );
-}
-
-void KitaSubjectTabWidget::connectSignals( KitaSubjectView* view )
-{
- connect( view, SIGNAL( signalShowThread( const Kita::Thread* ) ),
- this, SIGNAL( signalShowThread( const Kita::Thread* ) ) );
- connect( view, SIGNAL( signalShowThreadWithNewTab( const Kita::Thread* ) ),
- this, SIGNAL( signalShowThreadWithNewTab( const Kita::Thread* ) ) );
- connect( view, SIGNAL( loadBoardCompleted( const KURL& ) ),
- this, SIGNAL( loadBoardCompleted( const KURL& ) ) );
}
void KitaSubjectTabWidget::slotCurrentChanged( QWidget* widget )