summary refs log tree commit diff
path: root/include/timeline
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-06-30 15:13:15 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-06-30 15:13:15 +0300
commit5b5d35fd1f33555f6dacecacaf53a18517218b79 (patch)
treea0c9dbba27ff5826c906fd6bbc5b6587c2d149ea /include/timeline
parentAllow arbitrary resizing of the main window & restore sidebar's size (diff)
downloadnheko-5b5d35fd1f33555f6dacecacaf53a18517218b79.tar.xz
Add basic support for replies (#292)
Diffstat (limited to 'include/timeline')
-rw-r--r--include/timeline/TimelineItem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/timeline/TimelineItem.h b/include/timeline/TimelineItem.h

index f055f217..180623f4 100644 --- a/include/timeline/TimelineItem.h +++ b/include/timeline/TimelineItem.h
@@ -212,6 +212,8 @@ private: void init(); //! Add a context menu option to save the image of the timeline item. void addSaveImageAction(ImageItem *image); + //! Add the reply action in the context menu for widgets that support it. + void addReplyAction(); template<class Widget> void setupLocalWidgetLayout(Widget *widget, const QString &userid, bool withSender); @@ -240,6 +242,7 @@ private: QAction *showReadReceipts_; QAction *markAsRead_; QAction *redactMsg_; + QAction *replyMsg_; QHBoxLayout *topLayout_ = nullptr; QHBoxLayout *messageLayout_ = nullptr;