2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

multi select in media overview done properly

This commit is contained in:
John Preston
2014-08-20 23:13:00 +04:00
parent dfb4d01015
commit db7fa9ba2f
10 changed files with 127 additions and 59 deletions

View File

@@ -56,6 +56,7 @@ public:
void switchType(MediaOverviewType type);
void mediaOverviewUpdated();
void changingMsgId(HistoryItem *row, MsgId newId);
void msgUpdated(HistoryItem *msg);
void getSelectionState(int32 &selectedForForward, int32 &selectedForDelete) const;
@@ -82,6 +83,8 @@ public slots:
void onTouchSelect();
void onTouchScrollTimer();
void itemRemoved(HistoryItem *item);
private:
void fixItemIndex(int32 &current, MsgId msgId) const;
@@ -208,6 +211,7 @@ public:
bool animStep(float64 ms);
void mediaOverviewUpdated(PeerData *peer);
void changingMsgId(HistoryItem *row, MsgId newId);
void msgUpdated(PeerId peer, HistoryItem *msg);
QPoint clampMousePosition(QPoint point);