https://bugs.kde.org/show_bug.cgi?id=358681
Jan Kundrát <j...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 --- Comment #1 from Jan Kundrát <j...@kde.org> --- Yeah, we really need something like this. Here's one possibility on how to implement it. Import the KDE's KF5 KRecursiveFilterProxyModel [1] and check the item's data(RoleMessageIsMarkedFlagged).toBool() in the acceptRow(). Later, this could be extended to filter based on existence of arbitrary tags (through RoleMessageFlags). Even better, that special snowflake in PrettyMsgListModel (the m_hideRead filtering) could be removed, which is wonderful because it just doesn't belong to a GUI-specific class. There's some possibility that this approach would be too expensive on huge models -- not in terms of IMAP traffic because flags are always synced anyway, nad have to be for various reasons, but in terms of the overhead of the C++ code. I think it's very much worth a try anyway. If you know some C++ code, please get in touch. Patches are welcome. [1] http://api.kde.org/frameworks-api/frameworks5-apidocs/kitemmodels/html/classKRecursiveFilterProxyModel.html -- You are receiving this mail because: You are watching all bug changes.