2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Move MediaView from MainWindow to Messenger.

This commit is contained in:
John Preston
2017-08-08 11:31:48 +02:00
parent fa818407e6
commit b08732cf28
28 changed files with 266 additions and 271 deletions

View File

@@ -88,7 +88,6 @@ public:
void setSelectMode(bool enabled);
void mediaOverviewUpdated();
void changingMsgId(HistoryItem *row, MsgId newId);
void repaintItem(const HistoryItem *msg);
Window::TopBarWidget::SelectedState getSelectionState() const;
@@ -144,6 +143,7 @@ private:
void itemRemoved(HistoryItem *item);
MsgId complexMsgId(const HistoryItem *item) const;
void changingMsgId(HistoryItem *row, MsgId newId);
bool itemMigrated(MsgId msgId) const;
ChannelId itemChannel(MsgId msgId) const;
@@ -320,7 +320,6 @@ public:
void doneShow();
void mediaOverviewUpdated(const Notify::PeerUpdate &update);
void changingMsgId(HistoryItem *row, MsgId newId);
void itemRemoved(HistoryItem *item);
QPoint clampMousePosition(QPoint point);