| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Types | Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MainApplication Class Referenceabstract
Inheritance diagram for MainApplication:

## Public Types
enum | AppSignal { CaptureFilterListChanged , ColorsChanged , ColumnsChanged , DisplayFilterListChanged , FieldsChanged , FilterExpressionsChanged , LocalInterfacesChanged , NameResolutionChanged , PacketDissectionChanged , PreferencesChanged , ProfileChanging , RecentCapturesChanged , RecentPreferencesRead , FreezePacketList , AggregationVisiblity , AggregationChanged }
enum | MainMenuItem { FileOpenDialog , CaptureOptionsDialog }
enum | StatusInfo { FilterSyntax , FieldStatus , FileStatus , BusyStatus , ByteStatus , TemporaryStatus }

## Public Slots
void | clearRecentCaptures ()
void | refreshRecentCaptures ()
void | captureEventHandler (CaptureEvent)
void | flushAppSignals ()
void | reloadDisplayFilterMacros ()
void | itemStatusFinished (const QString filename="", qint64 size=0, bool accessible=false)

## Signals
void | appInitialized ()
void | localInterfaceEvent (const char *ifname, int added, int up)
void | scanLocalInterfaces (GList *filter_list=nullptr)
void | localInterfaceListChanged ()
void | openCaptureFile (QString cf_path, QString display_filter, unsigned int type)
void | openCaptureOptions ()
void | recentPreferencesRead ()
void | updateRecentCaptureStatus (const QString &filename, qint64 size, bool accessible)
void | splashUpdate (register_action_e action, const char *message)
void | profileChanging ()
void | profileNameChanged (const char *profile_name)
void | freezePacketList (bool changing_profile)
void | columnsChanged ()
void | captureFilterListChanged ()
void | displayFilterListChanged ()
void | filterExpressionsChanged ()
void | packetDissectionChanged ()
void | colorsChanged ()
void | preferencesChanged ()
void | addressResolutionChanged ()
void | columnDataChanged ()
void | checkDisplayFilter ()
void | fieldsChanged ()
void | reloadLuaPlugins ()
void | aggregationVisiblity ()
void | aggregationChanged ()
void | openStatCommandDialog (const QString &menu_path, const char *arg, void *userdata)
void | openTapParameterDialog (const QString cfg_str, const QString arg, void *userdata)
void | captureActive (int)
void | zoomRegularFont (const QFont &font)
void | zoomMonospaceFont (const QFont &font)

## Public Member Functions
| MainApplication (int &argc, char **argv)
void | registerUpdate (register_action_e action, const char *message)
void | emitAppSignal (AppSignal signal)
void | queueAppSignal (AppSignal signal)
void | emitStatCommandSignal (const QString &menu_path, const char *arg, void *userdata)
void | emitTapParameterSignal (const QString cfg_abbr, const QString arg, void *userdata)
void | addDynamicMenuGroupItem (int group, QAction *sg_action)
void | appendDynamicMenuGroupItem (int group, QAction *sg_action)
void | removeDynamicMenuGroupItem (int group, QAction *sg_action)
QList< QAction * > | dynamicMenuGroupItems (int group)
QList< QAction * > | addedMenuGroupItems (int group)
QList< QAction * > | removedMenuGroupItems (int group)
void | clearAddedMenuGroupItems ()
void | clearRemovedMenuGroupItems ()
void | allSystemsGo (const char *name_proper, const char *version)
void | emitLocalInterfaceEvent (const char *ifname, int added, int up)
virtual void | refreshLocalInterfaces ()
struct _e_prefs * | readConfigurationFiles (bool reset)
QList< recent_item_status * > | recentItems () const
void | addRecentItem (const QString filename, qint64 size, bool accessible)
void | removeRecentItem (const QString &filename)
QDir | openDialogInitialDir ()
void | setLastOpenDirFromFilename (QString file_name)
void | helpTopicAction (topic_action_e action)
const QFont | monospaceFont (bool zoomed=false) const
void | setMonospaceFont (const char *font_string)
int | monospaceTextSize (const char *str)
void | setConfigurationProfile (const char *profile_name, bool write_recent_file=true)
void | reloadLuaPluginsDelayed ()
bool | isInitialized ()
void | setReloadingLua (bool is_reloading)
bool | isReloadingLua ()
const QIcon & | normalIcon ()
const QIcon & | captureIcon ()
const QString & | windowTitleSeparator () const
const QString | windowTitleString (QStringList title_parts)
const QString | windowTitleString (QString title_part)
void | applyCustomColorsFromRecent ()
MainWindow * | mainWindow ()
void | loadLanguage (const QString language)
void | doTriggerMenuItem (MainMenuItem menuItem)
void | zoomTextFont (int zoomLevel)
void | pushStatus (StatusInfo sinfo, const QString &message, const QString &messagetip=QString())
void | popStatus (StatusInfo sinfo)
void | gotoFrame (int frameNum)
int | maxMenuDepth (void)

## Public Attributes
QTranslator | translator
QTranslator | translatorQt

## Protected Member Functions
bool | event (QEvent *event)
virtual void | initializeIcons ()=0

## Protected Attributes
QIcon | normal_icon_
QIcon | capture_icon_

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

- /builds/wireshark/wireshark/ui/qt/main_application.h
- /builds/wireshark/wireshark/ui/qt/main_application.cpp