Receptacle
 All Classes Files Functions Variables Pages
HostController Class Reference
Inheritance diagram for HostController:

Public Slots

void selected (QString cmd)
 Handler to load and execute the plugin specified by the given command. More...
 
void prompt_job_selection ()
 

Signals

void setup_complete ()
 Indicate that the post worker init setup steps performed by this HostController are done.
 
void end_job (const QString &cmd)
 Indicate that the job is complete and HostController is cleaned up. More...
 
void util_result (int result)
 Publish the worker result after the worker ends execution. More...
 

Public Member Functions

 HostController (UtilCollection *u_collection, LogEmitter *log_emitter)
 
void run_job (QString command)
 
void kill_job ()
 
void notify_block ()
 

Protected Slots

void exec_plugin (QString command)
 
void cancel_handler ()
 
void job_cleanup ()
 
void job_complete_handler (int result)
 
void plugin_setup ()
 
void icon_activated (QSystemTrayIcon::ActivationReason reason)
 

Protected Member Functions

void create_tray_icon ()
 SelectLauncher::create_tray_icon. More...
 
void create_tray_actions ()
 
void connect_tray_actions (SelectLauncher *window)
 
void update_tray_menu ()
 

Protected Attributes

UtilCollectionutils
 
LogEmitterlogger
 
SelectLaunchermain_window
 
UtilRunnerbg_worker
 
SignalCounter err_flag
 
SignalCounter fatal_flag
 
SignalCounter warn_flag
 
QAction * minimizeAction
 Tray actions.
 
QAction * maximizeAction
 
QAction * restoreAction
 
QAction * quitAction
 
QAction * closeAction
 
QAction * selectJobAction
 
QSystemTrayIcon * tray_icon
 
QMenu * tray_icon_menu
 

Member Function Documentation

void HostController::create_tray_icon ( )
protected

SelectLauncher::create_tray_icon.

Example at: http://qt.developpez.com/doc/5.0-snapshot/desktop-systray-window-cpp/

void HostController::end_job ( const QString &  cmd)
signal

Indicate that the job is complete and HostController is cleaned up.

Parameters
cmdQString command associated with the job that just completed
void HostController::selected ( QString  cmd)
slot

Handler to load and execute the plugin specified by the given command.

Parameters
cmdCommand specifying the plugin to run
void HostController::util_result ( int  result)
signal

Publish the worker result after the worker ends execution.

Parameters
resultreported by the worker

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