|
|
|
|
@ -230,6 +230,8 @@ K_GLOBAL_STATIC( KMMainWidget::PtrList, theMainWidgetList ) |
|
|
|
|
mCustomTemplateMenus = 0; |
|
|
|
|
mCollectionFolderView = new FolderSelectionTreeView( this, mGUIClient ); |
|
|
|
|
|
|
|
|
|
connect( mCollectionFolderView->folderTreeView(), SIGNAL( currentChanged( const Akonadi::Collection &) ), this, SLOT( slotFolderChanged( const Akonadi::Collection& ) ) ); |
|
|
|
|
|
|
|
|
|
CollectionPropertiesDialog::registerPage( new CollectionGeneralPageFactory() ); |
|
|
|
|
CollectionPropertiesDialog::registerPage( new CollectionTemplatesPageFactory() ); |
|
|
|
|
CollectionPropertiesDialog::registerPage( new CollectionMaintenancePageFactory() ); |
|
|
|
|
@ -324,6 +326,12 @@ void KMMainWidget::destruct() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void KMMainWidget::slotFolderChanged( const Akonadi::Collection& col) |
|
|
|
|
{ |
|
|
|
|
kDebug()<<" active col :"<<col; |
|
|
|
|
mCurrentFolder = col; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
void KMMainWidget::readPreConfig() |
|
|
|
|
{ |
|
|
|
|
@ -2902,15 +2910,6 @@ void KMMainWidget::folderSelected() |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void KMMainWidget::slotMessageListViewCurrentFolderChanged( KMFolder * fld ) |
|
|
|
|
{ |
|
|
|
|
if ( fld == mFolder ) |
|
|
|
|
return; |
|
|
|
|
#ifdef OLD_FOLDERVIEW |
|
|
|
|
mMainFolderView->setCurrentFolder( fld ); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
void KMMainWidget::folderSelected( KMFolder* aFolder, bool forceJumpToUnread, bool preferNewTabForOpening ) |
|
|
|
|
{ |
|
|
|
|
|