ServerListContextMenu Class Reference
+ Inheritance diagram for ServerListContextMenu:

Public Types

enum  Result {
  DataCopied, Join, OpenRemoteConsole, OpenURL,
  Refresh, ShowJoinCommandLine, SortAdditionallyAscending, SortAdditionallyDescending,
  ClearAdditionalSorting, RemoveAdditionalSortingForColumn, FindMissingWADs, TogglePinServers,
  NothingHappened
}
 

Signals

void aboutToHide ()
 
void triggered (QAction *action)
 

Public Member Functions

 ServerListContextMenu (ServerPtr serverAtIndex, const ServerListFilterInfo &filter, const QModelIndex &modelIndex, const QList< ServerPtr > &servers, ServerList *parent)
 
const QModelIndex & modelIndex () const
 
void popup (const QPoint &point)
 
ServerPtr server () const
 
const ServerListFilterInfoserverFilter () const
 
const QList< ServerPtr > & servers () const
 
Result translateQMenuResult (QAction *resultAction)
 

Detailed Description

Definition at line 40 of file serverlistcontextmenu.h.

Member Enumeration Documentation

Enumerator
DataCopied 

This is returned when something was copied to clipboard.

NothingHappened 

This is returned upon cancel.

Definition at line 45 of file serverlistcontextmenu.h.


The documentation for this class was generated from the following files: