diff options
Diffstat (limited to 'Swift/QtUI/ChatList/QtChatListWindow.h')
| -rw-r--r-- | Swift/QtUI/ChatList/QtChatListWindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/ChatList/QtChatListWindow.h b/Swift/QtUI/ChatList/QtChatListWindow.h index e218266..1cba3a4 100644 --- a/Swift/QtUI/ChatList/QtChatListWindow.h +++ b/Swift/QtUI/ChatList/QtChatListWindow.h @@ -30,29 +30,32 @@ namespace Swift { void clearBookmarks(); signals: void onCountUpdated(int count); private slots: void handleItemActivated(const QModelIndex&); void handleAddBookmark(); void handleEditBookmark(); void handleRemoveBookmark(); + void handleAddBookmarkFromRecents(); void handleClicked(const QModelIndex& index); void handleSettingChanged(const std::string& setting); + void handleClearRecentsRequested(); protected: void dragEnterEvent(QDragEnterEvent* event); void contextMenuEvent(QContextMenuEvent* event); private: void setupContextMenus(); bool bookmarksEnabled_; UIEventStream* eventStream_; ChatListModel* model_; ChatListDelegate* delegate_; QMenu* mucMenu_; QMenu* emptyMenu_; + QMenu* mucRecentsMenu_; ChatListItem* contextMenuItem_; SettingsProvider* settings_; }; } |
Swift