|
| virtual int | SetGlobalParameters (CParameterPlugin *pPara) override |
| | Apply the global parameters of the plug-in.
|
| |
| virtual int | Initial () override |
| | Initial parameters and resource.
|
| |
| virtual int | Clean () override |
| | Clean parameters and resource.
|
| |
| virtual int | Load (QSettings &set) override |
| | Load parameters.
|
| |
| virtual int | Save (QSettings &set) override |
| | Save parameters.
|
| |
| Q_INVOKABLE CPlugin * | GetPlugin () const |
| | Get plugin.
|
| |
| virtual Q_INVOKABLE int | Load (QString szFile=QString()) |
| | Load parameters from file.
|
| |
| virtual Q_INVOKABLE int | Save (QString szFile=QString()) |
| | Save parameters to file.
|
| |
|
| enum class | SecurityLevel {
No
, Secure
, NonSecureAuthentication
, SecureChannel
,
Normal = SecureChannel
, SecureAuthentication
, Risky
} |
| |
| void | sigRunning () |
| | Start success signal.
|
| |
| void | sigStop () |
| | Notify the user to stop.
|
| |
| void | sigFinished () |
| | Successful disconnection signal.
|
| |
| void | sigViewerFocusIn (QWidget *pView) |
| | The view is focus.
|
| |
| void | sigFullScreen (bool bFullScreen) |
| | Full screen.
|
| |
| void | sigUpdateName (const QString &szName) |
| |
| void | sigUpdateParameters (COperate *pOperate) |
| | Update parameters, notify application to save or show parameters.
|
| |
|
void | sigError (const int nError, const QString &szError) |
| | Triggered when an error is generated.
|
| |
| void | sigInformation (const QString &szInfo) |
| | Show information in main windows.
|
| |
| void | sigShowMessageBox (const QString &title, const QString &message, const QMessageBox::Icon &icon=QMessageBox::Information) |
| | Trigger the display of a message dialog (QMessageBox) in the main thread from a background thread without blocking the background thread.
|
| |
|
void | sigClipBoardChanged () |
| |
| static QString | GetSecurityLevelString (SecurityLevel level) |
| |
| static QColor | GetSecurityLevelColor (SecurityLevel level) |
| |
| void | slotUpdateName () |
| |
| static QObject * | createObject (const QString &className, QObject *parent=NULL) |
| |
| QMenu | m_Menu |
| |
| QAction * | m_pActionSettings |
| |
Definition at line 10 of file OperateFtpServer.h.
◆ ~COperateFtpServer()
| COperateFtpServer::~COperateFtpServer |
( |
| ) |
|
◆ Clean()
| int COperateFtpServer::Clean |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ GetParameter()
◆ GetViewer()
| QWidget * COperateFtpServer::GetViewer |
( |
| ) |
|
|
overridevirtual |
Get Viewer.
- Returns
- QWidget*: the ownership is a instance of this class or its derivative class
- Note
- If you implement the view yourself, you need to disable the view at the beginning and allow the view after sigRun.
- See also
- sigRunning CFrmViewer::CFrmViewer
Implements COperate.
Definition at line 29 of file OperateFtpServer.cpp.
◆ Initial()
| int COperateFtpServer::Initial |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ InstanceBackend()
| CBackend * COperateFtpServer::InstanceBackend |
( |
| ) |
|
|
virtual |
◆ Load()
| int COperateFtpServer::Load |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ OnOpenDialogSettings()
| QDialog * COperateFtpServer::OnOpenDialogSettings |
( |
QWidget * |
parent | ) |
|
|
overrideprivatevirtual |
Open settgins dialog.
- Parameters
-
| parent | the parent windows of the dialog of return |
- Returns
- QDialog*: then QDialog must be allocated in heap memory, the ownership is caller.
- See also
- OpenDialogSettings
Implements COperate.
Definition at line 74 of file OperateFtpServer.cpp.
◆ Save()
| int COperateFtpServer::Save |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ SetGlobalParameters()
◆ slotStart
| void COperateFtpServer::slotStart |
( |
bool |
checked | ) |
|
|
privateslot |
◆ Start()
| int COperateFtpServer::Start |
( |
| ) |
|
|
overridevirtual |
◆ Stop()
| int COperateFtpServer::Stop |
( |
| ) |
|
|
overridevirtual |
◆ Version()
| const qint16 COperateFtpServer::Version |
( |
| ) |
const |
|
overridevirtual |
◆ CFrmMain
◆ m_Para
◆ m_pStart
| QAction* COperateFtpServer::m_pStart |
|
private |
◆ m_pThread
◆ m_pView
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/FtpServer/OperateFtpServer.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/FtpServer/OperateFtpServer.cpp