83 virtual int Connect();
91 virtual int Disconnect();
94 enum class OnInitReturnValue {
97 UseOnProcess = Success,
139 virtual int OnProcess();
155 virtual void slotTimeOut();
186 void sigError(
const int nError,
const QString &szError = QString());
216 const QMessageBox::Icon& icon = QMessageBox::Information);
236 const QString& szMessage,
237 QMessageBox::StandardButtons buttons,
238 QMessageBox::StandardButton& nRet,
240 QString checkBoxContext = QString());
251 const QString& szLable,
252 const QString& szMessage,
void sigError(const int nError, const QString &szError=QString())
Triggered when an error is generated.
void sigInformation(const QString &szInfo)
Triggering from a background thread displays information in the main thread without blocking the back...
void sigBlockShowMessageBox(const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString())
Block background threads and display message dialogs in foreground threads (QMessageBox)
void sigShowMessageBox(const QString &szTitle, const QString &szMessage, const QMessageBox::Icon &icon=QMessageBox::Information)
Trigger the display of a message dialog (QMessageBox) in the main thread from a background thread wit...
void sigBlockInputDialog(const QString &szTitle, const QString &szLable, const QString &szMessage, QString &szText)
Block background threads and display input dialogs in foreground threads (QInputDialog)
void sigConnected()
Emitted when the plugin is successfully connected.
void sigDisconnect()
Notify the user to call disconnect.
virtual OnInitReturnValue OnInit()=0
Specific plug-in realizes connection initialization.
CConnect(CConnecter *pConnecter)
virtual int OnClean()=0
Clean.
void sigDisconnected()
Successful disconnection signal.
void sigBlockShowWidget(const QString &className, int &nRet, void *pContext)
Blocks the background thread and displays the window in the foreground thread.