[Kde-pim] Review Request 111240: kmail-mobile: AccountsListPage

Michael Bohlender michael.bohlender at kdemail.net
Wed Jul 3 10:00:28 BST 2013



> On June 25, 2013, 8:24 p.m., Kevin Krammer wrote:
> > mobile/mail/AccountsPage.qml, line 75
> > <http://git.reviewboard.kde.org/r/111240/diff/1/?file=165734#file165734line75>
> >
> >     Each resource/agent has an AgentType structure that should have an icon name set. might be better than using one for file servers?

"icon: QIcon(model.type.iconName)" does not work. 

Am I missing something obvious or do I have to change something on the C++ side?

"  
// A list of agent instances
  Akonadi::AgentInstanceModel *agentInstanceModel = new Akonadi::AgentInstanceModel( this );
  d->mAgentInstanceFilterModel = new Akonadi::AgentFilterProxyModel( this );
  d->mAgentInstanceFilterModel->addCapabilityFilter( QLatin1String( "Resource" ) );
  d->mAgentInstanceFilterModel->setSourceModel( agentInstanceModel );

  context->setContextProperty( "agentInstanceList", QVariant::fromValue( static_cast<QObject*>( d->mAgentInstanceFilterModel ) ) );
  d->mAgentInstanceSelectionModel = new QItemSelectionModel( d->mAgentInstanceFilterModel, this );

  setupAgentActionManager( d->mAgentInstanceSelectionModel );
"


- Michael


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111240/#review35074
-----------------------------------------------------------


On June 25, 2013, 12:59 p.m., Michael Bohlender wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111240/
> -----------------------------------------------------------
> 
> (Updated June 25, 2013, 12:59 p.m.)
> 
> 
> Review request for KDEPIM.
> 
> 
> Description
> -------
> 
> This is the base for the accounts list which will become the first page in the PageRow according to our mockup. 
> It is just for navigation and wont replace the accounts settings page.
> It does not make sense to activate this page until the other pages are ready.
> 
> 
> Diffs
> -----
> 
>   mobile/mail/AccountsPage.qml PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/111240/diff/
> 
> 
> Testing
> -------
> 
> Started, interacted with. but deactivated again.
> 
> 
> Thanks,
> 
> Michael Bohlender
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list