Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Client
ParameterConnecter.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#ifndef CparameterCONNECT_H
4
#define CparameterCONNECT_H
5
6
#pragma once
7
8
#include "ParameterClient.h"
9
255
class
CLIENT_EXPORT
CParameterConnecter
:
public
CParameter
256
{
257
Q_OBJECT
258
259
public
:
260
explicit
CParameterConnecter
(
261
QObject *parent =
nullptr
,
262
const
QString& szPrefix = QString());
263
265
CParameterClient
* GetParameterClient();
266
int
SetParameterClient(
CParameterClient
* p);
267
268
Q_SIGNALS:
269
void
sigSetParameterClient();
270
271
protected
Q_SLOTS:
281
virtual
void
slotSetParameterClient();
282
283
protected
:
284
QByteArray PasswordSum(
const
std::string &password,
const
std::string &key);
285
int
LoadPassword(
const
QString &szTitle,
const
QString &szKey,
286
QString &password, QSettings &set);
287
int
SavePassword(
const
QString &szKey,
const
QString &password,
288
QSettings &set,
bool
bSave =
false
);
289
290
private
:
291
CParameterConnecter
* m_Parent;
295
CParameterClient
*
m_pParameterClient
;
296
};
297
298
#endif
// CparameterCONNECT_H
CParameterClient
The parameters of client.
Definition
ParameterClient.h:36
CParameterConnecter
the parameters of connecter interface.
Definition
ParameterConnecter.h:256
CParameterConnecter::m_pParameterClient
CParameterClient * m_pParameterClient
Definition
ParameterConnecter.h:295
CParameter
Parameter interface.
Definition
Parameter.h:169
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力