23 #ifndef __SERVER_LIST_CONTEXT_MENU_H_
24 #define __SERVER_LIST_CONTEXT_MENU_H_
55 SortAdditionallyAscending,
56 SortAdditionallyDescending,
57 ClearAdditionalSorting,
58 RemoveAdditionalSortingForColumn,
68 const QModelIndex &modelIndex,
69 const QList<ServerPtr> &servers,
73 const QModelIndex &modelIndex()
const;
74 void popup(
const QPoint &point);
75 ServerPtr server()
const;
76 const QList<ServerPtr> &servers()
const;
78 Result translateQMenuResult(QAction *resultAction);
82 void triggered(QAction *action);
87 QMenu *createCopyMenu(QWidget *parent);
89 void initializeMembers();