#include "NetworkTools.h"
Public Types | |
enum | NetworkToolStatus { Idle = 0x00 , PortBlockerRunning = 0x01 } |
typedef ot::Flags< NetworkToolStatus > | NetworkToolStatusFlags |
Public Member Functions | |
NetworkTools () | |
virtual | ~NetworkTools () |
virtual QString | getToolName (void) const override |
Return the unique tool name The name will be used to create all required menu entries. | |
virtual bool | runTool (QMenu *_rootMenu, otoolkit::ToolWidgets &_content) override |
Create the central widget that will be displayed to the user in the main tab view. | |
virtual void | restoreToolSettings (QSettings &_settings) override |
virtual bool | prepareToolShutdown (QSettings &_settings) override |
Stop all the logic of this tool. | |
Public Member Functions inherited from otoolkit::Tool | |
Tool () | |
virtual | ~Tool () |
virtual QIcon | getToolIcon (void) const |
Return the icon that will be used in the tool menu. | |
virtual void | toolWasShown (void) |
virtual void | toolWasHidden (void) |
void | setToolIsRunning (bool _isRunning) |
bool | getToolIsRunning (void) const |
void | setToolIsExternal (bool _isExternal) |
bool | getToolIsExternal (void) const |
Additional Inherited Members | |
Protected Member Functions inherited from otoolkit::Tool | |
ot::WidgetView * | createCentralWidgetView (QWidget *_widget, const QString &_widgetName) const |
ot::WidgetView * | createSideWidgetView (QWidget *_widget, const QString &_widgetName) const |
ot::WidgetView * | createToolWidgetView (QWidget *_widget, const QString &_widgetName) const |
NetworkTools::NetworkTools | ( | ) |
|
virtual |
|
inlineoverridevirtual |
Return the unique tool name The name will be used to create all required menu entries.
Implements otoolkit::Tool.
|
overridevirtual |
Stop all the logic of this tool.
Reimplemented from otoolkit::Tool.
|
overridevirtual |
Reimplemented from otoolkit::Tool.
|
overridevirtual |
Create the central widget that will be displayed to the user in the main tab view.
Implements otoolkit::Tool.