diff options
Diffstat (limited to 'ui/qt/funnel_statistics.h')
-rw-r--r-- | ui/qt/funnel_statistics.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/qt/funnel_statistics.h b/ui/qt/funnel_statistics.h index 65b36ab8..b6ed12f7 100644 --- a/ui/qt/funnel_statistics.h +++ b/ui/qt/funnel_statistics.h @@ -26,7 +26,7 @@ struct progdlg; /** * Signature of function that can be called from a custom packet menu entry */ -typedef void (* funnel_packet_menu_callback)(gpointer, GPtrArray*); +typedef void (* funnel_packet_menu_callback)(void *, GPtrArray*); class FunnelStatistics : public QObject { @@ -35,7 +35,7 @@ public: explicit FunnelStatistics(QObject *parent, CaptureFile &cf); ~FunnelStatistics(); void retapPackets(); - struct progdlg *progressDialogNew(const gchar *task_title, const gchar *item_title, gboolean terminate_is_stop, gboolean *stop_flag); + struct progdlg *progressDialogNew(const char *task_title, const char *item_title, bool terminate_is_stop, bool *stop_flag); const char *displayFilter(); void emitSetDisplayFilter(const QString filter); void reloadPackets(); @@ -68,8 +68,8 @@ class FunnelAction : public QAction Q_OBJECT public: FunnelAction(QObject *parent = nullptr); - FunnelAction(QString title, funnel_menu_callback callback, gpointer callback_data, gboolean retap, QObject *parent); - FunnelAction(QString title, funnel_packet_menu_callback callback, gpointer callback_data, gboolean retap, const char *packet_required_fields, QObject *parent); + FunnelAction(QString title, funnel_menu_callback callback, void *callback_data, bool retap, QObject *parent); + FunnelAction(QString title, funnel_packet_menu_callback callback, void *callback_data, bool retap, const char *packet_required_fields, QObject *parent); ~FunnelAction(); funnel_menu_callback callback() const; QString title() const; @@ -89,8 +89,8 @@ private: QString title_; QString packetSubmenu_; funnel_menu_callback callback_; - gpointer callback_data_; - gboolean retap_; + void *callback_data_; + bool retap_; funnel_packet_menu_callback packetCallback_; GPtrArray* packetData_; QSet<QString> packetRequiredFields_; @@ -120,7 +120,7 @@ extern "C" { void funnel_statistics_reload_menus(void); void funnel_statistics_load_packet_menus(void); void funnel_statistics_load_console_menus(void); - gboolean funnel_statistics_packet_menus_modified(void); + bool funnel_statistics_packet_menus_modified(void); } // extern "C" #endif // FUNNELSTATISTICS_H |